msgbox title

Discussion in 'ASP General' started by Peter Bassett, Aug 12, 2003.

  1. In my ASP script I call Javascript for a msgbox after the user has
    submitted the form of their resume information. I saw this example as a way
    to get a msgbox onto the client from ASP since server side scripts can't
    send a msgbox to a client.

    <%
    Const DQ = """"
    Response.Write("<script language=VBScript>" & "MsgBox " & DQ & "Your Resume
    Information Has Been Sent to companyname" & DQ & "</script>")
    %>

    But the title of the msgbox has "VBScript". Adding a title to the MsgBox
    command only appends this.

    Am I stuck with this awful text or is there a way to control the complete
    title text?

    Thanks!
    Pete
     
    Peter Bassett, Aug 12, 2003
    #1
    1. Advertising

  2. Peter Bassett

    Ray at Guest

    Although you're response.writing this, it's a client side scripting question
    (vbscript, not javascript).

    But, fwiw

    msgbox "Hi", 1, "Here is the title"

    That will still have VBScript in the title though. FOllow up in vbscript
    group.

    Ray at work


    "Peter Bassett" <> wrote in message
    news:Xns93D575E2DD99Apbassett2223comcastn@204.127.204.17...
    > In my ASP script I call Javascript for a msgbox after the user has
    > submitted the form of their resume information. I saw this example as a

    way
    > to get a msgbox onto the client from ASP since server side scripts can't
    > send a msgbox to a client.
    >
    > <%
    > Const DQ = """"
    > Response.Write("<script language=VBScript>" & "MsgBox " & DQ & "Your

    Resume
    > Information Has Been Sent to companyname" & DQ & "</script>")
    > %>
    >
    > But the title of the msgbox has "VBScript". Adding a title to the MsgBox
    > command only appends this.
    >
    > Am I stuck with this awful text or is there a way to control the complete
    > title text?
    >
    > Thanks!
    > Pete
     
    Ray at, Aug 12, 2003
    #2
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Andreas Klemt
    Replies:
    1
    Views:
    473
    Steve C. Orr, MCSD
    Aug 10, 2003
  2. Replies:
    0
    Views:
    550
  3. Replies:
    1
    Views:
    569
    David
    Apr 24, 2007
  4. soonic
    Replies:
    11
    Views:
    1,800
    soonic
    Jul 27, 2011
  5. Russell
    Replies:
    2
    Views:
    301
    Russell
    Sep 13, 2004
Loading...

Share This Page