BUG: PDW Creates an Invalid Setup for a VB 5.0 Project

ID: Q190178


The information in this article applies to:
  • Microsoft Visual Basic Learning, Professional, and Enterprise Editions for Windows, versions 5.0, 6.0


SYMPTOMS

If you create and compile a project under Microsoft Visual Basic 5.0, and use the Package and Deployment Wizard (PDW) in Visual Basic 6.0 to create a setup package for the project, the PDW will create an invalid setup program without any warning. After you deploy the setup package in another machine, you cannot run the application.


CAUSE

The problem arises because the original executable (EXE) of your Visual Basic project expects to use the MSVBVM50.DLL run-time library. When the PDW creates a setup package for the Visual Basic 5.0 project, the PDW adds the MSVBVM60.DLL run-time library to the setup package. When you deploy the package and run the application, the original Visual Basic 5.0 EXE is in conflict with the files the setup package installed. Therefore, it fails to run.


RESOLUTION

Recompile your Visual Basic 5.0 project using Microsoft Visual Basic 6.0 before using the PDW to create a setup package.


STATUS

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

Additional query words: kbDSupport kbAppSetUp kbdss kbVBp kbVBp500bug kbVBp600

Keywords : kbGrpVB
Version :
Platform : WINDOWS
Issue type : kbbug


Last Reviewed: January 5, 2000
© 2000 Microsoft Corporation. All rights reserved. Terms of Use.