Access Automation: Process won't quit
- From: arT le Vark <arT le Vark@xxxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Mon, 13 Oct 2008 15:17:01 -0700
I'm saving a report to pdf from ASP.NET using this code:
Access.Application myAccessInstance = new Access.Application();
myAccessInstance.OpenCurrentDatabase("c:\\bugtest.accdb", true, "");
myAccessInstance.DoCmd.OutputTo(Access.AcOutputObjectType.acOutputReport,
"Overzicht", Access.Constants.acFormatPDF,
"c:\\Inetpub\\wwwroot\\AccessTest\\overview.pdf", false, null, null);
myAccessInstance.CloseCurrentDatabase();
myAccessInstance.Quit(Access.AcQuitOption.acQuitSaveNone);
Marshal.FinalReleaseComObject(myAccessInstance);
myAccessInstance = null;
After the quit the MSACCES process is still running.
(I have read: http://support.microsoft.com/default.aspx?scid=kb;en-us;317109)
How can I stop this process?
.
- Prev by Date: Re: how to create a Net assembly as replacement for existing COM c
- Next by Date: RE: Passing an array from a VB.NET COM component to ASP
- Previous by thread: MarshalAs and DllImport
- Next by thread: COM Interop application hangs
- Index(es):
Loading