Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
hi
i create an excel application (MS Excel 2000 installed) in vb.net. At the end, i close all workbook and quit from excel aplication. I also set them nothing and call garbage collection. But excel application does not end, stays resident in memor so my applications gives memory error. Thanks for your help |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
I haven't used VB.Net other than to explore its capabilities. So, I
don't know if this applies in your case. One cause is a 'global' reference to an XL object. Suppose you have a reference set to the XL application. Then, you can use a statement such as Range("A1").Value=1 (i.e., without qualifying it with an object such as xlApp.). While possible, it results in a reference established from the controlling app to the controlled app. Consequently, the controlled app cannot go away as long as the controller is active. One way to find the problem is to test with late binding. Then, unqualified references will result in compile errors. -- Regards, Tushar Mehta www.tushar-mehta.com Excel, PowerPoint, and VBA add-ins, tutorials Custom MS Office productivity solutions In article , says... hi, i create an excel application (MS Excel 2000 installed) in vb.net. At the end, i close all workbook and quit from excel aplication. I also set them nothing and call garbage collection. But excel application does not end, stays resident in memory so my applications gives memory error. Thanks for your help |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
How can I exit a workbook in Excel without closing the program? | Excel Discussion (Misc queries) | |||
Excel 2003 - the "X" to exit the application option is greyed out. | Excel Discussion (Misc queries) | |||
application.quit will not shut off application | Excel Programming | |||
Messgae Box on Exit Application | Excel Programming | |||
get the program id of an excel application from the task manager | Excel Programming |