LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #7   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 5,600
Default Application Quit does not work at all

Ensure you release all references in the order created before, eg to
worksheet, workbook etc, then the release application reference after doing
..Quit

Another reason the instance may remain open is if any user dialogs are open
pending a response, eg "do you want to save...". Until you have sorted
things out make the instance visible before closing it. If you can't then
close it manually that'll confirm you still have a reference attached.

Regards,
Peter T

"Hardik Soni" wrote in message
...


Hi I use MFC Visual C++ 4.2.

I am automating Excel from my application.

My problem is I cannot quit the Excel after the automation process
finished!

I checked it still exists on the Process lists and the most DANGEROUS is
everytime the automation function run, it create other Excel and so on.
So it
must be out of memory soon.

I have used the app.Quit() method like all the people used but it DOES
NOT
work.

What should I do?

Even I try to use the kill process but still no benifit

*** Sent via Developersdex http://www.developersdex.com ***



 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
difference application.quit & application.close Pierre via OfficeKB.com[_2_] Excel Programming 4 November 8th 05 07:55 PM
Application.Quit bawahoo[_2_] Excel Programming 2 October 14th 04 08:33 PM
macro to close excel application other than application.quit mary Excel Programming 1 September 14th 04 03:43 PM
application.quit will not shut off application john Excel Programming 0 January 9th 04 11:29 PM
Quit Application Robert Black Excel Programming 1 July 31st 03 04:15 PM


All times are GMT +1. The time now is 10:11 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"