TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
Chris Jefferies
NA
5
2.4k
Confused about Private Sub, Public Sub etc.
Aug 4 2010 5:00 PM
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
Reply
Answers (
5
)
Outlook mails/folders form a spezal mailbox
gridview selected item to textbox