How to get an IDispatch Pointer from the OLEObject?

A

Andriy Krantvays

We embed an Excel.Worksheet in a Visio Drawing and

we want to get an IDispatch pointer from the OLEObject.

If we use OleObject.Object, we get an Exception.

How can we get an IDispatch Pointer from the OLEObject?

Thanks.
 
D

DLRdave

Andriy said:
How can we get an IDispatch Pointer from the OLEObject?

Have you tried opening the Exel embed first before making this call? Is
Excel installed and working properly on the machine where you are
trying to get the OLEObject...?
 

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