C
Cap Kirk
I am developing a program en VB6 that extracts data from ACCESS and fills in
an EXCEL. While developing it, if the program crashes, it leaves behind an
open instance of EXCEL, which then I have to kill by hand, else the program
does not run.
Since it is at development and debugging time, I need to know how to detect
if there is an open instance of EXCEL and kill it, while loading the VB6
form. There will ALWAYS be only one instance of EXCEL open. So I can correct
the error causing the crash and just restart the program.
Any help will be welcome. Tnk You in advance
an EXCEL. While developing it, if the program crashes, it leaves behind an
open instance of EXCEL, which then I have to kill by hand, else the program
does not run.
Since it is at development and debugging time, I need to know how to detect
if there is an open instance of EXCEL and kill it, while loading the VB6
form. There will ALWAYS be only one instance of EXCEL open. So I can correct
the error causing the crash and just restart the program.
Any help will be welcome. Tnk You in advance