DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

Results 1 to 3 of 3

Thread: prompt or confirm function???????

  1. #1
    XerosAqua Guest

    prompt or confirm function???????


    if your in Internet explorer, go to address bar type in , vbscript: prompt("what
    is your name"), it displays a dialog box with an input field, for which the
    result of the function is the inputed string. But this isnt a function in
    real vb, is there an equivalent. how would i accomplish such a function,
    (i tried, i made a function to open up a form that was the same dialog. But
    i couldnt think of a way for the function to return the input field of the
    dialog after the user pressed okay)

  2. #2
    srinu Guest

    Re: prompt or confirm function???????


    Hi Aqua,

    In Vb u can write as : inputbox("What is you name?").. it is what u r looking
    for ....

    srinu

    "XerosAqua" <XerosAqua@hotmail.com> wrote:
    >
    >if your in Internet explorer, go to address bar type in , vbscript: prompt("what
    >is your name"), it displays a dialog box with an input field, for which

    the
    >result of the function is the inputed string. But this isnt a function in
    >real vb, is there an equivalent. how would i accomplish such a function,
    >(i tried, i made a function to open up a form that was the same dialog.

    But
    >i couldnt think of a way for the function to return the input field of the
    >dialog after the user pressed okay)



  3. #3
    Sachin Guest

    Re: prompt or confirm function???????

    equivalent in VB: InputBox
    -Sachin
    "XerosAqua" <XerosAqua@hotmail.com> wrote in message
    news:3c030ea2$1@147.208.176.211...
    >
    > if your in Internet explorer, go to address bar type in , vbscript:

    prompt("what
    > is your name"), it displays a dialog box with an input field, for which

    the
    > result of the function is the inputed string. But this isnt a function in
    > real vb, is there an equivalent. how would i accomplish such a function,
    > (i tried, i made a function to open up a form that was the same dialog.

    But
    > i couldnt think of a way for the function to return the input field of the
    > dialog after the user pressed okay)




Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center
 
 
FAQ
Latest Articles
Java
.NET
XML
Database
Enterprise
Questions? Contact us.
C++
Web Development
Wireless
Latest Tips
Open Source


   Development Centers

   -- Android Development Center
   -- Cloud Development Project Center
   -- HTML5 Development Center
   -- Windows Mobile Development Center