input box

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
 
D

Daniel Moth

if you don't want to write it from scratch....

reference Microsoft.VisualBasic

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

Cheers
Daniel
 
C

Chris Tacke, eMVP

I haven't checked, but I don't think any of the Microsoft.VisualBasic
namespace exists in the CF.
 
M

Michel Renaud

-----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. :)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top