Forums » .NET » .NET »

adding textbox control in messagebox


Posted Date: 24 Nov 2008      Posted By:: srinivasan Jayaraman Profile photo    Member Level: Silver    Member Rank: 1492     Points: 1   Responses: 2



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




Responses

#320283    Author: Pradnya      Member Level: Silver      Member Rank: 0     Date: 24/Nov/2008   Rating: 2 out of 52 out of 5     Points: 1

You can do it with InPutBox

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


 
#320287    Author: Deepika Haridas      Member Level: Gold      Member Rank: 8     Date: 24/Nov/2008   Rating: 2 out of 52 out of 5     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"


 
Post Reply

 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.



Next : List,Dictonary
Previous : Server Path
Return to Discussion Forum
Post New Message
Category: .NET

Related Messages

Subscribe to Subscribers
Awards & Gifts
Talk to Webmaster Tony John
Copyright © SpiderWorks Technologies Pvt Ltd., Kochi, India