Re: MessageBox questions

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance

From: Scott M. (s-mar_at_nospam.nospam)
Date: 06/04/04


Date: Thu, 3 Jun 2004 23:07:26 -0400


> What I cannot figure out is: Why the heck aren't functions
> like this in the library, instead of making people deal with the
> script? I suppose it is not big deal to anyone who has been using
> jscript for a while, but to someone like me who's only experience with
> script was from AWK about a hundred years ago - whew!

Because what you are attempting to do is a browser based solution, not a
.NET solution. .NET simply gives you a way to tap into the browser's
functionality.

You can't produce messageboxes in a web page from the server-side code of
.NET. Think about it a second, when the .NET code is processing, it is
processing on a web server. Since a messagebox requires user input and the
user can't interact with the code that runs on the server, it's left up to
the browser to provide the GUI.



Relevant Pages

  • Loading variables from text file
    ... I am having a script that needs some user input. ... Const SMTPServer = "10.01.10.56" 'Mail Relay Server. ... buf = buf & instrm.readline ...
    (microsoft.public.scripting.vbscript)
  • Re: where should perl create a file for user download?
    ... > I am writing a small perl script that takes user input via a Web form, ... I am running perl 5.8 ... > can anyone offer some expert advice concerning where on my server to put the ...
    (perl.beginners)
  • Re: Calling a batch file from IE using asp and vbscript
    ... I have a terminal server session to the web server, so that's how I know that ... the script runs fine from a browser if the script that is called to apply ... the permissions does so on a folder on the web server. ...
    (microsoft.public.inetserver.asp.general)
  • Re: ASP Script
    ... we now refer to as "Classic ASP". ... you need a web server that supports this technology. ... on your web server to enable it to be able to run classic asp scripts. ... have any .ASP server side script. ...
    (microsoft.public.dotnet.framework.aspnet.webservices)
  • Re: small python cgi webserver
    ... I am looking for a small python script, ... web server with python cgi support on a linux machine. ... Apache web server that you are using then just ensure the following ...
    (comp.lang.python)