By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
455,333 Members | 1,381 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 455,333 IT Pros & Developers. It's quick & easy.

Control for InputBox in C#

P: n/a
Hi,

I am working on Windows Forms with C#.

Cud ne one tell me which is the control in C# that I can use in place of
InputBox in VB.NET for Windows Forms?

Thanx in advance,

Sid :)
Nov 13 '05 #1
Share this Question
Share on Google+
2 Replies


P: n/a
There isn't a direct replacement. You can use my control that I've created
at:
http://www.devhood.com/Tools/tool_de...px?tool_id=401

Good luck!
-Noah Coad

[MVP & MCP .NET/C#]
"Siddharth Prakash Phatarphod" <ps********@roltanet.com> wrote in message
news:%2******************@tk2msftngp13.phx.gbl...
Hi,

I am working on Windows Forms with C#.

Cud ne one tell me which is the control in C# that I can use in place of
InputBox in VB.NET for Windows Forms?

Thanx in advance,

Sid :)

Nov 13 '05 #2

P: n/a
There isn't a direct replacement, but then you don't need one.

Add a reference to Microsoft.VisualBasic

string result = Microsoft.VisualBasic.Interaction.InputBox("text", "title",
int_xPos, int_yPos);

Cheers,
Simon.

"Siddharth Prakash Phatarphod" <ps********@roltanet.com> wrote in news:
#b**************@tk2msftngp13.phx.gbl:
Cud ne one tell me which is the control in C# that I can use in place of
InputBox in VB.NET for Windows Forms?


Nov 13 '05 #3

This discussion thread is closed

Replies have been disabled for this discussion.