[Gambas-user] save to a file
Jochen Georges
jochengeorges at ...467...
Wed Dec 22 22:38:52 CET 2004
Hello gambonauts,
PUBLIC SUB Button2_Click()
File.Save("test2.txt", TextArea1.Text)
'have a look in this directory now!
END
this does not work.
If the file already exist, i get a message "access forbidden".
If it does not, i get a message "file or directory does not exist"
I tried different things like:
MyFile AS File
OPEN "test2.txt" FOR CREATE WRITE AS myFile
File.Save("test2.txt", TextArea1.Text)
But I'm not successful yet :(
Thanks for any hint.
Jochen
More information about the User
mailing list