>I have tried to use VFPCOM with outlook and BINDEVENTS, EXPORTEVENTS etc work. But when I created an EXE OLE SERVER, which had a class marked as OLE PUBLIC I was able to create an instance of this server but could not get BINDEVENTS, EXPORTEVENTS etc to work.
>
>Are these VFP COM servers NOT real servers or am I doing something wrong?
>
>EXPORTEVENTS produces no prg and returns 1000 as error
>BINDEVENTS gives OLE ERROR - No such interface supported...
>
>Similar code using OUTLOOK as the server works fine.
>
>Any ideas?
>
>Bernard
Bernard, VFP natively cannot raise the events which is the reason that no events are exposed from the VFP OLE server.
Nick Neklioudov
Universal Thread Consultant
3 times Microsoft MVP - Visual FoxPro
"I have not failed. I've just found 10,000 ways that don't work." - Thomas Edison