Hi,
I have 2 questions:
1)How can I save the text from textbox into a file but not as a .txt (can I specify the type of document). And,
2)If that file already exists can i overwrite it automatically without having to confirm?
thanks
Printable View
Hi,
I have 2 questions:
1)How can I save the text from textbox into a file but not as a .txt (can I specify the type of document). And,
2)If that file already exists can i overwrite it automatically without having to confirm?
thanks
Yes
and
Yes
OK?
Phil
1.)
Open "C:\blah.hgh" for Append as #1
print #1, Text1.Text
Close #1
2.)
Kill "C:\blah.hgh"
Open "C:\blah.hgh" for Append as #1
print #1, Text1.Text
Close #1
Can't you just use "output" instead of "append" and then you would't need to "kill" the file?
Phil