Click to See Complete Forum and Search --> : Detect Network Connection


Michael
October 22nd, 1998, 02:09 PM
I have written a program that uses file and such from other mapped drives. Is there a way (for error trapping purposes) to see if the user is connected to the network.


Any suggestions would be of great help.


Thanks in advance,

Mike

Michael
October 22nd, 1998, 02:09 PM
I have written a program that uses file and such from other mapped drives. Is there a way (for error trapping purposes) to see if the user is connected to the network.


Any suggestions would be of great help.


Thanks in advance,

Mike

Vinayak Sapre
June 4th, 1999, 08:00 PM
I think simple Dir$ function on mapped dirive letter can let you know if that drive is connected or not. For more sophisticated functions check MSDN for key word "Windows Networking (WNet)" There are bunch of function to add / delete connection and get connection information.



Vinayak Sapre