Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Reporting using Excel, Excel remains open
Message
From
13/03/2003 15:43:07
 
 
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Miscellaneous
Thread ID:
00765514
Message ID:
00765571
Views:
22
>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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform