Read Excel & run stored proc  Topic is solved

Discussions relating to plugin development, and the Jiwa API.

Re: Read Excel & run stored proc

Postby DannyC » Wed Dec 03, 2014 2:14 pm

Hi,

This little Excel-loading plugin is working a treat, but it seems to leave Excel running in the background of Windows. I need to load Task Manager & kill the Excel.exe process.
I am sure there must be something I need to close once the the plugin has completed.
Suggestions?

Cheers

Danny
User avatar
DannyC
Senpai
Senpai
 
Posts: 636
Joined: Fri Mar 22, 2013 12:23 pm
Topics Solved: 30

Re: Read Excel & run stored proc

Postby Mike.Sheen » Wed Dec 03, 2014 7:32 pm

DannyC wrote:Hi,

This little Excel-loading plugin is working a treat, but it seems to leave Excel running in the background of Windows. I need to load Task Manager & kill the Excel.exe process.
I am sure there must be something I need to close once the the plugin has completed.
Suggestions?

Cheers

Danny


Hi Danny,

Try calling the Quit method of the excel object when you are finished with it - i.e.:

Code: Select all
excel.Quit()


Mike
Mike Sheen
Chief Software Engineer
Jiwa Financials

If I do answer your question to your satisfaction, please mark it as the post solving the topic so others with the same issue can readily identify the solution
User avatar
Mike.Sheen
Overflow Error
Overflow Error
 
Posts: 2444
Joined: Tue Feb 12, 2008 11:12 am
Location: Perth, Republic of Western Australia
Topics Solved: 756

Previous

Return to Technical and or Programming

Who is online

Users browsing this forum: No registered users and 5 guests

cron