Windows Develop Bookmark and Share   
 index > Windows Forms General > Tutorial on writing to text files in notepad
 

Tutorial on writing to text files in notepad

Hi All!

I am new to VB and this community.  I am working on a VB.NET project for work where I need to be able to write data that is input by the user to a text file, and to do so every time the user clicks the appropriate button.

If someone could point me in the right direction to find such a newbie article/tutorial, I would greatly appreciate it.

Thanks!
Gary
MigrationUser 1  Wednesday, February 18, 2004 2:55 PM
System.IO is the namespace that specifically handles what you need.

The documentation that you get with the SDK has tutorials on it.

Look up System.IO.StreamWriter in the .NET 1.1 Documentation.

There should be several examples there for you.
MigrationUser 1  Wednesday, February 18, 2004 8:16 PM
Thanks very much!   That had everything I needed to know.  I followed the example and the program works perfectly (better than I expected, in fact!).

Thanks again!
Gary
MigrationUser 1  Sunday, February 22, 2004 1:27 PM

You can use google to search for other answers

Custom Search

More Threads

• System.InvalidOperationExceptions
• WebBrowser control and User Agent string
• Cloning a form
• help.... please!!!!
• DnD TreeNode between two instances of an app
• MSN Messenger 7 Advertising Window
• Hot Key function for whole program
• How do I set hotkeys?
• Create movable text
• UICues and Windows Messages.