Microsoft KB Archive/280513

= PRB: Visual Basic 6.0 Application Generates Run-Time Error 3633 When It Is Run on a New Computer =

Article ID: 280513

Article Last Modified on 4/22/2003

-

APPLIES TO


 * Microsoft Visual Basic 6.0 Enterprise Edition
 * Microsoft Visual Basic 6.0 Professional Edition

-



This article was previously published under Q280513



SYMPTOMS
When you build setup disks for a Microsoft Jet-based database application with the Package and Deployment Wizard (PDW), the Package and Deployment Wizard does not include the Microsoft Jet database engine files. When you install the application and try to run it, you get the following error message:

Run-time error '3633'



CAUSE
The Package and Deployment Wizard does not know to add the Microsoft Jet 4.0 database engine if you are using the Microsoft DAO 3.6 Object Library.



RESOLUTION
Add the MDAC_TYP.EXE to your setup package.

NOTE: MDAC 2.6 and later no longer include the Jet engine. If you are using MDAC 2.6 or higher, you need to use the Jet redistribution pack.

For more information about downloading the Jet redistribution for use with your application, see the following Microsoft Web site at:

http://msdn.microsoft.com/dataaccess



MORE INFORMATION
This problem does not occur on Windows 2000-based computers or computers that have Microsoft Office 2000 installed. To reproduce the problem, install the following application that is created on a clean installation of Microsoft Windows 98, Microsoft Windows 95. or Microsoft Windows NT 4.0 SP3.

Steps to Reproduce Behavior

 * 1) Create a new application and add a reference to the Microsoft DAO 3.6 Object Library.
 * 2) Create setup disks by using the Package and Deployment Wizard.
 * 3) Install the application on a new computer that does not already have Jet installed.
 * 4) Run the application, and note that you receive the error message.
 * 5) Repeat the preceding steps, but add a reference to the Microsoft DAO 3.5 Object Library. Note that the application runs correctly.

