Previous Thread

7/29/2006 10:17:54 PM    Filehandling error
Hello, 
 
'--- 
 
Open "c:\test.txt" For Output As #1    ' Open file for output. 
 
Write #1, "blabla" 
 
Close #1 
 
'--- 
 
Why doesn't this work, it worked before? 
 
Error message: (in Dutch) 
 
Fout 54 tijdens uitvoering: 
 
Ongeldige bestandsmodus 
 
Please help. 
 
Thanks, 
 
Hans



7/30/2006 11:56:16 AM    Re: Filehandling error
Try: 
 
Print #1 
 
instead of: 
 
Write #1 
 
-- 
 
Allen Browne - Microsoft MVP.  Perth, Western Australia. 
 
Tips for Access users - http://allenbrowne.com/tips.html 
 
Reply to group, rather than allenbrowne at mvps dot org. 
 
"Hans" <_h.dielissen_at_multiweb.nl_> wrote in message 
 
news:3c4f4$44cbc0ce$5468cf1c$23805@cache20.multikabel.net...

7/30/2006 8:49:28 PM    Re: Filehandling error
Might you not have write permission to the root of your C: drive? 
 
-- 
 
Doug Steele, Microsoft Access MVP 
 
http://I.Am/DougSteele 
 
(no private e-mails, please) 
 
"Hans" <_h.dielissen_at_multiweb.nl_> wrote in message 
 
news:ea225$44cd0f94$5468cf1c$32706@cache20.multikabel.net...

7/30/2006 10:06:14 PM    Re: Filehandling error
Thanks Allen and Douglas for your responses but it also doesn't work. 
 
It gives the same errortext in Dutch: "Ongeldige bestandmodus" something 
 
like "not valid file mode" 
 
Hans 
 
"Douglas J. Steele" <NOSPAM_djsteele@NOSPAM_canada.com> schreef in bericht 
 
news:u66c4y8sGHA.4444@TK2MSFTNGP06.phx.gbl...