r/vbscript • • Sep 03 '22
This place is probably dead by now but..
I learned how to make an error message.
Then I learned how to make an error message pop up after the error message.
So how do I make a different error message pop up depending on what button you click for the first one? EG "Do you like cookies?" Yes = "Good, you're off the hook" No = "You're going to jail"
2
Upvotes
1
u/hackoofr Sep 08 '22 edited Sep 08 '22
2
u/BondDotCom Sep 04 '22
1
u/NaoPb Sep 03 '22
I would try to do an if statement. Case statements might also work.
1
u/jcunews1 Sep 04 '22
Check the return value of the
MsgBox()function, the use eitherif..then..elseif, orselect case.1
u/JGN1722 Sep 04 '22
Use the return value of the msgbox function, 6 if the users clicks yes and 7 if he clicks no
And this place is not dead at all, it's even still growing, slowly but surely ! You can always come here to ask your questions ;-)