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
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.
--- RBASE-L
================================================
TO POST A MESSAGE TO ALL MEMBERS:
Send a plain text email to [email protected]
(Don't use any of these words as your Subject:
INTRO, SUBSCRIBE, UNSUBSCRIBE, SEARCH,
REMOVE, SUSPEND, RESUME, DIGEST, RESEND, HELP)
================================================
TO SEE MESSAGE POSTING GUIDELINES:
Send a plain text email to [email protected]
In the message SUBJECT, put just one word: INTRO
================================================
TO UNSUBSCRIBE:
Send a plain text email to [email protected]
In the message SUBJECT, put just one word: UNSUBSCRIBE
================================================
TO SEARCH ARCHIVES:
Send a plain text email to [email protected]
In the message SUBJECT, put just one word: SEARCH-n
(where n is the number of days). In the message body,
place any
text to search for.
================================================