Question : MessageBox with text box

I would like to have my button_click event handler open a messagebox with a text box and label that will allow for data entry into this text box.  

Anyone have sample code for this type of control ?

I'm using Visual Studio 2005 as my Dev tool.  Visual Basic.Net language.

Also, is there a way to have this messagebox always appear in the center of my Form?

Thanks,
JMO9966

Answer : MessageBox with text box

try using inputbox as follows

            Dim myName As String = InputBox("Enter your Name", "Name", "")
            MsgBox("Welcome " & myName)
Random Solutions  
 
programming4us programming4us