Search results for query: *

  • Users: Tiaan
  • Order by date
  1. T

    Doing maths with contents of 2 files.

    Never heard of it Herman, but it works perfect. Thank you very much
  2. T

    Doing maths with contents of 2 files.

    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...
  3. T

    Question Format usb Drive

    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. Dim...
  4. T

    Question Multiple forms

    Sorry for that, will do so in future.
  5. T

    Question Multiple forms

    Worked perfect, thank you so much. Been battling with this error for days. Thank you
  6. T

    Question Multiple forms

    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
  7. T

    Question Saving Textboxes to memory

    Worked perfect, thank you very much. Never really worked with lists before.
  8. T

    Question Saving Textboxes to memory

    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...
  9. T

    Question Multiple forms

    I made a really terrible mistake. I must have changed the name of form1, or never named it. I got it right thank you for your help.
  10. T

    Question Multiple forms

    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.
  11. T

    Question Multiple forms

    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
  12. T

    Question Multiple forms

    Thank you so much, your blog was super helpfull. Really nice blog and well written easy to understand.
  13. T

    Question Multiple forms

    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 Thank you
  14. T

    Question Changing multiple labels

    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.
  15. T

    Question Changing multiple labels

    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 Dim...
Back
Top