Computing.Net > Forums > Programming > VB...output to text HELP!

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

VB...output to text HELP!

Reply to Message Icon

Name: cykage
Date: November 30, 2002 at 00:11:41 Pacific
OS: 98se
CPU/Ram: na
Comment:

How do you output text inserted by a user to a text file (from a textbox)



Sponsored Link
Ads by Google

Response Number 1
Name: HiJinx
Date: November 30, 2002 at 00:44:45 Pacific
Reply:

For example...

Dim fileHandle As Integer
Dim fileName As String

fileName = "c:\temp.txt"

fileHandle = FreeFile

Open fileName For Output As #fileHandle

Print #fileHandle, Text1.Text

Close #fileHandle


0
Reply to Message Icon

Related Posts

See More







Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Programming Forum Home


Sponsored links

Ads by Google


Results for: VB...output to text HELP!

vb send dos commands to text window www.computing.net/answers/programming/vb-send-dos-commands-to-text-window/14358.html

VB Changing from Masked to text ctrl www.computing.net/answers/programming/vb-changing-from-masked-to-text-ctrl/2995.html

printing variable to text file www.computing.net/answers/programming/printing-variable-to-text-file/14677.html