Forum guidelines
InputBox for C# ?
Posted By hellopeat on 15 Mar 2005
Is there anyone know ? how to use InputBox in C# ??? or any other dialog that is similar to the InputBox in VB. pls, help
Re: InputBox for C# ?
Posted By mibuyt on 15 Mar 2005  
Hi, Look at this Hope it helps. Cheers.
Re: InputBox for C# ?
Posted By spgilmore on 25 Mar 2005  
The information in that link is erroneous. It states that there is no input box in the .NET framework. That's not true. There is simply no input box in the C# runtime. There is an input box in the VB.NET runtime. You can use it in C#. using Microsoft.VisualBasic; Add a reference to Microsoft.VisualBasic.dll and use this code: string s = Microsoft.VisualBasic.Interaction.InputBox("Prompt", "Title", "DefaultResponse", 0, 0);
Training for .Net Developers


Spire.Doc - Free .NET Word API
Use Spire.Doc to create, read, write, print, and convert word documents to OpenXML, RTF, TXT, XPS, EPUB, EMF, HTML, Image and PDF.