FIX: Cannot Add Items to Catalogs Not in VFP 98 Directory (195629)



The information in this article applies to:

  • Microsoft Visual FoxPro for Windows 6.0

This article was previously published under Q195629

SYMPTOMS

The following error message may occur when you add a new item to a catalog when the catalog is not created in the VFP98\Gallery directory:
File C:\...vfpgrly.vcx not found.

RESOLUTION

The October 1998 Component Gallery update, Vfp6gal.exe, includes a new version of the Component Gallery that addresses this problem. You can download the update from the following Web address:

http://msdn.microsoft.com/vfoxpro/downloads/updates.asp

STATUS

Microsoft has confirmed that this is a bug in the Microsoft products that are listed at the beginning of this article. This bug was corrected in the October Visual FoxPro 6.0 Component Gallery and FoxPro Foundation Classes (FFC) updates.

This bug was corrected in Visual Studio 6.0 Service Pack 3. For more information about Visual Studio service packs, please see the following articles in the Microsoft Knowledge Base:

194022 INFO: Visual Studio 6.0 Service Packs, What, Where, Why

194295 HOWTO: Tell That Visual Studio 6.0 Service Packs Are Installed

MORE INFORMATION

This error is intermittent on some computers; however, once it does occur, it is likely to continue to occur until you exit Visual FoxPro.

Steps to Reproduce Behavior

  1. Launch Component Gallery.
  2. Create a new catalog in a different directory other than the ..\Gallery directory. For example, in the C:\Temp directory.
  3. While Component Gallery is still running, go to Command window and issue the following command: SET DEFAULT TO HOME()+"Gallery\Graphics"
  4. Select the newly create catalog in Component Gallery, then right-click the right panel of the Component Gallery. In the shortcut menu, point to New Item. When the Open dialog box appears, navigate to the graphics directory and select a .bmp file.

    RESULTS: The following error occurs:
    File C:\Temp\vfpgrly.vcx not found

Modification Type:MinorLast Reviewed:3/7/2005
Keywords:kbbug kbfix kbvfp600fix kbVS600sp3fix KB195629