Hi,
I would like to know how to determine if the connection object is valid, before using it.
Invalid wouldn't necessarily mean, adStateClosed, because i can turn off my wireless device on my computer and ado won't recognize this. Then when i try to open a recordset i get an error.
I believe need some kind of withevents for a change of the connection objects state, it doesn't seem to recognize shutting off the wireless as a change in state. Also, the object is still not nothing after turning off the device. So I don't know!
HELP
thanks
Mark P.
Providing Low Cost Powerful Point of Sale Solutions.
I would like to know how to determine if the connection object is valid, before using it.
Invalid wouldn't necessarily mean, adStateClosed, because i can turn off my wireless device on my computer and ado won't recognize this. Then when i try to open a recordset i get an error.
I believe need some kind of withevents for a change of the connection objects state, it doesn't seem to recognize shutting off the wireless as a change in state. Also, the object is still not nothing after turning off the device. So I don't know!
HELP
thanks
Mark P.
Providing Low Cost Powerful Point of Sale Solutions.