Results 1 to 4 of 4

Thread: How do I do a prompt in VBScript?

  1. #1

    Thread Starter
    Fanatic Member Wynd's Avatar
    Join Date
    Dec 2000
    Location
    In a bar frequented by colossal death robots
    Posts
    772
    Like in javascript you do:

    var whatever = prompt("text","default");

    How can I do this in VBScript?
    Alcohol & calculus don't mix.
    Never drink & derive.

  2. #2
    PowerPoster sail3005's Avatar
    Join Date
    Oct 2000
    Location
    Chicago, IL, USA
    Posts
    2,340
    try this pete:


    Code:
    whatever = inputbox("Your Question")

  3. #3
    PowerPoster sail3005's Avatar
    Join Date
    Oct 2000
    Location
    Chicago, IL, USA
    Posts
    2,340
    More options:

    Code:
    whatever = InputBox("What you what to know", "Your Title", "This is the default option...")

  4. #4

    Thread Starter
    Fanatic Member Wynd's Avatar
    Join Date
    Dec 2000
    Location
    In a bar frequented by colossal death robots
    Posts
    772
    K, thanks alot
    Alcohol & calculus don't mix.
    Never drink & derive.

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