Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
VFPCOM Examples
Message
From
08/07/1999 08:08:25
 
General information
Forum:
Visual FoxPro
Category:
Other
Title:
Miscellaneous
Thread ID:
00238726
Message ID:
00238759
Views:
11
>Hello All,
>does anyone have a real life example of using the new VFPCOM utility, is it only useful for WEB apps?
>
>Regards
>
>Pete

No. Look at the ExportEvents and BindEvents. Try this:

oUtil = CreateObject("VFPCom.Util")
oExcel = CreateObject("Excel.Application")
oUtil.ExportEvents(oExcel, "Excel.txt")

You can now have access to the events in Excel. You can do the same with Word, Powerpoint, and many other applications. Once you have the events, you can use BindEvents to get access to them.
Craig Berntson
MCSD, Microsoft .Net MVP, Grape City Community Influencer
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform