Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to start Excel with a speific file in VFP?
Message
From
30/03/2000 23:45:32
 
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Miscellaneous
Thread ID:
00353059
Message ID:
00353094
Views:
15
>I want to click a buttom to lunch Excel with a excel document which a get from getfile().

You could use ShellExecute and not use OLE Automation:

DECLARE INTEGER ShellExecute IN "Shell32.dll" LONG, STRING, STRING, STRING, STRING, LONG
?ShellExecute(0,"Open","myexcelfile","","",0)
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform