Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / Languages / VB.NET / October 2004

Tip: Looking for answers? Try searching our database.

Excel won't quit.

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Henry Padilla - 21 Oct 2004 20:56 GMT
I have a class that has a member variable for the Excel application object.

I use the object to open a file and do a Workbooks(1).SaveAs ()
I set Workbooks(1).Saved = True
Then I do Workbooks.Close()

In the Finalize method I do a Application.Quit()

Problem is it never leaves memory.  When I look in Task Manager, it's still
there.

How do I actually get Excel to quit?

Henry Padilla
Herfried K. Wagner [MVP] - 21 Oct 2004 21:07 GMT
"Henry Padilla" <padillah@hotmail.com> schrieb:
>I have a class that has a member variable for the Excel application object.
>
[quoted text clipped - 7 lines]
> still
> there.

PRB: Office Application Does Not Quit After Automation from Visual Studio
.NET Client
<URL:http://support.microsoft.com/?scid=kb;EN-US;317109>

Signature

Herfried K. Wagner [MVP]
<URL:http://dotnet.mvps.org/


Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.