Description
Opens the default Web browser, displaying the specified URL.
Applies to
Inet objects (Obsolete)
Syntax
servicereference.HyperlinkToURL ( url )
Argument |
Description |
---|---|
servicereference |
Reference to the Internet service instance |
url |
String specifying the URL to open in the default Web browser |
Return value
Integer.
Returns 1 if the function succeeds and -1 if an error occurs.
Usage
Call this function to display a URL from a PowerBuilder application.
Examples
This example calls the HyperlinkToURL function. iinet_base is an instance variable of type inet:
inet iinet_base iinet_base = Create inet GetContextService("Internet", iinet_base) iinet_base.HyperlinkToURL("https://www.appeon.com")
See also