Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Running Microsoft Excel from VFP
Message
From
28/12/1997 09:34:29
Vinod Parwani
United Creations L.L.C.
Ad-Dulayl, Jordan
 
 
To
28/12/1997 00:14:01
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00067923
Message ID:
00068138
Views:
37
>>>>In my reporting section, I'm giving a option of transferring reports to excel..
>>>>
>>>>Here, I am simply redirecting the output to a txt file and then starting excel with the txt file name as the command line parameter...
>>>>
>>>>I have questions for the same :-
>>>>
>>>>1. Is there any way I can retrieve the Path of Microsoft Excel, so I can provide it in the run parameter..
>>>>as on every machine it is not sure that its installed in same dir..
>>>>
>>>>2. Is there any better way to do this whole thing...
>>>Check for OLE automationin help and solutions sample and createobject, getobject etc.
>>>Cetin
>>
>>Pls note that I'm Using VFP 3.0b, Can u pls tell me where is the example given for Excel ??
>And an addition here. You don't need to know the path to Excel, registry knows it. Just create or get your object. If you fail there then Excel is not installed (at least correctly).

Thanks a lot..

I will try your suggestion..

Will it work for both ( I mean win 3.1 & win 95) ??
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform