Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Calling VFP EXE From Excel Macros
Message
From
10/06/2003 08:02:16
 
 
To
09/06/2003 22:06:30
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Miscellaneous
Thread ID:
00798187
Message ID:
00798295
Views:
23
>Hi Everyone,
>
>How do a make a macros to call a VFP .exe file... I have a small .exe file which moves files around and I want the user to be able to access the 'shortmove.exe' file from an Excel Spreadsheet Macros...
>

Another possibility is to build your VFP code as a DLL and instantiate it as a COM object:

SET oVFP = CreateObject("YourVFPDLL.YourObject")
oVFP.YourMethod()
SET oVFP = Nothing

Tamar
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform