1. C

    VB6 to VB.NET Val(mid&( and Line Input #

    I have a lengthy project of converting VB6 code to VB.NET. This is the beginning of the code. I can't figure out how to change the val(mid$( to VB.NET and the Line Input # doesn't seem to have a direct translation to VB.NET either. I am trying to learn how to go about the conversion to ensure...
  2. M

    DB connection - should i close it?

    Hello everyone I had a little question. When i open a connection in should i close it after using it and open it again when i need it or let it be open the whole time until the program is terminated? Please answer with reason thanks
  3. B

    Question Cannot open vb projects?!

    Hello, I have installed VB2008 and have created a noobish calculator project and saved it. Now when I click "open project", and choose it, the project window does not appear. :confused: How do I fix this? I have already tried reinstalling, but it must have saved the settings somewhere because...
  4. S

    Question Multiple forms open and close

    Hello, I have two forms frmMain and frmNew, and one module modMain. In modMain I hold public variables which are needed for application. My question is how to open and close those two forms when needed? I ask this because if i set frmMain as startup form, then when closed, application will end...
  5. Mordicaii

    Open a file from a file

    Hello, I have been hunting around on Google for the past hour looking for code on how to open a file from a file. If you would, could you give code on how to do what notepad does. (you double click on a .txt file, it opens in notepad and displays the contents) How would I do this? All help is...