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

Author: Pradnya24 Nov 2008 Member Level: Silver   Points : 1

You can do it with InPutBox

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

Author: Deepika Haridas24 Nov 2008 Member Level: Gold   Points : 2

using Microsoft.VisualBasic;

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

Regards,
Deepika