CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2

Thread: ASP question

  1. #1
    Join Date
    Apr 1999
    Location
    Beaverton, OR
    Posts
    241

    ASP question

    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?


  2. #2
    Join Date
    Oct 1999
    Location
    CA
    Posts
    91

    Re: ASP question

    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

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured