How to get a simple user entry in a dialog box ?

  • Thread starter Thread starter Gilles Lambert
  • Start date Start date
G

Gilles Lambert

Hi,

I come from VB .NET where the InputBox function is ad hoc. Does any one
knows if C# allows something like it ?

Thanks and best regards
Gilles




*** Sent via Devdex http://www.devdex.com ***
Don't just participate in USENET...get rewarded for it!
 
Gilles,

You can still use InputBox. Add a reference to
Microsoft.VisualBasic.dll to your app. Then, you can call the static
InputBox method on the Interaction class in the Microsoft.VisualBasic
namespace.

Hope this helps.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top