acdagirl
asked on
need vb procedure/function
How can I write a procedure that will check whether a user is connected to/ or can access a remote file share and if not pop up an alert window?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
You must be using vb.net. This is for vb6 the old stuff.
But yes, you can replace the gosub with try/catch.
https://www.experts-exchange.com/Programming/Programming_Languages/Dot_Net/VB_DOT_NET/
But yes, you can replace the gosub with try/catch.
https://www.experts-exchange.com/Programming/Programming_Languages/Dot_Net/VB_DOT_NET/
ASKER
no, I'm trying to use a macro in a word doc... so I guess try/catch doesn't work for vb6... ok. :-)
ASKER