Error initialization on Win 2000 Prof machine with VFP

Knowledge exchange related to the VPE Report Engine and PDF Library

Moderator: IDEAL Software Support

Error initialization on Win 2000 Prof machine with VFP

Postby IDEAL Software Support » Tue Nov 23, 2004 5:10 pm

Hi,

I was wondering if someone could help figure this out. I have a program that works just fine on one Win 2000 Prof and WinXP and Win98. No problem at all. However, on another machine Win 2000 Prof I get the following error:

OLE IDispatch exception code 0 from VpeControl.VpeControl.35:

VPEAX01: The VPE Document is not open. You need to call OpenDoc prior to this operation...

VPEAX01: The VPE Document is not open. You need to call OpenDoc prior to this operation.

The program is written in Visual FoxPro 7.0. The VPE control is placed on a Form. When the form is opened it generates no error. I have tried unregistering and then registering the OCX files many times but no luck.

I would appreciate if someone could help me. Thank you.

Manjit
IDEAL Software Support
 
Posts: 1621
Joined: Thu Nov 18, 2004 4:03 pm

Postby IDEAL Software Support » Tue Nov 23, 2004 5:11 pm

Did you look into the readme file in the vfoxpro directory?

There is written:
>>
To make Visual FoxPro process all VPE events, and to prevent getting
sporadic "OLE Exception Error" messages, you need to set in VFP the
system variable "_VFP.AutoYield = .F."
<<

Regards
Thorsten Radde
IDEAL Software GmbH
IDEAL Software Support
 
Posts: 1621
Joined: Thu Nov 18, 2004 4:03 pm

Postby IDEAL Software Support » Tue Nov 23, 2004 5:11 pm

Yes. But I don't remember if I have this setting in the program. I will
check. Thank you for your help.

Manjit Basra
IDEAL Software Support
 
Posts: 1621
Joined: Thu Nov 18, 2004 4:03 pm


Return to VPE Open Forum

Who is online

Users browsing this forum: No registered users and 15 guests