?
Solved

Access data problem with 16 bit setup

Posted on 1998-11-27
3
Medium Priority
?
232 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
3 Comments
 
LVL 4

Accepted Solution

by:
CraigLazar earned 400 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

If you have ever used Microsoft Word then you know that it has a good spell checker and it may have occurred to you that the ability to check spelling might be a nice piece of functionality to add to certain applications of yours. Well the code that…
Enums (shorthand for ‘enumerations’) are not often used by programmers but they can be quite valuable when they are.  What are they? An Enum is just a type of variable like a string or an Integer, but in this case one that you create that contains…
Get people started with the process of using Access VBA to control Excel using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Excel. Using automation, an Access application can laun…
This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…
Suggested Courses

762 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