Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
VFP and Excel...
Message
From
28/02/2002 07:37:57
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
 
 
To
27/02/2002 23:23:30
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Miscellaneous
Thread ID:
00626165
Message ID:
00626300
Views:
15
>Hi everyone... now I have done some research on this but do not quite have the answer I am looking for from FAQ and other threads....
>
>I have a user pulling some data in a very cut down version of my app (VFP 6.0). Once the data is pulled, and put into an excel spreadsheet, the user then wants to open excel and play around... but, CLOSE the calling VFP app as well... so, what is the best way to do this without leaving any dangling objects, etc...??
>
>TIA
>
>Ric

Ric,
You could createobject() do whatever you want, set excel to visible and quit VFP.
However if you don't need an object ref. to work within excel before making it visible I'd choose ShellExecute() launching excel and quit.
Cetin
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform