input box

  • Thread starter Thread starter Shane Mergy
  • Start date Start date
S

Shane Mergy

ok i am dev. this program with c# and need to know the
way to display a messagebox with a text control for imput
like vb's input box
 
if you don't want to write it from scratch....

reference Microsoft.VisualBasic

then from C# type
Microsoft.VisualBasic.Interaction.InputBox

Cheers
Daniel
 
I haven't checked, but I don't think any of the Microsoft.VisualBasic
namespace exists in the CF.
 
-----Original Message-----
Are you sure you are not confusing it with the
Microsoft.VisualBasic.Compatibility namespace? That one is missing...
Microsoft.VisualBasic isn't (although like the System.XX assemblies it is
missing some classes/methods)...

Having said that I haven't specifically tried InputBox on
CF...

It works but, unsurprisingly, you get a full screen
instead of an actual message box with space for a text
field. Kind of goofy-looking. :)
 
Back
Top