Solved

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

Posted on 2004-10-14
2
534 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

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!

Join & Write a Comment

The first two articles in this short series — Using a Criteria Form to Filter Records (http://www.experts-exchange.com/A_6069.html) and Building a Custom Filter (http://www.experts-exchange.com/A_6070.html) — discuss in some detail how a form can be…
Overview: This article:       (a) explains one principle method to cross-reference invoice items in Quickbooks®       (b) explores the reasons one might need to cross-reference invoice items       (c) provides a sample process for creating a M…
Familiarize people with the process of retrieving data from SQL Server using an Access pass-thru query. Microsoft Access is a very powerful client/server development tool. One of the ways that you can retrieve data from a SQL Server is by using a pa…
In Microsoft Access, learn different ways of passing a string value within a string argument. Also learn what a “Type Mis-match” error is about.

705 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

18 Experts available now in Live!

Get 1:1 Help Now