Article ID: 184582 - Last Review: January 22, 2007 - Revision: 3.1 ODE97: Error Running Jetcomp.exe with Access 97 Run-Time Database
This article was previously published under Q184582 Moderate: Requires basic macro, coding, and interoperability skills.
On This PageSYMPTOMS
When you try to use Jetcomp.exe to compact a Microsoft Access 97 run-time
database, you may receive one of the following error messages:
Can't Initialize VBA.
-or-
A required .DLL file, VBAJET32.DLL, was not found.
-or-
The dynamic link library VBAJET32.DLL could not be found in the
specified path <pathname>.
CAUSE
Running Jetcomp.exe generates this error when both of the following
conditions are true:
RESOLUTION
The Compact utility in Microsoft Jet Database Engine version 3.51 allows
you to recover most corrupted databases. You can use the ODE Setup Wizard
to create a shortcut with which users can compact a database in your run-
time application. For more information, search the ODE Tools Help Index for
"shortcuts, in Setup Wizard." If you want to manually create a shortcut
that you can use to compact the database in a run-time application, search
the ODE Tools Help Index for "compacting, data in run-time applications."
However, if you can't recover a corrupted database with the Compact utility of Microsoft Jet, and if you want to try to compact the database with Jetcomp.exe, use one of the following two methods to prevent the errors described in the "Symptoms" section. Method 1Add Vbajet32.dll and Vbar332.dll to the List Of Files in the ODE Setup Wizard. To do so follow these steps.NOTE: If you search the ODE Tools Help Index for "distributing, files with run-time applications" and click Display, Vbar332.dll does not appear on the list of files that you can distribute with your run-time application. However, you may still include it in the list of files that you want your custom Setup program to copy.
Method 2Add the Microsoft Replication Manager component to the run-time application. To do so follow these steps:
MORE INFORMATIONSteps to Reproduce Behavior
| Other Resources Other Support Sites
CommunityGet Help NowArticle Translations
|






Windows Live
Facebook
Twitter
Linkedin
Digg it
Yahoo
Delicious
StumbleUpon
Yammer
Reddit
Technorati
FriendFeed
Email

Back to the top
