Word 2000 Illegal Operation

R

Ron

Using Word 2000 on Windows98. The following VB6.0 code
gives 'This program has performed an illegal operation"
message:

Dim oWordApp as Word.Application
Set oWordApp = New Word.Application

I've referenced the MSWord 9.0 object library.

The same code works ok for Word 2002 and 2003 on XP (with
the appropriated library references).

Any ideas? Thanks.
 

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