Dim objWP As Object
Set objWP = CreateObject("WordPerfect.PerfectScript")
objWP.AppRestore
objWP.AppMaximize
objWP.FileOpen "c:\test\abc.wpd", 4
objWP.Quit
Set objWP = Nothing
Periodically, after the file opens in WP8, I get the following error
message: CIWIN:WTransport: callwp8.exe - Application error. The
instruction at "0x7800cb04" referenced memory at "0x0149075a". The
memory could not be "read".
The system I have is a Windows NT 4.0, WP8 (SP7), VB(SP4). I have also
got the same message to happen on a Windows 95 system.
I even tried calling a WP8 macro to open a file using:
objWP.MacroFilePlay "C:\test\opendoc.wcm"
but I received the same message.
Am I missing something in VB that I should be doing??
Thanks!
--
Brian Cecava
Ameritas Life Insurance Corp.
http://www.ameritas.com