Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to start Excel with a speific file in VFP?
Message
From
31/03/2000 00:31:13
 
 
To
30/03/2000 23:45:32
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Miscellaneous
Thread ID:
00353059
Message ID:
00353120
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)


Better make sure you have an extension on that excel file, Mike, or Windows won't know what to do with it...
Erik Moore
Clientelligence
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform