I'm trying a simple hello world: <BR>Private Sub Button1_Click(ByVal sender as... <BR>msgbox("hello world") <BR>end sub <BR><BR>When I click the button, I get: <BR>'It is invalid to show a modal dialog or form when the application is not running in UserInterActive Mode. Specify the ServiceNotification or DefualtDesktopOnly style to display a notice from a service application' <BR><BR>I read ASPFAQs on .Net, nothing there. I tried RTFM ('fine') but couldn't make heads or tails of it. What do I have to do to make this very simple example work? <BR>I posted this same ? on Oct 10, nobody answered.Using MsgBox is your problem. Realize that the code you are executing in the Button1_Click event handler is being executed on the server... meaning that you are trying to display a message box on the Web server.<BR><BR>Instead, try:<BR><BR>Private Sub Button1_Click(ByVal sender as... <BR> Response.Write("Hello, World!")<BR>end sub <BR><BR>Also, be sure to read:<BR>http://www.4guysfromrolla.com/webtech/082399-1.shtml<BR><BR>hthOK! I'm pretty good at ASP and understand I can't do client-side script during server-side execution. The problem I've got is I just went to .NET developer seminar, where they said if the code you put it wouldn't work server-side, it would automatically 'push' client-side scipt to the browser.??? That's not true. What they might have said was something along the lines of, "IF the client can support it, extra functionality can be automatically moved to the client." For example, ASP.NET offers nifty validation controls (see: http://www.4guysfromrolla.com/webtech/090200-1.shtml). If the user is visiting with an uplevel browser, extra code will be automagically sent to the client to perform client-side form validation.<BR><BR>Hope this clears things up a bit... you may want to work through the ASP.NET QuickStarts to get going with ASP.NET:<BR>http://samples.gotdotnet.com/quickstart/aspplus/<BR><BR>Alternatively, you may find this book really helpful:<BR><BR>Sams Teach Yourself ASP.NET in 21 Days<BR>http://www.amazon.com/exec/obidos/ASIN/0672321688/4guysfromrollaco<BR><BR>Happy Programming!Thanx. The dev.net seminar apparently was misleading. It was 'if the client can't support it, the server will perform it'. Now naturally, a server can't messagebox.<BR>The other thing was, they said 'no more hand coding'; it's dead. That's interesting.i just wnat to test how this message boardworking can u give the basic logic behind this