A
Anthony
I have a database where the tables are on a remote MS SQL server. I have to
connect to the server when I start the DB. Is there a command in VB you can
use the will check some Microsoft O/S flag to tell you if you are connected
to a network?Right now what I am doing is trying to connect to the network,
if it tries for 30 seconds and can't connect, it gives me an error # that I
use to tell if I am connected to the network. It would be nice if there was
a O/S flag that was set/not set when you are not connected to a network,
without having to first try to connect to the network. That way, you can
save 30 seconds trying to connect.
Thanks
connect to the server when I start the DB. Is there a command in VB you can
use the will check some Microsoft O/S flag to tell you if you are connected
to a network?Right now what I am doing is trying to connect to the network,
if it tries for 30 seconds and can't connect, it gives me an error # that I
use to tell if I am connected to the network. It would be nice if there was
a O/S flag that was set/not set when you are not connected to a network,
without having to first try to connect to the network. That way, you can
save 30 seconds trying to connect.
Thanks