Link to home
Start Free TrialLog in
Avatar of acdagirl
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
Avatar of lunchbyte
lunchbyte

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of acdagirl
acdagirl

ASKER

i can use try/catch right? I'd rather not use goto statements...
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/
no, I'm trying to use a macro in a word doc... so I guess try/catch doesn't work for vb6... ok. :-)