TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
kobus_2000
NA
14
0
Stopping Excel process inside C#?
Jul 18 2005 5:08 AM
Hi
I am connecting to an Excel workbook using the Microsoft.Jet.OLEDB in a C# windows application.
I create a connection string (OleDbConnection conn = new OleDbConnection(connString);) and manages to open the connection and retrieve data from the workbook into a OleDbDataReader.
At the end of the method I close the connection (using conn.Close()).
In the task manage however I see that EXCEL is stil an active process and I cannot open any of my Excel workbooks until I stop the EXCEL process in the Task Manager.
How will I stop the excel process insede my C# code?
Thanks
Kobus
Reply
Answers (
2
)
Importing in Access pogrammatically?
Inserting data into Excel sheet using sql