BUG: Project Manager Adds the Same VCX Twice During Build

Last reviewed: January 24, 1997
Article ID: Q141524
The information in this article applies to:
  • Microsoft Visual FoxPro for Windows, versions 3.0, 3.0b, 5.0

SYMPTOMS

While you're working with a project that contains a Visual Class Library and one of the Build Options (Project, Application, or Executable) has been selected, if the Project Manager encounters a reference to a Visual Class Library that does not exist in the Project, it will offer the user an opportunity to locate it. If, during this process, the user locates and selects the Visual Class Library that already exists in the project, the Project Manager will permit it to be added a second time.

WORKAROUND

If this occurs, one of the two references to the Visual Class Library should be eliminated by using the Remove option. Care should be taken to remove the file -- don't delete it from the disk.

STATUS

Microsoft has confirmed this to be a problem in the Microsoft products listed at the beginning of this article. We are researching this problem and will post new information here in the Microsoft Knowledge Base as it becomes available.

MORE INFORMATION

Steps to Reproduce Problem

  1. Create a new project, and add either a new or existing Wizard Form to it.

  2. Rebuild the project so that the Wizstyle.vcx Visual Class Library is added to the project. If necessary, locate Wizstyle.vcx for the Project Manager in the Wizards subdirectory of the FoxPro root directory (for example: C:\Vfp\Wizards).

  3. Add either a new or existing form that contains a class from a Visual Class Library other than Wizstyle.vcx. Use the View Classes tool of the Form Controls toolbar to add the Tsgen.vcx Visual Class Library. From Tsgen.vcx, add the DateRange class to the form.

  4. Save and Close the form and return to the Project Manager.

  5. From the Project Manager, select Build, and on the Build Options screen, select Project.

  6. When the Locate File dialog box appears with the message, "Unable to find Visual Class Library TSGEN," select Locate. Under the same directory where Wizstyle.vcx was located, select it by highlighting it with the mouse and clicking OK. Note that after the build process has completed, Wizstyle.vcx has been added to the Project Manager a second time.


KBCategory: kbtool kbbuglist
KBSubcategory: FxtoolProjman
Additional reference words: 5.00 3.00 3.00b VFoxWin kbbuglist5.00
buglist3.00 buglist3.00b


THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. MICROSOFT DISCLAIMS ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL MICROSOFT CORPORATION OR ITS SUPPLIERS BE LIABLE FOR ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL, CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF MICROSOFT CORPORATION OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. SOME STATES DO NOT ALLOW THE EXCLUSION OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES SO THE FOREGOING LIMITATION MAY NOT APPLY.

Last reviewed: January 24, 1997
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.