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);
C# Corner Hyderabad Developer Conference


Custom Software Development
MCN is your source for developing solutions involving websites, mobile apps, cloud-computing, databases, BI, back-end services and processes and client-server applications.