Solved

CreateObject ("Word.Application") ACCESS 2000 error 48 in loading dll

Posted on 2004-10-14
2
536 Views
Last Modified: 2008-01-09
Hello,

Have a problem that is driving me a bit mad , i have a db that works absolutely fine on a number of machines, except the one it should do. The code that creates the error is:

Public oWord As Object
'snip
Set oWord = CreateObject("Word.Application")

nothing wrong there , the code is doing a merge function and on the machine in question throws up an error 48 when you try and use the create object line.

I have uninstalled office, reinstalled it checked the reg and can find nothing wrong with it, i even managed to get the automation object working on a simple script.

However...in this case the object is called as part of another routine.

what i want to know is has anyone had anything profoundly odd like this before and if so what was the cause?



 
0
Comment
Question by:markofsoton
2 Comments
 
LVL 77

Accepted Solution

by:
peter57r earned 100 total points
ID: 12307775
Hello markofsoton,

Well you've identified that it's machine specific so it is probably something to do with the set up of that machine.

You could use this on your msaccess.exe to see if there is a dll problem,
http://www.dependencywalker.com/

Alternatively/as well you could decompile the app using the /decompile switch and then compile it on the problem machine to see if any problems declare themselves.

Pete
0
 

Author Comment

by:markofsoton
ID: 12655783
got shot of the machine in the end, apparently had a history of being rubbish
0

Featured Post

U.S. Department of Agriculture and Acronis Access

With the new era of mobile computing, smartphones and tablets, wireless communications and cloud services, the USDA sought to take advantage of a mobilized workforce and the blurring lines between personal and corporate computing resources.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
data analyst 3 50
MS Access Order Smallest to Biggest Query Help 13 43
Export Query data to excel file 14 37
Update Access FrontEnd by Version # 9 26
I see at least one EE question a week that pertains to using temporary tables in MS Access.  But surprisingly, I was unable to find a single article devoted solely to this topic. I don’t intend to describe all of the uses of temporary tables in t…
A simple tool to export all objects of two Access files as text and compare it with Meld, a free diff tool.
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…
In Microsoft Access, learn how to use Dlookup and other domain aggregate functions and one method of specifying a string value within a string. Specify the first argument, which is the expression to be returned: Specify the second argument, which …

867 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

17 Experts available now in Live!

Get 1:1 Help Now