Link to home
Create AccountLog in
Avatar of abgtemp
abgtempFlag for United States of America

asked on

Bring VBscript Message Box to the front

I am using the following code that opens a VB message box. The issue that I have is that the message never comes to the front. Is there a way to make this box come to the front / always on top?
intAnswer = _
    	Msgbox("Do you want to Run this script again?", _
        vbYesNo,"Run Again")
 
	If intAnswer = vbYes Then
    		'Do something
 
	Else
		'Do something
    		wscript.quit
End If

Open in new window

ASKER CERTIFIED SOLUTION
Avatar of abgtemp
abgtemp
Flag of United States of America image

Link to home
membership
Create a free account to see this answer
Signing up is free and takes 30 seconds. No credit card required.
See answer