The information in this article applies to:
SYMPTOMSWhen attempting to use the Package and Deployment Wizard (PDW) to package an ActiveX DLL/EXE project, the following error is received: This occurs when the ActiveX DLL/EXE project is part of a project group that contains and references a UserControl project, and the projects are saved before being compiled. CAUSEThe PDW reads all of the objects and references out of the VBP file. When you compile the control only after saving both the ActiveX Control project and the ActiveX DLL/EXE project, the latter's VBP does not reflect the current state of the referenced control and is therefore invalid. When you open the VBP in Notepad, note that the reference to the control is:
However, if you choose to save the projects, the correct reference is
saved:
When the PDW fails to parse correctly in the first case, it tries to add a
file named "" to make up for the name of the compiled OCX. This results in
the above error.
RESOLUTIONTo update the VBP file with correct references, save both projects before using the PDW to package them. STATUSThis behavior is by design. MORE INFORMATIONSteps to Reproduce Behavior
Note that the following error occurs and further attempts to package the project result in the same error:
Additional query words:
Keywords : kberrmsg kbwizard kbAppSetup kbVBp kbVBp600 kbGrpVB kbDSupport |
Last Reviewed: January 5, 2000 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |