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

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • sheenutech
    New Member
    • Nov 2007
    • 1

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

    Hello,

    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::_Applica tionPtr m_ptrExcel;
    if (m_ptrExcel)
    {
    m_ptrExcel->Quit();
    }
    m_ptrWrkbkFA = 0;
    m_ptrWrkshEDV = 0;
    m_ptrRangeCelsE DV = 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
  • debasisdas
    Recognized Expert Expert
    • Dec 2006
    • 8119

    #2
    Question moved to Misc Questions Section.

    Comment

    • bartonc
      Recognized Expert Expert
      • Sep 2006
      • 6478

      #3
      Although, this may be more of a question for the Visual Basic Forum.

      Comment

      Working...