Quantcast
Channel: VBForums - Visual Basic 6 and Earlier
Viewing all articles
Browse latest Browse all 21881

How to use the results of an InputBox in the body of a MsgBox?

$
0
0
Hi there,

I'm trying to figure out if there's a way to take what a user types into an input box and use that in the main message of a message box.

For example:

I could have an input box that says, "What's your favorite kind of ice cream?"

The user types "Vanilla" and clicks OK.

Then I have a message box that says, "Your favorite is Vanilla? Me too!"

How do I enter the result of "Vanilla" in between two different pieces of text in a message box?

Thanks

Viewing all articles
Browse latest Browse all 21881

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>