winword (mso9.dll) crashes under ole control

J

John Davy

I have a problem at one of my clients running my vfp6 app on xp home and
calling winword8 (office 2000)

They were running with no problems under win 2000 - their tech just did an
upgrade.
The document is a mail merge document and I provide a button that allows
them to view & edit the document (code snippet below)
word opens and then crashes after about 5 seconds with fatal error message
If I try again - winword doesn't even open & I get the fatal error message
followed by a vfp error 1426

I can close my application & open the documents in word with no problems

The client has no antivirus software loaded - but does a scan from 'trent
microsystems' (internet site that scans your system) each week

However I was able to find several references to this application error in
the application event log:-

Faulting application winword.exe, version 9.0.0.3822, faulting module
mso9.dll, version 9.0.0.3821, fault address 0x00081c2a.

But cannot find any help on the knowledgebase that would fit the clients
situation

Where should I start to look for a solution to this problem?

Thanks,
John



**************
if file(cDocument)
oW = createobject("word.application")
oDoc = oW.documents.open(cDocument)
else
return
endif

if type("oDoc") # 'O'
ow.quit(.f.)
release oW
return
endif

ow.visible = .t.

** wait for word to be closed by users
do while type("ow.visible") = 'L'
if isnull(ow)
exit
endif
enddo

release oDoc
release oW
******
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top