I'm writing an ASP for my company, and everything seems to be working fine so far, except I cannot use MsgBox. When the ASP file is loaded, I get an error stating that MsgBox is 'off limits'. Why would this be?
Printable View
I'm writing an ASP for my company, and everything seems to be working fine so far, except I cannot use MsgBox. When the ASP file is loaded, I get an error stating that MsgBox is 'off limits'. Why would this be?
Because the actual asp code is being run on the server and not the client's machine, bringing up a msgbox would be worthless, since the client could never see it. You need to use vbscript to display a msgbox for the client.
What you could do, is replace the errant code to display the msgbox with code that would send a script to the client, which will display the msgbox.
Brewguru99