Problem using the Subject object within the Visio.IVisEventProc i/

K

Keith Roscarel

Hi All,

I'm using the AddAdvise method to include a 'CellChanged' event to a
Document Object. Its ommitted from the standard events due to performance
issues (as per online documentation).

I've set up the Sink event class as per the IVisEventProc interface & tested
a few events that are standard.

In my event sink class I'm trying to address the Subject object, in this
case its passing a cell object reference to coincide with the CellChange
Event. When I refer to the object (e.g. Subject.name), it does a crazy
iteration fromt the start of the Function to the System.name. It seems to
dump the object contents with each iteration. AFter this, execution stops.

I want to be able to access the Cell object in this case.

Looking at the visio sdk examples its a simple cast, but I don't think I
have that luxury in VBA.

Any Ideas??
 
K

Keith Roscarel

I located the extremely comprehensive sink class in the code library in the
sdk. It worked 'out of the box' & has resolved this issue.

Thanks,
keith
 

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