[code help] VBscript InputBox Cancel If Statement - Printable Version +- Support Forums (https://www.supportforums.net) +-- Forum: Categories (https://www.supportforums.net/forumdisplay.php?fid=87) +--- Forum: Coding Support Forums (https://www.supportforums.net/forumdisplay.php?fid=18) +---- Forum: Visual Basic and the .NET Framework (https://www.supportforums.net/forumdisplay.php?fid=19) +---- Thread: [code help] VBscript InputBox Cancel If Statement (/showthread.php?tid=17886) |
[code help] VBscript InputBox Cancel If Statement - Resistance - 04-10-2011 I posted this thread on HF, VBForums and now SF. And I highly doubt anybody can help me, but that would be miraculous. Does anybody know how to use result of if the user canceling the InputBox, or Xing it out? Like this: Code: Dim objShell But clearly that code wouldn't work. Still not understanding? Check this out: The code for the picture above: Code: If MsgBox("Cancel the current operation?", MsgBoxStyle.YesNo) = MsgBoxResult.Yes Then You see what I am getting at? Please help me, I do not specialize in MessageBoxes in VB. The ANSWER TO THIS ALL: RE: [code help] VBscript InputBox Cancel If Statement - KoBE - 04-10-2011 Saw that you got you thread answered on HF. You might post the code on here in case someone on SF wants to know this as well. RE: [code help] VBscript InputBox Cancel If Statement - Resistance - 04-10-2011 (04-10-2011, 03:00 PM)KoBE Wrote: Saw that you got you thread answered on HF. You might post the code on here in case someone on SF wants to know this as well. Yeah plus rep the guy for me by +3 http://www.hackforums.net/member.php?action=profile&uid=511162 |