You must Sign In to post a response.

adding textbox control in messagebox

how to dynamically add textbox control in messageBox.show() in vb.net.
i want to add textbox to a message box.
help me as soon as possible
thanks in advance


Comments

#320283    Author: Pradnya  24 Nov 2008 Member Level: Silver   Points : 1

You can do it with InPutBox

Dim s As String = InputBox("Enter some text")
TextBox1.Text = s

#320287    Author: Deepika Haridas    24 Nov 2008 Member Level: Gold   Points : 2

using Microsoft.VisualBasic;

string s1 = Microsoft.VisualBasic.Interaction.InputBox("Please Enter Value", "Hi!", "",100,100);

Regards,
Deepika




Thanks & Regards,
Deepika - Sr. Editor
Webmaster, GujaratSpider
http://angeldeeps.blogspot.com/
"Experience is the name everyone gives to his mistakes"


This thread is locked for new responses. Please post your comments and questions as a separate thread.
If required, refer to the URL of this page in your new post.