
How to open file for writing?
Quote:
>-----Original Message-----
>HI!
>I have placed File on the mainform with name File1, but
when I am trying to
>open file for writing with command:
File1.Open "\MKazn.txt", fsModeOutput,
Quote:
>I get an error Unknown variable: File1.
>Please help!
>.
A couple of ideas come to mind. First, did you define the
variable (file1) as a file? Did you add a Microsoft CE
3.0 File System control to your form?
Interestingly enough, I am having a similar problem
except in my case I get object required error when I try
the open. In my open statement I have "Storage
Card\AgriData.txt". If you have any ideas for me let me
know.