NavigateTo
This method of the hyperlink object tells the associated browser to go to a particular address. If the hyperlink is on a stand-alone VFP form, a new instance of the default browser is invoked; if the hyperlink is on an Active Document, that browser host is redirected.
Usage |
oHyperLink.NavigateTo(cLegalAddress) |
Parameter |
Value |
Meaning |
cLegalAddress |
Character |
Any legal address that could be accepted by a browser: http:, ftp:, news:, mailto:, or a local file: address. |
Specifying a mail address ("mailto:someperson@somedomain.com") correctly displays a New Message dialog but also brings up the browser with an "action canceled" or "Web page unavailable offline" page (depending on whether you're working online or not). That behavior makes this method pretty useless for this purpose. |
Example |
oLink.NavigateTo("http://msdn.microsoft.com/vfoxpro") oLink.NavigateTo("news://msnews.microsoft.com") |
See Also |