Confused about Private Sub, Public Sub etc.
Hi Folks,
Silly question, but I just can't seem to get it in my head. I've designed a form with the standard set up...
Public Class Form1
Private Sub
End Sub
Private Sub
End Sub
End Sub
and I have a few buttons & text boxes in the Private Sub sections.
Now I want to add some code to read in a text file. I can find examples of code all over the net so I'm ok there but where do I put it in relation to the above structure.
Every where I seem to paste it in just shows up loads of errors as though I need to create another special sub section to contain it.
If someone could point me in the right direction it would be most appreciated.
Regards,
Chris