cant call Format Style Dialogbox in Visio 2007

F

faraz

Hi

Im calling Format Style dialogbox from code. The method i called from
visio 2003 control is

VisioApp.DoCmd(VisUICmds.visCmdFormatStyle)

now It doesnt work with Visio 2007 it gives the some interop
exception. but doesnt open any dialogbox.

Any urgent idea whats the problem here.
thanks for the replies.
 
J

JuneTheSecond

I've tryed in VBA and in VB.Net with Drawing Control in Visio2007.
But your code worked well and displayed the style dialog.
 
F

faraz

one thing to mention the drawing control should be 12.0.

If you open Visio 2007 and see that under Format menu, Style item is
not there.!.
 
J

JuneTheSecond

I also tryed in 12.0, and worked well.
Would you tell us more to solve your problem.
 

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