You must Sign In to post a response.
  • Category: .NET

    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
  • #320283
    You can do it with InPutBox

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

  • #320287
    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.