MS WfW 97 Runtime error

I run a Pentium 2/300 with Win95/OSR2 with Office 97 Small Business Edition. Whenever I open Word I get an error message which states
Runtime Error  -2147467259
Automation Error.

I click OK and everything seems to work OK. Does any one know what the above error is and how to get rid of it?
arwoodAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

kamallCommented:
arwood,
This is an OLE (Object Linking and Embedding)Automation Error that is generally caused by incorrect versions of OLE run-time libraries in the system. This mostly occures when an installation of a specific software replaces one or more of these libraries with newer (or sometimes older) version of the existing library.
In most cases, you can solve this problem by reinstalling the software that reports the error (in your case the Office 97).
(Preferabely, uninstall the Office first using the Control Panel's Add/Remove Software before reinstalling it).

Hope that helps.
Best regards
0
arwoodAuthor Commented:
Dear Kamall
I reinstalled Winword 97 as you advised but sorry to advise no change, the error message is still there. I should repeat it in full:-

Microsoft Visual Basic
Runtime error -2147467259 (80004005)
Automation Error

Regards
Alan Wood
0
mviertelCommented:
Could it be, that this is rather related to an AUTOSTART macro?

Go into TOOLS/MACROS and check if you find such a macro. If yes, rename it temporarily and check for the error again ...
0
Ultimate Tool Kit for Technology Solution Provider

Broken down into practical pointers and step-by-step instructions, the IT Service Excellence Tool Kit delivers expert advice for technology solution providers. Get your free copy now.

arwoodAuthor Commented:
Dear Mviertel
You are very close to the solution. The problem is caused by a macro "Autoexec" which appears to run every time Word is opened(as its name implies). The macro is dated to the date that word is opened and is part of a set including "AutoClose, AutoNew, AutoExit and AutoOpen. Opening Tools/Macros shows these clearly, however they are all non deletable or renamable (delete is greyed out and no option shown to rename even with mouse right click).
I searched the help files and it stated that adding /m to the command line it would prevent Word running any AutoExec macro. The startup switch is however not accepted as an invalid parameter(I tried this from the Run Menu to confirm)This may be because the help files were possibly for Word 95 which could have been installed when I loaded Office 95 for Access and the Toolbar. Also I tried the switch in Word95 and it did accept it.
Pressing the "shift key" whilst opening Word did stop the runtime error so we can be certain that this is the cause.
Any ideas where to remove the automatic creation of these files. I have looked in the options etc and had no luck.

Regards  Alan Wood

0
dew_associatesCommented:
Arwood, here are some suggestions for you. I am aware that you may have tried one of these, but on the chance the syntax was wrong, here's the entire blurb.
To prevent a Word for Windows AutoExec macro from executing, do one of
the following:
 
 - At the command prompt, type "win winword /m" (without the
   quotations marks) and press ENTER.
 
 -or-
 
 - Select the Word for Windows program icon in Program Manager. From the
   File menu, choose Properties. Add the /m switch to the current command
   line parameter (for example, "C:\WINWORD\WINWORD.EXE /m").
 
 -or-
 
 - Press and hold down the SHIFT key while double-clicking the Word
   for Windows program icon.
 
In Word for Windows version 6.0, you can use the following command line to
disable the AutoExec macro:
 
   C:\WINWORD\WINWORD.EXE /mDisableAutoMacros
 
For more information on disabling an AutoExec macro from executing in Word
for the Macintosh, see Q122687 for field specific switches using the
ToolsAdvancedSettings WordSwitches option.
 

0
arwoodAuthor Commented:
Attn Dew Associates
I tried all you suggested before posting the question. As I said above the argument /m would not be accepted as a valid command. Pressing the Shift key worked. Anyway Dennis nice to come up against you again after your good work in CDRom setup last week.

Attn All
Further investigation revealed that the autoexec macro is created by my HP Office Jet Pro 1150 Printer driver. It loads from the Startup folder a program called Picture Scan which allows direct scanning into several types of documents including WfW97. If I remove this from the auto start the problem goes away and then returns if I manually start the program.
I have reloaded the printer driver several times and it makes no difference, I still have the problem.
I am reluctant to phone HP as the normal waiting time is about an hour and phoning Holland can be expensive. HP do not appear to have E-Mail Support. My next try is to see if they have a newsgroup somewhere out there meanwhile anybody with any other ideas.
Regards
Alan Wood
0
dew_associatesCommented:
Alan, what type of scanner do you have. This problem is beginning to sound familiar. You wouldn't have one of the 5/5Pse series would you?
0
arwoodAuthor Commented:
The printer is a HP Officejet Pro, model 1150C. It is a colour inkjet/scanner/photocopier combined unit.
Alan
0
dew_associatesCommented:
Okay, let me contact our laison at HP and see if there are any open issues regarding this combination.
0
dew_associatesCommented:
Arwood: In order for this problem to be corrected, you will need Picture Scan Ver. 3.0 or upgrade to Word 7.0a, which contains a new Imager dll updated to work with new Hewlett-Packard scanning software. Now HP says that version 3.0 is on their site, but I haven't had a moment to visit it to confirm that as fact. I believe there is a Word update without having to use SR1.

0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
arwoodAuthor Commented:
Dennis
Thanks for your info. Sorry to take so long to reply. I checked on Microsoft's web site and downloaded the Office Service Release 1 but could find nothing else that refered to version 7.0a. Anyway I installed it. No Joy.
I also checked on HP's web site and could not find version 3.0. I found only a driver patch file "oj131en.exe which refered to Scaning images. I installed this but at the end of the installation I got a dreaded GPF (PPT8EXE - invalid page fault in module MFC40.DLL at 0137:7deal 417) but the installation then said complete. However this also was uncuccessful. Any further ideas? You have done enough to earn the points but obviously the problem is pretty deep. Does your HP contact know exactly what the V3.0 file is called and where it is on the web. I have searched without success.
Rgds Alan
0
dew_associatesCommented:
Arwood, try reinstalling the SR1 update and the HP patch, but try them both this way. Sorry, you kinda of got ahead of me and I didn't have an opportunity to post this.

Use your "Ctrl"  "Alt"  and "Del" keys and open the Close Programs" dialogue box. Close all running programs except for Systray and Explorer. Use either Find, Files and Folders or Windows Explorer and find the exe file for SR1 and click to install. This procedure will cause windows to release active files and allow them to be replaced. Repeat the procedure for the HP patch. In the meantime I will contact our rep at HP.
Dennis
0
arwoodAuthor Commented:
Dear Dennis
Tried as you recommended. The SR1 patch will not install again as it detects that it has already been carried out. The HP patch gives axactly the same error message and the fault is still there when opening WfW97
Rgds  Alan Wood
0
arwoodAuthor Commented:
Dear Dennis
Tried the Ctrl/Alt?del trick and closed everything but "DTOle" and the problem was still there. Closing just "DTOle" and leaving the rest working cured the problem. It seems that "DTOle is the problem and as kamall said earlier it would appear to be linked to the "OLE Automation. See above.
Regards  Alan Wood
0
dew_associatesCommented:
Okay Alan, visit the Microsoft free software download area. There you will find an OLE update. Go ahead and download and install it. That should fix the problem, although the same update is in the SR1, that update may not have registered itself properly.

The file is OELUPD.EXE

DTOLE is not a Microsoft file, so there must be another program that changed your OLE library files.

Let me know how this goes. If it doesn't fix it, we ma have to look for a regsitry entry.
Dennis
0
arwoodAuthor Commented:
Dear Dennis
Will try when I get home tonight. FYI DTOle.exe is part of the HP printer software and definately causes the problem
Alan
0
dew_associatesCommented:
Great, than HP may have an updated driver. Let me know!
0
arwoodAuthor Commented:
Dear Dennis
I tried with the updated OLEUPD.exe file. No luck.
I have searched the HP site for anything that may help but without any luck. I already have the latest HP driver v2.0 which I downloaded some time ago.
Rgds  Alan
0
dew_associatesCommented:
Alan, right click on the start button, click open, then click programs and then the startup icon. Check to see if there are any DTOLE related files there, if so, right click on them and slide them out and onto the desktop, then reboot the system and try Word. I've have been sending messages back and forth with our HP tech rep to see what they have.
0
arwoodAuthor Commented:
Dear Dennis
I did what you advised at the very start to isolate that it was the HP Program Picture Scan which was causing the problem. If I remove it from Start Up WfW works OK. Starting Picture Scan has an executable hpmcscsl.exe which appears to load DTOle.exe. Both files are in the HP Printer driver folder and are installed by the Hp driver software.
Rgds  Alan

0
dew_associatesCommented:
Alan, I understand where your coming from, but removing DTOLE.exe shouldn't disable PictureScan, just disable it's TSR from running in the background. If you leave it out of the startup folder, does everything work?

I have a query into our HP rep and am awaiting a reply.

Dennis
0
arwoodAuthor Commented:
Dear Dennis
If I remove Picture Scan from the Start Up option then Everything is fine in WfW. If I do load the Picture Scan TSR then try WfW I get the error message.
If I then use the ctrl/alt/del and close down DTOle then WfW again works OK without the error message. So to me it seems to be clearly a conflict between DTOle and WfW although DTOle seems to be accessed by Picture Scan executable hpmcscsl.exe.
Rgds Alan
0
dew_associatesCommented:
Okay, maybe we can make some progress another way until I hear from HP. You have Twain and Twain 32 installed to do scans with, correct?  Now WfW stands for Windows for Workgroups and Word for Windows, which are you referring to. I'd like to see if we can take DTOLe out of the startup folder and do a scan from within Word, if you have it. If not, MS has an image scan package that's free that you might ba able to use.
Dennis
0
arwoodAuthor Commented:
Dear Dennis
I mean Word for Windows 97, Sorry. Will try your idea out over the weekend as I have to go to work now
Rgds  Alan
0
dew_associatesCommented:
Okay, when you have time, check out your Word install for scan capabilities.
Dennis
0
arwoodAuthor Commented:
Dear Dennis
Tried to scan into Word with Picture Link Loaded. It worked fine even though I had the usual error message on word startup.
Rgds
Alan
0
dew_associatesCommented:
Arwood, you come up with the some of the toughest questions. Right click on the Start button, then click Open, then Programs then click open the Startup and right click on everything in their and hold and drag the icons out onto your desktop and leave them there. Close all windows and restart the system and then try Word again.
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Microsoft Office

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.