Solved

Close Microsoft Access from C# Console Application

Posted on 2008-10-28
1
338 Views
Last Modified: 2013-12-17
I have a C# console application which I want to close MS Access (and the open database) if it is open.  I would like the application to close nicely, not kill the process.

How do I do this?

Thanks!
0
Comment
Question by:Orcadian
1 Comment
 
LVL 8

Accepted Solution

by:
mkosbie earned 500 total points
Comment Utility
0

Featured Post

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
Access 2010 ComboBox Requery Not Working 17 24
Access Date Query 28 27
Calling stored proc in EDMX 11 17
Max per month 3 12
Regardless of which version on MS Access you are using, one of the harder data-entry forms to create is one where most data from previous entries needs to be appended to new records, especially when there are numerous fields and records involved.  W…
Describes a method of obtaining an object variable to an already running instance of Microsoft Access so that it can be controlled via automation.
In Microsoft Access, when working with VBA, learn some techniques for writing readable and easily maintained code.
With Microsoft Access, learn how to start a database in different ways and produce different start-up actions allowing you to use a single database to perform multiple tasks. Specify a start-up form through options: Specify an Autoexec macro: Us…

762 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

8 Experts available now in Live!

Get 1:1 Help Now