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.
Printable View
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.
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