470,594 Members | 1,468 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 470,594 developers. It's quick & easy.

WindowsXP: Excel closed still Excel.EXE running under Process Window of Task Manager


I am using Excel 2002 in my code. Where I open, load all the necessary data and then close Excel from VC++ code. I am using following piece of code to finally quiting Excel.

Excel::_ApplicationPtr m_ptrExcel;
if (m_ptrExcel)
m_ptrWrkbkFA = 0;
m_ptrWrkshEDV = 0;
m_ptrRangeCelsEDV = 0;
m_ptrExcel = 0;

Problem: After execution of above line Excel is closed physicall and goes away from Applications List of Task Manager. But, I can still see Excel.exe running under process list of task manager.

Could you please help me, what should i do to remove it from the process list as soon as it is removed from Application List.

Thanks in advance
Sheeu Tech
Nov 2 '07 #1
2 2061
8,127 Expert 4TB
Question moved to Misc Questions Section.
Nov 3 '07 #2
6,596 Expert 4TB
Although, this may be more of a question for the Visual Basic Forum.
Nov 3 '07 #3

Post your reply

Sign in to post your reply or Sign up for a free account.

Similar topics

12 posts views Thread by elziko | last post: by
2 posts views Thread by Powerguy | last post: by
4 posts views Thread by Mr.Doubt | last post: by
8 posts views Thread by SteveS | last post: by
reply views Thread by liam_jones | last post: by
7 posts views Thread by =?Utf-8?B?VGVycnkgSG9sbGFuZA==?= | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.