VB 2010 Express saving and opening text file
Posted on 2011-03-09
Hey i have a few fields setup as a form example:
I have a save button on the form screen called Button1.
When this button is pressed, i want the user to be able to save the above data to a file anywhere they want on their harddrive and name it whatever they want.
I also have another button on the screen called Button2.
When this button is pressed, i want the user to be able to load data which was saved before.
If possible the file extension should change to something like .nme rather than .txt this will help error handling as users should only be able to load/save files with that extension.