|
-
Mar 31st, 2006, 09:28 PM
#1
Thread Starter
New Member
FileExists(string) in CF?
Is there an easy way to determine if a file exists in the compact framework?
-cwm9
-
Mar 31st, 2006, 10:27 PM
#2
Re: FileExists(string) in CF?
IO.File.Exists(filename) is a boolean function, which according to MSDN works with the compact framework.
Although, I believe you'd have to either import the namespace System.IO or use it like..
If System.IO.File.Exists(filename) Then
Bill
-
Mar 31st, 2006, 11:29 PM
#3
Thread Starter
New Member
Re: FileExists(string) in CF?
Ah, thanks, I was trying to use the .FileExists() method which isn't in the CF. Thanks for pointing me to .File.Exists()
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|