Open up vb2008
Make one button and one label
Duble klick on button
Code:
label1.text = "Looking for file..."
if (IO.File.Exists("C:\FileName.txt")) then
label1.text = "File Found!"
else
label1.text = "File not found."
eks:
label1.text = "Looking for file..."
if (IO.File.Exists("C:\Hello.txt")) then
label1.text = "File Found!"
else
label1.text = "File not found."
To look if a map exists:
Change (IO.File.Exists("C:\Hello.txt"))
to (IO.Directory.Exists("c:\myFolder"))