MidnightKat
asked on
Disabling Alert and modal dialog box
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.
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.
ASKER
I open an application in visio
appVisio = CreateObject("Visio.Invisi bleApp")
This creates my invisible application of Visio.
I then have
appVisio.AlertResponse = 7 'where 7 is the value of IDNO
to 'supposedly' set the default value of all alert and modal dialog boxes to 'No'
As for any other code, there is none that controls this function.
appVisio = CreateObject("Visio.Invisi
This creates my invisible application of Visio.
I then have
appVisio.AlertResponse = 7 'where 7 is the value of IDNO
to 'supposedly' set the default value of all alert and modal dialog boxes to 'No'
As for any other code, there is none that controls this function.
ASKER
I open an application in visio
appVisio = CreateObject("Visio.Invisi bleApp")
This creates my invisible application of Visio.
I then have
appVisio.AlertResponse = 7 'where 7 is the value of IDNO
to 'supposedly' set the default value of all alert and modal dialog boxes to 'No'
As for any other code, there is none that controls this function.
appVisio = CreateObject("Visio.Invisi
This creates my invisible application of Visio.
I then have
appVisio.AlertResponse = 7 'where 7 is the value of IDNO
to 'supposedly' set the default value of all alert and modal dialog boxes to 'No'
As for any other code, there is none that controls this function.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Hi MidnightKat,
It appears that you have forgotten this question. I will ask Community Support to close it unless you finalize it within 7 days. I will suggest to:
Accept awetherhold's comment(s) as an answer.
MidnightKat, if you think your question was not answered at all or if you need help, you can simply post a new comment here. Community Support moderators will follow up.
EXPERTS: If you disagree with that recommendation, please post an explanatory comment.
==========
DanRollins -- EE database cleanup volunteer
It appears that you have forgotten this question. I will ask Community Support to close it unless you finalize it within 7 days. I will suggest to:
Accept awetherhold's comment(s) as an answer.
MidnightKat, if you think your question was not answered at all or if you need help, you can simply post a new comment here. Community Support moderators will follow up.
EXPERTS: If you disagree with that recommendation, please post an explanatory comment.
==========
DanRollins -- EE database cleanup volunteer
Comment from expert accepted as answer
Computer101
E-E Moderator
Computer101
E-E Moderator
can u elobrate your Q with code
nikelsh