Razzak,

Tell the team thank you for this one.

Jan


-----Original Message-----

From: "A. Razzak Memon" <[email protected]>

To: [email protected] (RBASE-L Mailing List)

Date: Mon, 31 Oct 2011 11:26:18 -0400

Subject: [RBASE-L] - Tip of the Day: Validating An Internet Connection




Monday, October 31, 2011



Tip of the Day: Validating An Internet Connection

Product: R:BASE eXtreme 9.1/9.5 (32/64)

Build..: 9.1.5.11111 or higher http://www.rupdates.com 
[http://www.rupdates.com/]

Section: New PROPERTY/GETPROPERTY Commands



When designing and deploying R:BASE eXtreme 9.1/9.5 applications,

you might have a cool R:BASE routine or Plugin to submit and/or

retrieve data that requires an Internet connection.



When your R:BASE eXtreme 9.1/9.5 applications include tools to

extract, transform and load data, they are mainly responsible

for data transfer from your R:BASE application and the Internet

to data warehouses.



However, not being connected to the Internet, or not having

Internet access may result into -ERROR- message(s) and so forth.



It would be nice to confirm a valid Internet connection before

submitting or retrieving data or LAUNCHing a Web browser.



Did you know that now you can use a new GETPROPERTY command

parameter to check whether or not the computer is connected to

the Internet?



Here's how:



SET VAR vResult TEXT = NULL

GETPROPERTY APPLICATION IsInternetConnected vResult



Resulting "vResult" variable will return the value of YES or NO.



Using this approach, you can now build higher intelligence into

your R:BASE eXtreme 9.1/9.5 applications.



Have fun!



Very Best R:egards,



Razzak.

Reply via email to