QueryInterface Failed

F

Francis B.

Hi!
In one of my base classes, I have a function which receive a callback from
another application. In this function, I would like to access
Excel.Application object but I receive an exception: QueryInterface for
interface Excel._Application failed.
If my class were inherited from Windows.Forms, I could use BeginInvoke
function. So I would like to know a way to access Excel.Application object
in my callback function.

Build with C# for Excel Object 9.0 (Excel 2000).

Thanks in advance!
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top