Opens the default Web browser, displaying the specified URL.
Inet objects
servicereference.HyperlinkToURL ( url )
Argument |
Description |
---|---|
servicereference |
Reference to the Internet service instance |
url |
String specifying the URL to open in the default Web browser |
Integer. Returns 1 if the function succeeds and -1 if an error occurs.
Call this function to display a URL from a PowerBuilder application.
This example calls the HyperlinkToURL function. Iinet_base is an instance variable of type inet:
GetContextService("Internet", iinet_base)
iinet_base.HyperlinkToURL(sle_url.text)