Disabling Alert and modal dialog box
Posted on 2001-06-19
My program opens up another application (Visio), and makes it invisible. The actions I perform in the
application cause an alert and modal dialog box to appear and prompt the user to answer a yes or no
question. I need to set the answer to NO programatically. VB says the AlertResponse property will accomplish
this. However, the line of code
appVisio.AlertResponse = 7 'where 7 is the value of IDNO
fails to work properly. Does anyone know how I can make this work? Thanks in advance.