Checking if a file exists

Hello There

If Dir("C:\windows\win.ini", FileAttribute.Archive) <> "" Then
File Exists
Else
File not Exists
End If

SKOl Rulezzzzzzzzzzzzz
 
ths: This is the VB.NET forum. Please dont post VB6 answers here.

nibsy: System.IO.File.Exists(path)
 
In the System.IO.File import there is a function called Exists
withc returns a true if the fiile exists.

FullPath is the file you want to check for.


BoolVar = System.IO.File.Exists(fullpath)

Good Luck
Ed
 
Sorry for VB6 answer . . .

So
How can i do to unload a assembly (.dll ) in VB.NET ?!?!

tks
 
Back
Top