How to Open and Save Text Files in Visual Basic 2010

Loading...

Sign in or sign up now!
Alert icon
Upgrade to the latest Flash Player for improved playback performance. Upgrade now or more info.
17,558
Loading...
Alert icon
Sign in or sign up now!
Alert icon

Uploaded by on Mar 24, 2010

in this tut im gunna teach you how to open and save text files using Visual Basic 2010. This will come in handy for making a text editor or just whenever you need a text document saved the cool way :D In a later tut i will show you how to print text files and i also plan on a very awesome tutorial that i will not release any info on because somebody will steal it, i have not found it on youtube, so it will be a first, and subscribe if you want to see them. Please Check out my website: http://lobsterproductions.weebly.com -its still under construction so i do not have all the files upladed yet. The code for this project is at: http://www.mediafire.com/?mc1g2hfc5m0
remember to subscibe and Thanks For Watching!

  • likes, 2 dislikes

Link to this comment:

Share to:

Uploader Comments (reconrey1292)

  • so how can I open the file for LISTVIEW, that code works for SAVE but not for OPEN, when i write the code "listView = reader.ReadToEnd" it shows me an error (reader.ReadToEnd -> value of type 'String' can not be converted to 'sys.win.form....),

    In the listview are written both Text and numbers.. :S

  • @altr1m i dont understand what ur asking sorry. PM me-u have more room to explain what it is u want.

  • Thanks heaps man.. helped me with an assignment :D:D

  • @akilanet no problem!-just remember to sub. (If you need any help you can PM me also)

  • Nice dude ^^ thanks a billion :D *hits subscribe button*

  • @Rabidbluejay1 thanks!

see all

All Comments (38)

Sign In or Sign Up now to post a comment!
  • What did he type for filter?

  • I have maded an autosave function in a form that save automatically to a folder without select location. (Without the "Save window") But how do I open the .txt file in a another form automatically when the new form shows up? (Also without the "Load window") :D

  • wow that music was so annoying. i had to turn it off.

  • THANKS!

  • This is great but what if I had many text boxes and wanted to save and load the information? Short from having a whole text file for every single text box.

  • Very good video

  • @altr1m i know your comment is a year old but in case this happens to anyone else, you have to make sure in the openfiledialog that you are Dim reader As New IO.StreamReader..etc. you probably encountered the issue you did because you wrote writer again instead of reader.

  • hi

    can u explain me how to copy text (which in VB text box) to notepad. please help me....

  • THANK YOU!!

Loading...

Alert icon
0 / 00Unsaved Playlist Return to active list
    1. Your queue is empty. Add videos to your queue using this button:
      or sign in to load a different list.
    Loading...Loading...Saving...
    • Clear all videos from this list
    • Learn more