MOD2000: Run-Time Error When You Add a Project to Source Code Control While the Data Environment Is Open (236546)



The information in this article applies to:

  • Microsoft Office 2000 Developer

This article was previously published under Q236546

SYMPTOMS

When you add a project to Source Code Control while the Data Environment Designer is open, you may receive the following error message:
Error 76: Path not found

RESOLUTION

Close the Data Environment before you add the project to Source Code Control.

MORE INFORMATION

Steps to Reproduce the Behavior

  1. Start Microsoft Excel, and then open the Visual Basic Editor (ALT+F11).
  2. Create an empty project by clicking New Project on the File menu.
  3. Insert a Data Environment Designer. To do so follow these steps:
    1. On the Insert menu, click Components.
    2. Click the Designers tab, and then click to select the Data Environment check box. Click OK.
    3. On the Insert menu, click Data Environment.
  4. In Project Explorer, click VBAProject (Book1.xls) to select it.
  5. Save VBAProject (Book1.xls), and then add it to Source Code Control. To add VBAProject (Book1.xls) to Source Code Control, on the Add-ins menu, point to VBA Source Code Control, and then click Add Project to Source Safe. (If Source Code Control is not listed on the Add-ins menu, use the Add-in Manager to add the control.)

    Note that at this point, you receive the error message that is mentioned in the "Symptoms" section of this article.

    NOTE: To use the VBA Source Code Control, you must have Microsoft Visual SourceSafe 6.0 client tools installed.

Modification Type:MajorLast Reviewed:7/31/2001
Keywords:kbbug kbDesigner KB236546