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
Cameron
NA
9
0
Excel process remains running after COM has finished
Sep 3 2009 3:07 AM
Hi All
I'm trying to create a program that writes some data to excel and creates a graph. Currently when I am finished with the COM I close it by doing the following:
if (xla != null)
{
xla.Quit();
xla = null; // Ends connection
}
Is this what I should be doing? I don't think it is, as every time I run the program it opens another Excel process that does not close after I have finished with the COM. What should I be doing? Your thoughts and tips are appreciated!
Cameron
Reply
Answers (
3
)
Adding a file to a project
Connecting VB.NET with Excel 2007 & Access 2007