Is there an easy way to determine if a file exists in the compact framework?
-cwm9
Printable View
Is there an easy way to determine if a file exists in the compact framework?
-cwm9
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
Ah, thanks, I was trying to use the .FileExists() method which isn't in the CF. Thanks for pointing me to .File.Exists()