G
Gary Shell
I use the following code to open a Cross-functional Flowchart stencil. This
immediately pops up a dialog box asking the user to indicate orientation and
number of swimlanes. My VB.NET app does not receive control back until AFTER
the user has clicked the OK box on the dialog box. I wanted to automate
that, but can't figure out how to get control back in my app right after
executing the Me.AxDrawingControl1.SRC property set.
Can any one suggest a way to accomplish this?
Gary
AppVisio = Me.AxDrawingControl1.Document.Application
'tell Visio to click OK to the dialog box
AppVisio.AlertResponse = 1
Me.AxDrawingControl1.Src = "Cross-functional Flowchart.vst"
immediately pops up a dialog box asking the user to indicate orientation and
number of swimlanes. My VB.NET app does not receive control back until AFTER
the user has clicked the OK box on the dialog box. I wanted to automate
that, but can't figure out how to get control back in my app right after
executing the Me.AxDrawingControl1.SRC property set.
Can any one suggest a way to accomplish this?
Gary
AppVisio = Me.AxDrawingControl1.Document.Application
'tell Visio to click OK to the dialog box
AppVisio.AlertResponse = 1
Me.AxDrawingControl1.Src = "Cross-functional Flowchart.vst"