How to make your program in Visual Basic save a txt file

Loading...

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

Uploaded by on Feb 10, 2008

Here is the code:

Dim namefile
namefile = Text1
Open App.Path & ("/" + namefile + ".txt") For Output As #1
Write #1, Text2.Text
Close #1

thank you for watching

http://www.enweb.net

AlienGUIse: http://www.alienware.com/community/alienguise/alienguise-download.aspx

Category:

Howto & Style

Tags:

License:

Standard YouTube License

Link to this comment:

Share to:

Uploader Comments (esproman)

  • can you get rid of the quotation marks when you make the text file???

  • instead of "Write" type "print"

  • Btw, what is your windows theme called? :P Thx..

  • AlienGUIse

Top Comments

  • Dim myfile As IO.StreamWriter

    myfile = New IO.StreamWriter("porn.txt")

    If 009SoundSystem_Dreamscaoe.Play­ing Then  myfile.WriteLine("Noooo this dumb song again!")

    End If

  • thanks for the tut i learned alot but... DUDE! ZOOM OUT! lol

see all

All Comments (133)

Sign In or Sign Up now to post a comment!
  • @Prana199 2006

  • I hate the song. Love the tutorial.

  • I love the mute button, the song is so annoying

  • What about Private Sub command? Where that line dude?

  • @Prana199 6 man -_-

  • awesome.. thanks for the good tutorial...

  • THANK YOU THANK YOU THANK U :D

  • What version of Visual Basic IS IT!!!???

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