How to test for a file?

  • Thread starter Thread starter Kwong
  • Start date Start date
K

Kwong

Hi,
How am I going to test whether a file is exist in a folder
before I can try to open it?
 
* "Kwong said:
How am I going to test whether a file is exist in a folder
before I can try to open it?

Have a look at the classes in the namespace 'System.IO': 'File.Exists',
'Directory.Exists'.
 
Back
Top