Solved

Access data problem with 16 bit setup

Posted on 1998-11-27
3
229 Views
Last Modified: 2006-11-17
The 16 bit application setup routine for VB causes an error 91 when attempting to use a set statement after the application has been loaded.  The problem stems from the access database file not being available after a get database statement.  All code works flawlessly on machine with VB loaded but not on the target machine.  I can even recreate the error on the developer machine by renaming the mdb file thus redering it un-available.  Why is the mdb file not recognized?
0
Comment
Question by:Jim14
  • 2
3 Comments
 
LVL 4

Accepted Solution

by:
CraigLazar earned 100 total points
ID: 1447121
Hi
I had this Exact problem , what u need to do is copy theses dlls' off your machine or add them during the setup wizard app
and make sure they are placed on the target pc .the reason is that they are on your machine but i found there is a bug in the setup wizard or something because for some reason it does not pick the earlier versions of these dll's in order for access to work correctly
 msajt100.dll                  Install to the Windows\System\
 msajt112.dll                  Install to the Windows\System\
 msajt200.dll                      Install to the Windows\System\

So check that out it fixed my problems on the target pc
 cheers craig
0
 

Author Comment

by:Jim14
ID: 1447122
Thanks Craig,

Your solution worked even though my system did not have the msajt100.dll file.
0
 
LVL 4

Expert Comment

by:CraigLazar
ID: 1447123
Good Stuff Mate
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
MsgBox 2 61
How to make an ADE file by code? 11 99
VB6 - Cannot type when doing an extract from MSHFlexgrid to Excel 6 34
Macro problems with Excel file 6 21
Article by: Martin
Here are a few simple, working, games that you can use as-is or as the basis for your own games. Tic-Tac-Toe This is one of the simplest of all games.   The game allows for a choice of who goes first and keeps track of the number of wins for…
This article describes some techniques which will make your VBA or Visual Basic Classic code easier to understand and maintain, whether by you, your replacement, or another Experts-Exchange expert.
Get people started with the process of using Access VBA to control Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…

679 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question