473,394 Members | 1,879 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,394 software developers and data experts.

excel application does not shut down after program exit

G.D
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 hel

Jul 21 '05 #1
1 1907
Try calling System.Runtime.InteropServices.Marshal.ReleaseComO bject on your
excel objects before setting them to null.

"G.D" <an*******@discussions.microsoft.com> wrote in message
news:DD**********************************@microsof t.com...
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

Jul 21 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

6
by: David Gerstman | last post by:
I've written an application for reading information from a spreadsheet and allowing the user to add and update information in the spreadsheet. One spreadsheet I accessed in this fashion is now...
0
by: GRE Technical Support | last post by:
Thank you for your inquiry to the ETS GRE PowerPrep technical support team. We did receive your message and will get back to you as soon as possible. Our hours of operation are Monday through...
12
by: elziko | last post by:
I'm using late binding (I must) to automate Excel. My code opens Excel after createing and poulating some sheets. My problem is that when the user finally decides to close Excel its process is...
1
by: G.D | last post by:
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...
7
by: Alain \Mbuna\ | last post by:
Hi everybody. In my program I have some data that is calculated after some input from the user. I have written some code that opens an Excel workbook, with 5 worksheets and the calculated data...
2
by: John F | last post by:
Hello All, I have an app that I call a Login form in. I have 2 buttons on the login form. 1 passes back OK and the other Cancel. When I click cancel, I simply want to catch it in the main app...
4
by: Markus Stoeger | last post by:
Hi, I have a problem with Application.Run() when Windows is shutting down. Please have a look at the copy&paste example program below. The application has no forms. It has only got a notify...
6
sashi
by: sashi | last post by:
Shut down Windows For various reasons you may require a shut down of Windows to happen programmatically. For instance if the installation of your program requires system reconfiguration. The...
10
by: Hendri Adriaens | last post by:
Hi, I'm trying to automate the creation of an excel file via COM. I copied my code below. I read many articles about how to release the COM objects that I create. The code below runs just fine...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.