You can reference Microsoft.VisualBasic.dll .
Then use the code below.
Microsoft.VisualBasic.Interaction.InputBox("Question?","Title","Default Text");
Also, adding a using directive that allows for shorter syntax in your code (which I personally would prefer).
using Microsoft.VisualBasic; ... Interaction.InputBox("Question?","Title","Default Text");
Or you can do what Pranai Rana offers, what I would do too ...
animaonline May 29 '12 at 10:58 2012-05-29 10:58
source share