Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Reporting using Excel, Excel remains open
Message
From
13/03/2003 15:54:11
 
 
To
13/03/2003 15:43:07
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Miscellaneous
Thread ID:
00765514
Message ID:
00765576
Views:
28
>>In every system I've ever used that did this, just releasing the variable leaves an instance of Excel running in Task Manager. Try doing several of these in a row and see what happens.
>
>
>hmmm, i tried the following and it ereleases every instance:
>oleexcel = CREATEOBJECT("Excel.application")
>oleexcel1 = CREATEOBJECT("Excel.application")
>oleexcel2 = CREATEOBJECT("Excel.application")
>oleexcel3 = CREATEOBJECT("Excel.application")
>release ;
>   oleexcel, ;
>   oleexcel1, ;
>   oleexcel2, ;
>   oleexcel3
>
They hang around fro me if you actually DO anything with them. Just creating and releasing they do go away. XP/SP1 and Excel2K2.
Fred
Microsoft Visual FoxPro MVP

foxcentral.net
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform