Solved

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

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

Regardless of which version on MS Access you are using, one of the harder data-entry forms to create is one where most data from previous entries needs to be appended to new records, especially when there are numerous fields and records involved.  W…
Introduction The Visual Basic for Applications (VBA) language is at the heart of every application that you write. It is your key to taking Access beyond the world of wizards into a world where anything is possible. This article introduces you to…
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…
Using Microsoft Access, learn some simple rules for how to construct tables in a relational database. Split up all multi-value fields into single values: Split up fields that belong to other things into separate tables: Make sure that all record…

773 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