>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