800 Posted Topics

Member Avatar for chint

One thing to take into consideration in packet loss /size of image. If there is a large amount of packet loss between you and the site - the quality will suffer greatly. If the size of your picturebox is smaller/larger than the original image there will be stretching or pinching. …

Member Avatar for chint
0
517
Member Avatar for Shan_1

You need to create an action lister (event handler) for the button click. For example: Private Sub Button_Click(byval sender as Object, byval e As Eventargs) Try 'Place your code here to find the textbox Catch ex As Exception MsgBox(ex.ToString) End Try End Sub Add the handler to the button before …

Member Avatar for Begginnerdev
0
153
Member Avatar for savedlema

You will have to get the current value, subtract, then update to the newest value. This is assuming your amount colum in as decimal value. For Example: Try Dim da As New OleDbDataAdapter(New OleDbCommand("SELECT * FROM Inventory WHERE Item='" & sItemType & "'", myConnection)) 'The select gets the table structure. …

Member Avatar for tinstaafl
0
617
Member Avatar for moslem.yousefi.73

Is the code throwing an exceptions? From a first glace perspective, we can't tell if it has errors or not. Have you looked into [Try/Catch](http://www.homeandlearn.co.uk/net/nets5p4.html) blocks? Place your code in them and give a MsgBox for output: Try 'Paste your code here Catch ex As Exception MsgBox(ex.ToString) End Try

Member Avatar for Begginnerdev
0
256
Member Avatar for davidkroj

To do this, you will lose ALL server code and ASP.Net code. To do this, simply remove all the code above and save as html, or load into a browser > view source > save as doc.html

Member Avatar for LaxLoafer
0
229
Member Avatar for thewilf
Member Avatar for vidyya06

Why do I have the odd feeling this is an assignment..... Do **YOU** have any code thus far?

Member Avatar for Begginnerdev
0
61
Member Avatar for charlybones

You could try to create a linq table in your dbml file named 'Duplicate' with the same column names and field lengths. Then, try to cast the object to the type of Duplicate

Member Avatar for Begginnerdev
0
3K
Member Avatar for Papa_Don

The number on the end of each function represents the bit count, therefore, represents the maximum value that can be returned by that function ( as Integer ) Int16 - 16bit Int32 - 32bit Int64 - 64bit As for the decimal places, the ToInt32 function returns an integer, which is …

Member Avatar for Papa_Don
0
3K
Member Avatar for Papa_Don

I suspect a field length on one of your values you are inserting/updating. For example: Dim str As String = "Hello World" If the length of str is greater than the size of the field (varchar or nvarchar) then you will truncate the data. Begin by looking at all of …

Member Avatar for Papa_Don
0
3K
Member Avatar for Eternal Newbie

Why dont you just make use of the splash screen setting in the My Application > Application menu? ![8ae345254c4c9bb69e810b0ff6e79a04](/attachments/small/2/8ae345254c4c9bb69e810b0ff6e79a04.png "align-left")

Member Avatar for kplcjl
0
1K
Member Avatar for Ancient Dragon

Have you tried dynamicly creating the update statement? For example: Try 'Insert data_adapter.UpdateCommand = New OleDbCommandBuilder(data_adapter).GetInsertCommand 'Update data_adapter.UpdateCommand = New OleDbCommandBuilder(data_adapter).GetUpdateCommand 'Delete data_adapter.UpdateCommand = New OleDbCommandBuilder(data_adapter).GetDeleteCommand data_adapter.Update(CType(binding_source.DataSource, DataTable)) Catch ex As OleDbException MsgBox("ERROR:" & ex.Source & " " & ex.Message, MsgBoxStyle.OkOnly) MsgBox(cmd_builder.GetInsertCommand().CommandText, MsgBoxStyle.OkOnly) End Try

Member Avatar for Ancient Dragon
0
951
Member Avatar for DeanLittle

It would depend on the circumstance. If the IT department rejected due to a breach of policy, then it is "illegal". If they rejected due to not wanting to take care of it (Lazy) you can possible find other methods.

Member Avatar for CimmerianX
0
114
Member Avatar for idlackage
Member Avatar for ryantroop
0
420
Member Avatar for DeanLittle
Member Avatar for wauspe
Member Avatar for Ezzaral
0
170
Member Avatar for dhimanbiswas4u

