|
-
Jan 25th, 2000, 12:41 PM
#1
Thread Starter
Addicted Member
I need help on how to Open TXT,HTM,ANY TEXT THING for a programe and put it in a box and then write a TXT,HYM file with whats in the text box.
-
Jan 25th, 2000, 04:14 PM
#2
Use code simular to this:
Dim iFile As Integer
iFile = FreeFile
Open "c:\MyFile.txt" For Input As #iFile
Text1.Text = Input(LOF(iFile), iFile)
Close #iFile
'to write the file
iFile = FreeFile
Open "c:\YourFile.txt" For Output As #iFile
Print #iFile, Text1.Text
Close #iFile
Good luck!
------------------
Joacim Andersson
[email protected]
[email protected]
www.YellowBlazer.com
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|