Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
VFPCOM Examples
Message
From
08/07/1999 14:08:26
 
 
To
08/07/1999 08:08:25
General information
Forum:
Visual FoxPro
Category:
Other
Title:
Miscellaneous
Thread ID:
00238726
Message ID:
00239010
Views:
12
>>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.

In addition, there are methods to move data into and out of ADO recordsets, which cna be used outside of web apps as well.
EMail: EdR@edrauh.com
"See, the sun is going down..."
"No, the horizon is moving up!"
- Firesign Theater


NT and Win2K FAQ .. cWashington WSH/ADSI/WMI site
MS WSH site ........... WSH FAQ Site
Wrox Press .............. Win32 Scripting Journal
eSolutions Services, LLC

The Surgeon General has determined that prolonged exposure to the Windows Script Host may be addictive to laboratory mice and codemonkeys
Previous
Reply
Map
View

Click here to load this message in the networking platform