new Excel.Application

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • myname

    #1

    new Excel.Application

    Hello,

    in order to generate Excel files from my VB.Net applications,
    I often us "dim xl as new Excel.Applicati on".

    When I'm done, I use xl.Quit().

    Unfortunately, sometimes, for some reasons,
    some Excel instances remain in memory,
    even when my program is closed.

    How can I make sure all Excel objets are closed ?


  • Herfried K. Wagner [MVP]

    #2
    Re: new Excel.Applicati on

    "myname" <nospam@ihatesp am.comschrieb:
    in order to generate Excel files from my VB.Net applications,
    I often us "dim xl as new Excel.Applicati on".
    >
    When I'm done, I use xl.Quit().
    >
    Unfortunately, sometimes, for some reasons,
    some Excel instances remain in memory,
    even when my program is closed.
    PRB: Office Application Does Not Quit After Automation from Visual Studio
    ..NET Client
    <URL:http://support.microso ft.com/?scid=kb;EN-US;317109>
    -"Troubleshootin g"

    --
    M S Herfried K. Wagner
    M V P <URL:http://dotnet.mvps.org/>
    V B <URL:http://classicvb.org/petition/>

    Comment

    Working...