Archived

This topic is now archived and is closed to further replies.

Indy

Embedded VB 3.0

Recommended Posts

Indy    122
Could somebody help in a problem I have with eVB? It''s to do with opening text files. When I issue: File1.Open "\MyTextFile.txt",fsModeInput I just get an error reporting the file cannot be found. Now I''m pretty sure the file exists. Any ideas? Thanks Indy

Share this post


Link to post
Share on other sites
Indy    122
True what you say, but that still doesn''t work. I have put the file on c: and tried the "\filename" - still error. The help file that occompanies the VB editor is useless as it gives the syntax and nothing else. It didn''t even tell me that I had to create a File object, I found that from an article on some web site.

Thanks for trying..

Indy

Share this post


Link to post
Share on other sites
SeanHowe    142
WinCE 3.0 devices have no concept of the present working directory when it comes to opening files, FYI. If you''re running it in the emulator you have to find the directory it uses as the emulator''s base somewhere in the SDK directory.

Share this post


Link to post
Share on other sites