Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
OLE and WordPerfect 7
Message
From
01/11/1996 15:27:21
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Other
Title:
OLE and WordPerfect 7
Miscellaneous
Thread ID:
00011274
Message ID:
00011274
Views:
71
I am having a problem using OLE automation from VFP 3.0 to WordPerfect 7. Everytime I try to do anything in WP after I create the object, I get the following error:

VFP caused a invalid page fault in module KERNAL32.DLL...

WP is then left in a wierd macro state, and cannot be shutdown normally. I can duplicate the error with the following four lines of code.

Public x
x=CreateObject("WordPerfect.PerfectScript")
x.FileNew
x.Quit

I have been able to get OLE automation to work on MS Word, and MS Schedule+, so I am stumped on this one.

Help!!
Reply
Map
View

Click here to load this message in the networking platform