How to open file for writing? 
Author Message
 How to open file for writing?

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,
I get an error Unknown variable: File1.

Please help!



Sun, 24 Oct 2004 14:44:46 GMT  
 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.



Sat, 30 Oct 2004 01:58:06 GMT  
 
 [ 2 post ] 

 Relevant Pages 

1. Open a text file, search for place holder, then write data to file

2. How to open files for read/write in .aspx

3. Opening File for Write

4. open a binary file for reading/writing

5. Opening / Writing To Files In PDS 7.1

6. VB4,opening database w/o write access to file

7. VB4,opening database w/o write access to file ....SOLUTION

8. VB4,opening database w/o write access to file

9. Playing Wave-Files currently opened for writing

10. open file for random LOCK READ WRITE as handle

11. How To Open Write File With Shell

12. Open/writing files on a network?

 

 
Powered by phpBB® Forum Software