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.
 
Top