At 07:27 AM 2/3/2015, Frank Taylor wrote:
Ok, That answers my question on this function... I will file a "it
would it be nice"
request to get the result of the first part only (Do you have a
network connection
path)...
Remember, nothing is impossible!
We have the knowledge of our own product, talent, and resources to
accomplish anything
you can imagine with R:BASE!
PS.. we seem to have an excess of snow here, anyone want some
? Free Shipping... :)
Darn Punxsutawney Phil didn't help either.
Stay warm.
Razzak
-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf Of A.
Razzak Memon
Sent: Monday, February 02, 2015 6:08 PM
To: RBASE-L Mailing List
Subject: [RBASE-L] - Re: Getproperty Isinternetconnected
At 05:47 PM 2/2/2015, Frank Taylor wrote:
>I have a question about the command GETPROPERTY APPLICATION
>ISINTERNETCONNECTED vresult
>
>What exactly is this testing for ? Will it tell you if you can
>actually reach an external web address or does it tell you only if you
>have a LAN connection, but not necessarily can connect to an external
>site. If it is looking externally, what exactly is it testing to give
>you the result.
>
>I wanted to test this but can't really take my company off the internet
>to see the result. I actually do not care about the external internet,
>but more if it is connected to a LAN either via WIFI or Patch Cable and
>then specifically if a connection to a specific machine is able to be
>done. I am using external bat files with net use commands and then
>testing (chkfile) for a specific file in the path of the net use I set
>up, but it would be nice to not have to launch external bat files that
>can get snared in Antivirus. When i saw this command I was not able to
>get any specific documentation on what the results specifically mean.
Frank,
Here's the secret behind the implementation of "ISINTERNETCONNECTED".
It will check first if there's a possible connection path (e.g. LAN,
WiFi, Modem, AutoDial Modem, ...). If one is detected it will try
connecting to Google via HTTP. Function returns True only if a
connection to Google was established
-- Example
SET VAR vResult TEXT = NULL
GETPROPERTY APPLICATION IsInternetConnected vResult
vResult = YES (if connected to internet)
vResult = NO (if NOT connected to internet)
You don't need to take your company off the internet to see the result!
Very Best R:egards,
Razzak.
www.rbase.com
www.facebook.com/rbase
--
32 years of continuous innovation!
17 Years of R:BASE Technologies, Inc. making R:BASE what it is today!
--