PRB: HyperLink Object Does Not Support Moving to FILE: URL (189900)



The information in this article applies to:

  • Microsoft Visual FoxPro for Windows 6.0

This article was previously published under Q189900

SYMPTOMS

When you use the HyperLink object to move to a FILE: URL, it does not cause any errors, but it does not appear to do anything.

CAUSE

The API that is used by the HyperLink object does not support the Mailto: and File: links.

RESOLUTION

Use the HyperLink foundation classes, such as the HyperLink Label or the HyperLink button, found in the _hyperlink.vcx foundation class library. These foundation classes support the FILE: links.

STATUS

This behavior is by design.

MORE INFORMATION

Steps to Reproduce Behavior

Run the following code:
   ox=CreateObject("hyperlink")
   ox.NavigateTo("FILE:c:\")
				
RESULT: This code runs without error, but nothing happens.

Modification Type:MajorLast Reviewed:12/11/1999
Keywords:kbprb KB189900