954,514 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Have something to say? Contribute New Article Reply to this Article

What message box can I use if I can't use msgbox in the IIS?

Hi,

I'm having a little trouble about message box,
Since the website has been deployed in the IIS, the msgbox won't work anymore,
Now I need a new alternative to create a message box that could also have a validation,
something like

if msgbox("do you want to save this?", msgbox.yesno) = msgbox.yes then
'do some code
end if

Can anyone help me with this,

thanks

jbutardo
Junior Poster in Training
73 posts since Jan 2012
Reputation Points: 8
Solved Threads: 1
 

This should have been posted in the ASP.NET forum.

You can't use MsgBox nor MessageBox on the web.
What you can do is use javascript with a vbscript popup box.
Here is a solution: http://www.delphifaq.com/faq/javascript/f1172.shtml

Oxiegen
Master Poster
715 posts since Jun 2006
Reputation Points: 87
Solved Threads: 141
 

Yes oxiegen correct, in web cant use msgbox. U can use alert in javascript.

Pgmer
Master Poster
714 posts since Apr 2008
Reputation Points: 54
Solved Threads: 121
 
Yes oxiegen correct, in web cant use msgbox. U can use alert in javascript.


Yup, I now understand, thanks for the help!

jbutardo
Junior Poster in Training
73 posts since Jan 2012
Reputation Points: 8
Solved Threads: 1
 

This question has already been solved

Post: Markdown Syntax: Formatting Help
You
View similar articles that have also been tagged: