PC Review


Reply
Thread Tools Rate Thread

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

 
 
Gilles Lambert
Guest
Posts: n/a
 
      10th Jun 2004
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!
 
Reply With Quote
 
 
 
 
Nicholas Paldino [.NET/C# MVP]
Guest
Posts: n/a
 
      10th Jun 2004
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.


--
- Nicholas Paldino [.NET/C# MVP]
- (E-Mail Removed)

"Gilles Lambert" <(E-Mail Removed)> wrote in message
news:%23%(E-Mail Removed)...
> 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!



 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
I have value list for a combo - the source is "Level 2";"Level 1";"Entry 3";"Entry 2";"Entry 1"..... Chris K Microsoft Access Form Coding 2 25th Jul 2010 05:15 PM
Online Data Entry, Offline Data Entry with Data Entry Services James Roy Microsoft Access Forms 1 3rd Feb 2009 01:45 PM
Pass Dialog Box entry to new Query Dialog Boxes rbeach Microsoft Access Reports 5 23rd Jan 2009 04:52 PM
How to delete the "Insert Function Dialog Box" (dialog box only)? =?Utf-8?B?VEJJJydkIGJpa2Vy?= Microsoft Excel Worksheet Functions 2 7th Apr 2007 09:18 PM
Simple Simple Simple craigwojo Microsoft Excel New Users 3 29th Aug 2004 05:32 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 02:56 PM.