Smiley, Shawn [mailto:[EMAIL PROTECTED]] wrote:

> Basically I need a small dialog box to popup and ask the user
> to enter a single value (from a WinForms application).  I
> hate to create a custom dialog box if there is something
> built into the framework that I could use.

There's nothing built into WinForms for this, so usually you create your own
customized version. However you could cheat and:

1. Reference Microsoft.VisualBasic.dll
2. add "using Microsoft.VisualBasic;"
3. call the static Interaction::InputBox method

Personally, I'd create my own form if this is a "real" application you're
writing for.

HTH,
Drew

You can read messages from the DOTNET archive, unsubscribe from DOTNET, or
subscribe to other DevelopMentor lists at http://discuss.develop.com.

Reply via email to