Description
Opens the default Web browser and runs the specified URL in the browser.
Syntax
openurl ( string url )
Return value
Integer.
Returns 1 if the function succeeds and -1 if an error occurs. If any argument's value is null, returns null.
Usage
Call this function to run a URL from a PowerBuilder application.
The OpenUrl function has the same functionality as the HyperLinkToURL function of the Inet object, which means, you can use the OpenUrl function to replace the Inet.HyperLinkToURL function, because the Inet object is obsolete.
Examples
This example opens the default web browser and runs the URL "https://appeon.com".
OpenUrl( "https://appeon.com" )