How does one call a message box that takes a value?

  • Thread starter Thread starter acool
  • Start date Start date
A

acool

I remember in VB6 there was an option for calling a type of message/dialog
box that takes a single value. How do I do this in .NET?
 
* "acool said:
I remember in VB6 there was an option for calling a type of message/dialog
box that takes a single value. How do I do this in .NET?

It's still 'InputBox'.
 
There is a function called InputBox that works in the same way as the one in
VB6:

Public Function InputBox(ByVal Prompt As String, Optional ByVal Title As
String = "", Optional ByVal DefaultResponse As String = "", Optional ByVal
XPos As Integer = -1, Optional ByVal YPos As Integer = -1) As String

Hope this helps,

Regards
Simon Jefferies
Tools Programmer, Headfirst Productions
mailto:[email protected]
www.callofcthulhu.com www.deadlandsgame.com
-
 
Back
Top