How to Disable Page Off Reference dialog Box during automation

G

Gideon

C# Program trys to drop from stencil Basic Flowchart (US Units).vst
Page-off reference Shape then Popup Dialog named Page-off reference
blocks program automation
How I can dismiss this dialog?
 
P

Paul Herber

C# Program trys to drop from stencil Basic Flowchart (US Units).vst
Page-off reference Shape then Popup Dialog named Page-off reference
blocks program automation
How I can dismiss this dialog?

Use Sendkeys to send an enter key to close the dialog. Google for
"Visio Sendkeys".
 
R

Roger G

Gideon said:
C# Program trys to drop from stencil Basic Flowchart (US Units).vst
Page-off reference Shape then Popup Dialog named Page-off reference
blocks program automation
How I can dismiss this dialog?

You can also use the referecne to the stencil and type
stencil.Application.AlertResponse = 1
Don't forget to set it back to 0 when automation is done.
 

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