Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
EVENTHANDLER fails, VFPCOM Succeeds ?
Message
From
19/07/2004 08:54:07
Walter Meester
HoogkarspelNetherlands
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Title:
EVENTHANDLER fails, VFPCOM Succeeds ?
Miscellaneous
Thread ID:
00925715
Message ID:
00925715
Views:
83
Hi all,

When I moved from Crystal reports 8.5 to 10.0 I used the EVENTHANDLER() to map the format event to be able to change pictures at runtime. Though this work perfectly for 8.5 the eventhandler function fails for CR 10.0

Trying to do the same with the VFPCOM utility from KenL it succeeds. I'm really stumped here.
I suspected it to be in the IMPLEMENTS CLAUSE but all I changed was


IMPLEMENTS ISectionEvent IN "CrystalRuntime.Application.8.5"
into
IMPLEMENTS ISectionEvent IN "CrystalRuntime.Application.10.0"

I'm using VFP8. When I use Cr 8.5 everything works find, but in Cr 10.0 the EVENTHANDLER function fails. The object model of the section event does not seem to be changed, so it cannot be that.

The sad thing is that the EVENTHANDLER() functions does not return a descriptive error why it has failed.

Any clues, suggestions ?

Walter,
Reply
Map
View

Click here to load this message in the networking platform