Solved

Access data problem with 16 bit setup

Posted on 1998-11-27
3
227 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

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

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

Suggested Solutions

Most everyone who has done any programming in VB6 knows that you can do something in code like Debug.Print MyVar and that when the program runs from the IDE, the value of MyVar will be displayed in the Immediate Window. Less well known is Debug.Asse…
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 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…
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…

815 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

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now