I have 2 text files, both comma deliminated, and decimal values.
I used an string array to read all the contents in and to split it at each comma.
I need to take the first value from file1 and subtract it from the first value in file 2.
Do i need to convert the arrays to integers or am i...
I want to format a usb drive. I know its not a good idea to format in code and all that. But i need to minimize the risk of a virus.
When a usb is inserted it picks it up and formats. I have tried with this code, but it keeps telling me drive not found. And i know the drive exists.
I thought i would ask here again and not start a new thread as it seems you know a lot about multiple forms.
This is how i declared it at the top
If i use Form1.isInsave then it does not give me an error, but does not do what i need. When i use FrmForm1 it gives me this error
I have a set of Labels that indicate a instrument number. These labels can be changed at the top in sets of 10. 10-20,20-30 etc
Next to the labels are textboxes, i get readings from serialport, when you click on a textbox the reading gets stored in that textbox.
When the user is finished with...
I have my connect settings on Form1, after i connect, i hide Form1 with Me.Hide(). But now on form2 i need to go back to form1 so i can disconnect. I tried using Form1.Show() but does not give me permission to use form1.
I cant seem to write back to form1 though. I get everything on form2 and works well, but i cant write from form2 to form1.
In Form1 i can only use Me.Close() i cant refer to Form1.Close(). Im fairly new to vb.net
I have my main form, with serialport1. All my baudrate and connect settings are on my form1. I connect and then hide form1. How do i use the serialport in form1 on my Form2? Im not sure where to start even so a nudge in the right direction would be great.
Im using vb.net
Im sorry for the confusion. That is exactly what i wanted to do, i was over complicating the problem it seems, the first loop was to gather all the Label numbers, then i created a second loop to change those numbers, didnt even think of just adding 10.
Thank you i apreciate the help.
I have 10 labels, with a dropdown box, the user selects 10-20, 20-30 etc, according to that choice i need to change the labels.
This is what i have, but it does not work right, any help please?
Dim selectedIndex As Integer
selectedIndex = SelectionBox.SelectedIndex