mr_avril
asked on
How to notify user when path is not accessable due to connection lost
I want to develop a simple databse application using VB6 and one of the function is to access a network path. How to notify user if the application not able to access the path due to connection lost or network breakdown? Pop up a msg instead of application error due to cannot access path?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
If Dir("\\server\somepath\", vbDirectory) = "" Then
MsgBox "The specified path doesn't exist or is currently inaccessible!", vbCritical
End If