H
Heiko Kemnitzer
Hi.
I've got a problem using a DoCmd in a Queuemarkerevent... Sounds crazy? Here
is the situation. I'm programming in VB.NET and I'd created a COM-AddIn for
Visio. The communication between Visio and VB.NET goes via Queuemarkerevents.
Now - my propblem: I will use the standard functionality "Search by Type" in
Visio. But before the dialog will come up, I want to proof some statements
and so I'm not using the DoCmd by generating my custom toolbar. I'm using the
Queuemarkerevent, check some things and if it's OK, start the dialog "Search
by Type" by calling with
VisioApplication.DoCmd _
(Microsoft.Office.Interop.Visio.VisUICmds.visCmdEditSelectSpecial)
The dialog comes up, but as I will press the cancel-button I'm getting an
error, says "cancel" ??
Has anybody had an other problem like this? Is this a Bug in Visio? Or
should I use the DoCmd while creating the toolbar? Other DoCmds are working
fine.
Thanks a lot for helping.
I've got a problem using a DoCmd in a Queuemarkerevent... Sounds crazy? Here
is the situation. I'm programming in VB.NET and I'd created a COM-AddIn for
Visio. The communication between Visio and VB.NET goes via Queuemarkerevents.
Now - my propblem: I will use the standard functionality "Search by Type" in
Visio. But before the dialog will come up, I want to proof some statements
and so I'm not using the DoCmd by generating my custom toolbar. I'm using the
Queuemarkerevent, check some things and if it's OK, start the dialog "Search
by Type" by calling with
VisioApplication.DoCmd _
(Microsoft.Office.Interop.Visio.VisUICmds.visCmdEditSelectSpecial)
The dialog comes up, but as I will press the cancel-button I'm getting an
error, says "cancel" ??
Has anybody had an other problem like this? Is this a Bug in Visio? Or
should I use the DoCmd while creating the toolbar? Other DoCmds are working
fine.
Thanks a lot for helping.