Programmatically Simulate the Connector Tool Functionality with Visio 2003 Active X

D

Denis Zavadil

I've ported a Visio 2002 VBA application to VB.NET 2003 utilizing the new
Active X control. I prefer not to incorporate the native Visio Toolbars in
the solution. I have a need to use the Dynamic Connector functionality as
provided by the Native Visio Toolbar Connector Tool. Is there a property
exposed through the Active X component which allows this functionality to be
turned on and off programmatically?
 
D

Denis Zavadil

Thanks Mai Lan, that works great!

I've a problem in that the SelectionDeleteCanceled event does not fire when
I cancel a deletion by setting True in the
QueryCancelSelectionDelete event within the Active X control. This does
work properly in VBA for 2003.

Is this a known bug? If so, is there a recommened fix or work around?
 
M

Mai-lan [MS]

Denis, can I confirm what version of VS you are using? It is a known issue
that QueryCancel events don't work with Visual Studio 7.0 (VS.NET) but this
problem is fixed in Visual Studio 7.1 (VS.NET 2003). The problem with VS 7.0
is that you can't cancel an event and so a cancelled event never fires.

Which version are you using?

Thanks,
Mai-lan
 
D

Denis Zavadil

Hi Mai-lan,

I'm Using: Miscrosoft Development Environment 2003 - Version 7.1.3088
Microsoft .NET Framework 1.1 - Version 1.1.4322
Microsoft Office Visio Profressional (11.3216.5606)
 
M

Mai-lan [MS]

Hi, Denis: Sorry for the late response. We've tried reproing this several
times on our end and have not been able to recreate your bug. If you can
post your code, we can work with your code to see the problem.

Thanks,
Mai-lan
 

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