Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Internet Connection

Status
Not open for further replies.

Shelly

Programmer
Sep 8, 2000
17
0
0
US
Is there a way to verify that a connection to the internet is present before issuing an insert statement for a remote view? My client may not be able to connect at the moment and wants to skip the upload code.
Thanks!
Shelly
web@interiormall.com
 
If you're using a Winsock control, you can simply query the control for it's connection status:

IF oForm.Winsock1.Object.State=7 && Connected!
&& Do stuff
ENDIF

Hope that helps.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top