Solved

Jet error, Run-time error 3447

Posted on 2000-05-11
11
252 Views
Last Modified: 2010-05-02
I can run this thing fine on my system, a co worker get invalid login and password despite being no such thing in it and another gets the error in the subject line and saying this:

The Jet VBA file failed to initialize when called.  

What is going on?
0
Comment
Question by:treyjeff
11 Comments
 
LVL 28

Expert Comment

by:AzraSound
ID: 2801276
PRB: Error "The Jet VBA File...Failed to Initialize When Called"

http://support.microsoft.com/support/kb/articles/q192/9/34.asp

0
 

Expert Comment

by:mdmurphy
ID: 2801286
Hi,
I found this snipit of info on my MSDN CD--hope it helps!

Applications like Visual Basic 6.0 and Visual C++ 6.0 install new versions of the DAO and Jet files on your development computer. Any version of VBAJet32.dll 6.0.1.8132 or later is now dependent on the file Expsrv.dll. The error occurs with your original setup program because it does not include Expsrv.dll in the dependency information.

RESOLUTION
To resolve the error, do one of the following:

Manually add Expsrv.dll to your file list for your existing setup program.

Re-create a new setup program from scratch that includes this new dependency.

0
 
LVL 28

Expert Comment

by:AzraSound
ID: 2801302
thats exactly what the link says that i pointed to
0
 
LVL 1

Author Comment

by:treyjeff
ID: 2801515
I tried that and get an error on install when it gets to that file.  The destination system doesnt have any development tools.  I'm using VB5 Pro but I do have Visual Interdev 6 on my system.  Now when I try to run it on his system it says the db is in use by someone else when it isn't.
0
 
LVL 1

Author Comment

by:treyjeff
ID: 2801621
I have no idea whats going on!  I have tried a few things and just nothing!!
0
IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

 
LVL 9

Accepted Solution

by:
Ruchi earned 30 total points
ID: 2801698
0
 
LVL 1

Author Comment

by:treyjeff
ID: 2801866
Ok, the absolutely diverse site gave a solution which at least made the error go away :)

Unfortunately there is now run time error 3051!!

It says" It is already opened exclusively by another user, or you need permission to view it's data.

What does this one mean?  I can still view it fine!
0
 
LVL 28

Expert Comment

by:AzraSound
ID: 2801872
how are you connecting to and opening the database?  can you post some code?
0
 
LVL 1

Author Comment

by:treyjeff
ID: 2805020
Here is what goes when we press button called Build Database - I can run it no problem but this other person can't!!!!:    

Dim DB As Database
   
    'The database is built using extracts from Control:Manufacturing
   
    'Delete the current database.
    Set DB = OpenDatabase("s:\pathapps\cmcost\cmcost.mdb")
'    Set DB = OpenDatabase("z:\testsrce\cmcost\cmcost.mdb")
    DB.Execute ("delete * from Detail")
    DB.Execute ("delete * from Master")
       
    Call ReadMaster(DB)
    Call ReadLabour(DB)
    Call ReadMaterial(DB)
    Call ReadStandard(DB)
0
 
LVL 28

Expert Comment

by:AzraSound
ID: 2805081
try this:


Set DB = OpenDatabase("s:\pathapps\cmcost\cmcost.mdb",True)

this will open it in exclusive mode..the default is shared mode...i think thats why you may be getting that error

also ensure when you close the program to close out all the database objects you create and set them to nothing, e.g.

DB.Close
Set DB = Nothing



0
 
LVL 1

Author Comment

by:treyjeff
ID: 2810966
The absolutelydiverse site gave me the answer.  Still having problems but different ones now.
0

Featured Post

Free Trending Threat Insights Every Day

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

Join & Write a Comment

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…
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.
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
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…

708 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

19 Experts available now in Live!

Get 1:1 Help Now