Here's the error message:

Originally Posted by
Windows Script Host
Line: 1
Char: 1
Error: Invalid procedure call or argument: 'MsgBox'
Code: 800A0005
Source: Microsoft VBScript runtime error
And here's my code:
Code:
strMbox = MsgBox("Can't",16,4016,"Error")
If strMbox = 1 Then
strMbox ="."
End If
MsgBox "I said, can't!",4016,"Notification"
WScript.Quit
Now, I can already tell that the problem lies in the second MsgBox, but if I change it to MsgBox("I said, can't!",4016,"Notification"), it says:

Originally Posted by
Windows Script Host
Line: 6
Char: 45
Error: Cannot use parentheses when calling a Sub
Code: 800A0414
Source: Microsoft VBScript compilation error
Does anybody know how to resolve this? Google was surprisingly unhelpful.
Bookmarks