?
Solved

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

Posted on 2004-10-14
2
Medium Priority
?
545 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
[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 Comments
 
LVL 77

Accepted Solution

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

What Is Blockchain Technology?

Blockchain is a technology that underpins the success of Bitcoin and other digital currencies, but it has uses far beyond finance. Learn how blockchain works and why it is proving disruptive to other areas of IT.

Question has a verified solution.

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

As tax season makes its return, so does the increase in cyber crime and tax refund phishing that comes with it
Access developers frequently have requirements to interact with Excel (import from or output to) in their applications.  You might be able to accomplish this with the TransferSpreadsheet and OutputTo methods, but in this series of articles I will di…
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 …
Access reports are powerful and flexible. Learn how to create a query and then a grouped report using the wizard. Modify the report design after the wizard is done to make it look better. There will be another video to explain how to put the final p…
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