I’d like my prog to pop up a box in which the user can enter text to store it in a variable.
Do i have to create a new form for this?
I’d like my prog to pop up a box in which the user can
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
If you only need to input one string at a time, you could use Microsoft.VisualBasic.Interaction.InputBox.
If you need to be able to input more than one string or other things (like a selection from a dropbox or a date from a calendar), you will need to implement your own control.
Update: Here is an SO question that will help you out a bit more. It’s fairly similar to yours in that the answer is the same, but I think your question is different enough to not be considered a duplicate.