PRB: HyperLink Object Does Not Support Moving to FILE: URL

ID: Q189900


The information in this article applies to:
  • Microsoft Visual FoxPro for Windows, version 6.0


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.

Additional query words: kbVFp600 kbDatabase kbInternet

Keywords :
Version : WINDOWS:6.0
Platform : WINDOWS
Issue type : kbprb


Last Reviewed: December 10, 1999
© 2000 Microsoft Corporation. All rights reserved. Terms of Use.