Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×

This topic is 5301 days old. Please don't post here. Open a new topic instead.

Recommended Posts

Posted

use GetLayoutObjectAttribute(webviewername;"source") on a webviewer that loads google.com or something and check the result of the function to see if the page you specified did load.

  • 2 weeks later...
  • 4 weeks later...
  • Newbies
Posted (edited)

Just wanted to post back here for others looking to do this. Here is the method I am using to do this and it is working great.

I am basically using an import data from XML test to verify if the internet connection is available and working.

I made a global field in a table called 'internet' then I made a XML file that has ineternet = 1 and placed it on an external webserver

Then I wrote a simple import script that does the following:

Set Error Capture [On]

Set my internet field to = 0 (meaning no internet)

import from XML via http

If the import works (which means the internet is working) then the internet value will be set to 1. If the import fails (internet isnt working) then the internet value will = 0.

This is working great for me. Hope it helps someone elso.

Edited by Guest

This topic is 5301 days old. Please don't post here. Open a new topic instead.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.