Jump to content

  • Log In with Google      Sign In   
  • Create Account


Embedded VB 3.0


Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.

  • You cannot reply to this topic
4 replies to this topic

#1 Indy   Members   -  Reputation: 122

Like
Likes
Like

Posted 09 February 2002 - 11:25 AM

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

Sponsor:

#2 a person   Members   -  Reputation: 118

Like
Likes
Like

Posted 09 February 2002 - 07:23 PM

i am unsure how the file system works in what you are using, but ussually \ means root directory and .\ means current directory.

#3 Indy   Members   -  Reputation: 122

Like
Likes
Like

Posted 09 February 2002 - 10:37 PM

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

#4 golan trevize x   Members   -  Reputation: 122

Like
Likes
Like

Posted 10 February 2002 - 10:47 AM

Sorry if I''m on the wrong track here, but if you''re running this in eVB, shouldn''t the file be in a directory on the portable device, rather than on your c: drive?

#5 SeanHowe   Members   -  Reputation: 142

Like
Likes
Like

Posted 14 February 2002 - 04:16 PM

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.




Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.



PARTNERS