Create a VBS file which prompts for information

I am wondering if anyone has some sample code or sample files on how to create a vbscript which can prompt a user to enter some information and then the vbscript could use those responses to perform some automated tasks.

Ideally, I would like to bring up a form where the user can select information using checkboxes and/or radio buttons. Then I could use some IF statements in a vbscript to perform some automated tasks based on the user's responses.

Thank you for your help!
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Wayne Taylor (webtubbs)Commented:
Hi bisselltechs,

You can't use Comboboxes or RadioButtons, but you can provide an InputBox, where the user can enter text....

    Dim s
    s = Inputbox("Enter something...")


Shanmuga SundaramDirector of Software EngineeringCommented:
You can also use the MsgBox function which provides some basic button choices.

For anything more complicated you might want to create an HTA.

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Rowby Goren Makes an Impact on Screen and Online

Learn about longtime user Rowby Goren and his great contributions to the site. We explore his method for posing questions that are likely to yield a solution, and take a look at how his career transformed from a Hollywood writer to a website entrepreneur.

Shanmuga SundaramDirector of Software EngineeringCommented:
I forget to mention that you should use vbscript inside html
A HTA would probably suit best, but the more combination of options you need, to more complicated the logic of the page will get.....

If you define some ideas of your options and logic, we can build a prototype for you...


bisselltechsAuthor Commented:
The two links at the bottom helped get me going in the right direction. Using those links I was able to create an HTA form that is working as intended.
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
VB Script

From novice to tech pro — start learning today.