You can try something like this: Private CurrentCollection As HtmlElementCollection Private Sub Populate(ByVal sAddress as String) 'For example: sAddress = "www.google.com" Dim linkCollection As HtmlElementCollection = GetAllLinks(sAddress) For i = 0 To linkCollection.Count - 1 ComboBox1.Items.Add(i) Next 'Keep track of current links CurrentCollection = linkCollection End Sub Private Sub ComboBox1_SelectedIndexChanged(ByVal …

Member Avatar for Begginnerdev
0
177
Member Avatar for ses03

There a few different methods you can use to do this: [Print Form](http://msdn.microsoft.com/en-us/library/microsoft.visualbasic.powerpacks.printing.printform.aspx) Or [Print Document](http://msdn.microsoft.com/en-us/library/system.drawing.printing.printdocument.aspx) Just retreive the [active child](http://msdn.microsoft.com/en-us/library/4s6dtf7z(v=vs.80).aspx) and print!

Member Avatar for Begginnerdev
0
113
Member Avatar for willjohanz

I'm sorry, but we can't answer quizes/tests for you. We are a **help** forum, not a **DO** forum.

Member Avatar for JamesCherrill
-1
175
Member Avatar for Mononucleosis

You can try something like this: 'I think this is what you meant by cColor. Private _CurrentColor As Color = Color.White Public Property cColor As Color Get Return Me._CurrentColor End Get Set(value As Color) Me._CurrentColor = value End Set End Property As for the dialog code: Try 'Create a new …

Member Avatar for Begginnerdev
0
107
Member Avatar for Lethugs

Without some sort of documentation or opening the ports on the firewall, you will have no starting point for your sniffer application. Do you know any of these ports?

Member Avatar for Begginnerdev
0
586
Member Avatar for selwyne

Do you have code that connects to the database for every report dataset? If so, I would check that code first. It could be something that is occuring before crystal even gets the data.

Member Avatar for Dili1234
0
223
Member Avatar for game4tress
Member Avatar for kindofsudden

What errors are you receiving? Try placing the code in a try/catch: Try 'Your code here. Catch ex As Exception MsgBox(ex.ToString) End Try If the following code: Me.txtTypeOfEvaluation.Text = ds.Tables("Employees").Rows(0).Item(14) Had thrown errors, I suspect an index out of range, or some kind of exception. I would try: txtTypeOfEvaluation.Text = …

Member Avatar for Begginnerdev
0
215
Member Avatar for Neokyuubi

I personally used [this](http://www.codeproject.com/Articles/19689/Working-with-Active-Directory-in-VB-NET) article as a reference when I was struggling with AD. I hope this helps you as much as it helped me.

Member Avatar for Neokyuubi
0
179
Member Avatar for Mr.M

You will have to re-write the file. Example: Dim SR as New StreamReader(path) Dim SW as New StreamWriter(path & "tmp") Do While SR.Peek <> -1 Dim sCur As String = SR.ReadLine If sCur <> Block Then SW.WriteLine(sCur) End If Loop SR.Close SW.Close 'Next Copy Over the original hosts file File.Copy(path …

Member Avatar for aman'z
1
2K
Member Avatar for LuisAZC

>P.D The code doesn't need to be pretty, stable or optimized, but if it works, it's great. Whoa now! If the code isn't stable - it never worked to begin with! =)

Member Avatar for Begginnerdev
0
245
Member Avatar for togerrr

If I understand what you are asking, then you are wanting a to write a program that checks to see the current exchange rates and store them into a database?

Member Avatar for Begginnerdev
0
174
Member Avatar for jarduz

You are looking at server/client programming. [Here](http://www.codeproject.com/Articles/14346/A-Simple-Multi-Threaded-Server-Client-Instant-Mess) is a nice project for a reference point.

Member Avatar for schroaus
0
248
Member Avatar for UKnod

You can add an attachment to an email by doing the following: Dim oMail As New Net.Mail.MailMessage oMail.Attachments.Add(New Net.Mail.Attachment("Path to my file")) As for saving a copy local, you could parse the email into a text file and save it.

Member Avatar for UKnod
0
1K
Member Avatar for Papa_Don

I will flag your post to be moved the the SQL forum where you may receive more help.

Member Avatar for Papa_Don
0
1K
Member Avatar for mosesjr17

It sounds like you may have a memory, or hard drive problem. My suggestion would be to download and run a memory test ([Memtest86](http://www.memtest86.com/download.htm)) and run [chkdsk](http://en.wikipedia.org/wiki/CHKDSK) to check the hard drive for any errors.

Member Avatar for mosesjr17
0
231
Member Avatar for daley.vinod.5

It sounds like you need a server/client setup, or you could add a way for the user to configure the path to the database ( on the local network ) using a DNS name or IP. (Static IP will be necessary if you wish to do it only once) For …

Member Avatar for Begginnerdev
0
561
Member Avatar for jemartalaban_1

Is your code compiled for older versions of the .NET framework? ie.. 2.0,3.0,4.0, 4.0 Client Profile

Member Avatar for Begginnerdev
0
79
Member Avatar for schroaus

First off, it is bittersweet to be ahead of your class. Bitter due to having a higher chance to make errors on code that you can't fully understand, but sweet because you can use the time to improve your coding/understanding of the language and logic. As for this: Public Function …

Member Avatar for schroaus
0
319
Member Avatar for nubie.net

You will want to open the file, read/split all lines, then rehash them with your delimiter: **This code is written on the fly.** Try 'Reader/Writer for file operations. Dim sr As New StreamReader("PathToMyFile") Dim sw As New StreamWriter("PathToFile") 'Lists for storage Dim lstAllLines As New List(Of List(Of String)) Dim lstFinal …

Member Avatar for nubie.net
0
520
Member Avatar for Mr.M

I would check with the ATM manufacturer to find out what keycode is being sent by those keys. Then look for that keycode with a [keyboard hook](http://www.supportforums.net/showthread.php?tid=916)

Member Avatar for Mr.M
0
340
Member Avatar for mcoliver88
Member Avatar for Ann95

I was having problems with this concept quite a long time ago, but found [this article.](http://www.knowdotnet.com/articles/printgriddemo-printable.html)

Member Avatar for Ann95
0
432
Member Avatar for Rabastan

What are you storing these values in, a database? If so, just write a sub routine that retreives information based on your selected: Public Class Form1 Private Sub GO_Click(ByVal sender As Object, ByVal e As EventArgs) Handles GO.Click Form2.Filter = ComboBox1.Text End Sub End Class Code for second form: Public …

Member Avatar for Begginnerdev
0
171
Member Avatar for salathia

On which line of code is this error thrown. You seem to have a lot of hard coded indexes, it could be numerous things. I would start with the obvious, do you have 14 cells in your datagridview? Does your dataset have rows?

Member Avatar for salathia
0
179
Member Avatar for Nebil

Pass your query and parameters into your Search Sub: Dim Query As String = "SELECT * FROM tblTest WHERE [My Column]=@Value" Dim Parameters As New Dictionary(Of String, String) 'Fill the dictionary Parameters.Add("@Value", "ValueToSearchFor") 'Call the Sub Search(Query, Parameters) 'Sub Declaration Private Sub Search(ByVal sQuery As String, ByVal dctParameters As Dictionary(Of …

Member Avatar for Begginnerdev
0
197
Member Avatar for jeansantos

If you have an exchange server that allows you to bounce emails, just use the server ip and port to send a SMTP email. For example: [Sending SMTP Mail in VB.NET](http://stackoverflow.com/questions/9280105/sending-smtp-email-from-vb-net-form-application)

Member Avatar for jeansantos
0
528
Member Avatar for on93

How are you declaring imageList? Is it: Dim imageList as New List(Of Image) How are you storing these images?

Member Avatar for tinstaafl
0
176
Member Avatar for Hazuan Nazri

What Adapter are you using? SQLClient, OLEDB, ACE ? If you are using SQLClient Then try something like this: Try Dim con As New SQLConnection("Data Source=MYSERVEr;Initial Catalog=MYDATABASE;Integrated Security=True") con.Open Catch ex As Exception MsgBox(ex.ToString) End Try

Member Avatar for Begginnerdev
0
317
Member Avatar for Ann95

You can make use of the the datagridview's rows added and removed handlers: Private Sub Rows_Added(ByVal sender As Object, ByVal e As DataGridViewRowsAddedEventArgs) Handles DataGridView1.RowsAdded Try 'Update your dataset here. Catch ex As Exception MsgBox(ex.ToString) End Try End Sub Private Sub Rows_Removed(ByVal sender As Object, ByVal e As DataGridViewRowsRemovedEventArgs) Handles …

Member Avatar for Begginnerdev
0
558
Member Avatar for Lethugs

If using the default .NET ListView, which I don't think supports gifs, you will not be able to see any animation. You can use something like [this](http://www.codeproject.com/Articles/16009/A-Much-Easier-to-Use-ListView). Hope this points you in the right dir. :)

Member Avatar for Lethugs
0
853
Member Avatar for Begginnerdev

Hello my fellow Daniwebers. I am to ask for some ideas for a challenge. I want a good challenge for my skills, and even help expand my skills Please post your challenge below. Thanks, Begginnerdev

Member Avatar for Begginnerdev
1
177
Member Avatar for ppstyle
Member Avatar for G_Waddell
0
199
Member Avatar for christine_87

Call this response harsh, but we are a **help** forum, not a **do** forum. You can find a good project as a starting point [here](http://www.codeproject.com/Articles/9781/How-to-Load-and-Display-Crystal-Reports-in-VB-NET). Please feel free to ask any questions about any problems you may have after you have attempted this yourself.

Member Avatar for Begginnerdev
0
64

The End.