Jump to content
Sign in to follow this  
Stuperman

If MsgBox=?

Recommended Posts

Stuperman

MsgBox(36,"Wireless","Does this computer connect to a wireless network?")

I need to be able to take the value of Yes (6) and the value of No (7) and use them in an if then statement. If the msgbox returns a value of 6 then, blah, if it returns a value of 7 then blah.

Any help would be greatly appreciated.

Share this post


Link to post
Share on other sites
erezlevi

MsgBox(36,"Wireless","Does this computer connect to a wireless network?")

I need to be able to take the value of Yes (6) and the value of No (7) and use them in an if then statement. If the msgbox returns a value of 6 then, blah, if it returns a value of 7 then blah.

Any help would be greatly appreciated.

why using a msgbox and not GUI? with GUI you can create buttons and according to the user selection to create what you want.

Share this post


Link to post
Share on other sites
Stuperman

Because I just want a simple MsgBox. Yes or no. I don't need anything more than that. Plus I am just starting out with scripting. Don't know that much yet.

Share this post


Link to post
Share on other sites
Stuperman

Thank you Jos, that worked great. Appreciate it.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×