I think what the op is asking for is like this.
Create a button and point it to a program ( using process.start ), but if
the file does not exist, he wants the code to pup up a dialog box and tell
the user that this file has not been found and ask if they should search the
disk for it. ( like when an icon points to a missing file )
--
OHM ( Terry Burns )
. . . One-Handed-Man . . .
If U Need My Email ,Ask Me
Time flies when you don't know what you're doing
"Cor Ligthert" <no**********@planet.nl> wrote in message
news:OP*************@TK2MSFTNGP11.phx.gbl...
Joltman,
You mean something as this
Filesystemwatcher
http://msdn.microsoft.com/library/de...classtopic.asp
I hope this helps?
Cor
I am trying to find out how to search for a file. I am making a switchboard program with buttons pointing to programs, but I want to
make it so that if the program a button points to ever moves, it will
automatically search the local hard drives for it.
Thanx
-joltman