Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Application error calling WP8 from VB

3 views
Skip to first unread message

Brian Cecava

unread,
Nov 27, 2000, 3:00:00 AM11/27/00
to
I have a test VB app (callwp8.exe) that calls WP8 and opens a document.
Here is the code:

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

0 new messages