| Computing.Net: Over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to sign up now, it's free! |
VB.NET question
|
Original Message
|
Name: VASS
Date: September 5, 2004 at 16:30:22 Pacific
Subject: VB.NET questionOS: Win xpCPU/Ram: 256 |
Comment: Hello everybody. I am trying to find the equivalent in VB.NET for the VB6 command of: Open "testfile.txt" For Output As #1 Print #1, txtSomthing close #1 I can't seem to able to find it in any web site. Any help? Thank you.
Report Offensive Message For Removal
|
|
Response Number 1
|
Name: egkenny
Date: September 5, 2004 at 20:25:25 Pacific
|
Reply: (edit)Do you have the help installed for VB.NET? It contains a lot of information. I got this from the built-in help. FileOpen(1, "testfile.txt", OpenMode.Output) Print(1, txtSomthing) FileClose(1) Note: Use PrintLine instead of Print if you want a linefeed at the end of a line.
Report Offensive Follow Up For Removal
|

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