Code Comments

Programming Forum and web based access to our favorite programming groups.
For Programmers: Free Programming Magazines | New: Database administration forum
Registration is free! Edit your profileCalendarFind other membersFrequently Asked QuestionsSearch -> 
Post New Thread











Thread
Author

Could not quit MSACCESS.EXE
Hi-

I am trying to create MS access file (.mdb) from the data set with the
following code. Every thing is working fine. But I found the MSACCESS.EXE is
still running in the Task Manager. When ever I run this program new
MSACCESS.EXE is added to task manager. I could not kill the process after I
created the file. I tried all the possible ways and checked with user forums
,
news group and MSDN, but no luck. I would really appreciate if any body can
help.

Access.Application accessData;
accessData = new Access.ApplicationClass();
accessData.NewCurrentDatabase("C:\Test\Test.mdb");
accessData.ImportXML("C:\Test\Test.xml",Access.AcImportXMLOption.acStructure
AndData);

// Quit Access and clean up.
accessData.CloseCurrentDatabase();
accessData.Quit(Access.AcQuitOption.acQuitSaveNone);
Marshal.ReleaseComObject(accessData);
accessData = null;

Thanks!
Ezhil



Report this thread to moderator Post Follow-up to this message
Old Post
Ezhil
12-27-04 08:55 PM


Re: Could not quit MSACCESS.EXE
I think you may want to visit an Access programming group.  This isn't ASP
(Active Server Pages) related.  At least I hope this isn't an ASP snippet...

Ray at work

"Ezhil" <ezhilsundaram@yahoo.com> wrote in message
news:0173D0D5-545F-4FA9-9B52-4A5341897032@microsoft.com...
> Hi-
>
> I am trying to create MS access file (.mdb) from the data set with the
> following code. Every thing is working fine. But I found the MSACCESS.EXE
is
> still running in the Task Manager. When ever I run this program new
> MSACCESS.EXE is added to task manager. I could not kill the process after
I
> created the file. I tried all the possible ways and checked with user
forums,
> news group and MSDN, but no luck. I would really appreciate if any body
can
> help.
>
> Access.Application accessData;
> accessData = new Access.ApplicationClass();
> accessData.NewCurrentDatabase("C:\Test\Test.mdb");
>
accessData.ImportXML("C:\Test\Test.xml",Access.AcImportXMLOption.acStructure
AndData);
>
> // Quit Access and clean up.
> accessData.CloseCurrentDatabase();
> accessData.Quit(Access.AcQuitOption.acQuitSaveNone);
> Marshal.ReleaseComObject(accessData);
> accessData = null;
>
> Thanks!
> Ezhil
>
>




Report this thread to moderator Post Follow-up to this message
Old Post
Ray Costanzo [MVP]
12-27-04 08:55 PM


Re: Could not quit MSACCESS.EXE
Ezhil wrote:

> Access.Application accessData;
> accessData = new Access.ApplicationClass();

There was no way for you to know it, but this is a classic asp newsgroup.
While you may be lucky enough to find a dotnet-savvy person here who can
answer your question, you can eliminate the luck factor by posting your
question to a group where those dotnet-savvy people hang out. I suggest
microsoft.public.dotnet.framework.aspnet.


--
Microsoft MVP - ASP/ASP.NET
Please reply to the newsgroup. This email account is my spam trap so I
don't check it very often. If you must reply off-line, then remove the
"NO SPAM"



Report this thread to moderator Post Follow-up to this message
Old Post
Bob Barrows [MVP]
12-28-04 01:55 AM


Re: Could not quit MSACCESS.EXE
Hi Rai-

I am sorry that i did not give the details about environment. This web
application is developed with ASP.Net (using C#).

"Ray Costanzo [MVP]" wrote:

> I think you may want to visit an Access programming group.  This isn't ASP
> (Active Server Pages) related.  At least I hope this isn't an ASP snippet.
.
>
> Ray at work
>
> "Ezhil" <ezhilsundaram@yahoo.com> wrote in message
> news:0173D0D5-545F-4FA9-9B52-4A5341897032@microsoft.com... 
> is 
> I 
> forums, 
> can 
> accessData.ImportXML("C:\Test\Test.xml",Access.AcImportXMLOption.acStructu
re
> AndData); 
>
>
>
>

Report this thread to moderator Post Follow-up to this message
Old Post
Ezhil
12-28-04 01:55 AM


Re: Could not quit MSACCESS.EXE
Bob-

I am sorry, some how i got  with asp and asp.net groups. Thanks for
you suggestion. I will post query asp.net groups.

Thanks!
Ezhil

"Bob Barrows [MVP]" wrote:

> Ezhil wrote:
> 
>
> There was no way for you to know it, but this is a classic asp newsgroup.
> While you may be lucky enough to find a dotnet-savvy person here who can
> answer your question, you can eliminate the luck factor by posting your
> question to a group where those dotnet-savvy people hang out. I suggest
> microsoft.public.dotnet.framework.aspnet.
>
>
> --
> Microsoft MVP - ASP/ASP.NET
> Please reply to the newsgroup. This email account is my spam trap so I
> don't check it very often. If you must reply off-line, then remove the
> "NO SPAM"
>
>
>

Report this thread to moderator Post Follow-up to this message
Old Post
Ezhil
12-28-04 01:55 AM


Sponsored Links




Last Thread Next Thread Next
Search this forum -> 
Post New Thread

ASP archive

Show a Printable Version Send to friend Email This Page to Someone! subscribe to this thread Receive updates to this thread
Computer Consultants
Programming Jobs
Visual Basic Controls
SQL Server Programming
Webservices
Java Security
Visual Studio
C# Programming
Visual J++
Software engineering
Open source Software
Perl Programming
PHP Programming
ASP Programming
ASP .NET Programming
Visual Basic Programming
Windows Scripting Host
Java Programming
Java Help
Java Beans
VBScript
Cobol
MAC Applications
Unix Programming
Forum Jump:
All times are GMT. The time now is 08:22 AM.

 
Free MCSE Braindumps | Real Estate Topics

Programming forum archive

Copyrights CodeComments.com 2004 - 2006

Powered by vBulletin Copyright 2000-2006 Jelsoft Enterprises Limited.