By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
443,333 Members | 1,047 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 443,333 IT Pros & Developers. It's quick & easy.

.net input box

P: n/a
cj
What's the .net (2003) "replacement" for the input box function?
Mar 23 '06 #1
Share this Question
Share on Google+
6 Replies


P: n/a
"cj" <cj@nospam.nospam> schrieb:
What's the .net (2003) "replacement" for the input box function?


'Microsoft.VisualBasic.Interaction.InputBox' ('InputBox').

--
M S Herfried K. Wagner
M V P <URL:http://dotnet.mvps.org/>
V B <URL:http://classicvb.org/petition/>
Mar 23 '06 #2

P: n/a
cj
That looks like the same thing as microsoft.visualbasic.inputbox

I thought microsoft.visualbasic were the old VB6 style commands and they
were considered outdated.

For that matter I don't import any namespaces but I can just say
inputbox and it works instead of having to say
microsoft.visualbasic.inputbox or visualbasic.inputbox.

I want to do things the vb2003 way and I understood inputbox was a
classic vb command so I wanted to know the new way of achieving this
functionality.
Herfried K. Wagner [MVP] wrote:
"cj" <cj@nospam.nospam> schrieb:
What's the .net (2003) "replacement" for the input box function?


'Microsoft.VisualBasic.Interaction.InputBox' ('InputBox').

Mar 24 '06 #3

P: n/a
there really is none, you have to make your own

"cj" <cj@nospam.nospam> wrote in message
news:Op****************@TK2MSFTNGP11.phx.gbl...
That looks like the same thing as microsoft.visualbasic.inputbox

I thought microsoft.visualbasic were the old VB6 style commands and they
were considered outdated.

For that matter I don't import any namespaces but I can just say inputbox
and it works instead of having to say microsoft.visualbasic.inputbox or
visualbasic.inputbox.

I want to do things the vb2003 way and I understood inputbox was a classic
vb command so I wanted to know the new way of achieving this
functionality.
Herfried K. Wagner [MVP] wrote:
"cj" <cj@nospam.nospam> schrieb:
What's the .net (2003) "replacement" for the input box function?


'Microsoft.VisualBasic.Interaction.InputBox' ('InputBox').

Mar 24 '06 #4

P: n/a
"cj" <cj@nospam.nospam> schrieb:
That looks like the same thing as microsoft.visualbasic.inputbox

I thought microsoft.visualbasic were the old VB6 style commands and they
were considered outdated.
No, "Microsoft.VisualBasic.dll" is neither outdated nor obsolete or
deprecated. It's a first-class library for use with VB.NET. I think you
are mixing up "Microsoft.VisualBasic.dll" with
"Microsoft.VisualBasic.Compatibility.dll".
I want to do things the vb2003 way and I understood inputbox was a classic
vb command so I wanted to know the new way of achieving this
functionality.


The .NET Framework's class library doesn't contain an equivalent function or
class. I suggest to use 'InputBox'.

--
M S Herfried K. Wagner
M V P <URL:http://dotnet.mvps.org/>
V B <URL:http://classicvb.org/petition/>

Mar 24 '06 #5

P: n/a

cj wrote:
That looks like the same thing as microsoft.visualbasic.inputbox

I thought microsoft.visualbasic were the old VB6 style commands and they
were considered outdated.

For that matter I don't import any namespaces but I can just say
inputbox and it works instead of having to say
microsoft.visualbasic.inputbox or visualbasic.inputbox.

I want to do things the vb2003 way and I understood inputbox was a
classic vb command so I wanted to know the new way of achieving this
functionality.


If you want, you can do what C/C++ programmers always had to do, and
what C# programmers probably do now (since the Microsoft.Visualbasic
namespace smells bad to them) - create your own class that has the same
functionality. Then you can make the form look however you want.
--
Larry Lard
Replies to group please

Mar 24 '06 #6

P: n/a
cj
Your right. I was confusing it with .compatibility. Glad to hear
inputbox is still a perfectly acceptable way to do things.

Thanks for letting me know.
Herfried K. Wagner [MVP] wrote:
"cj" <cj@nospam.nospam> schrieb:
That looks like the same thing as microsoft.visualbasic.inputbox

I thought microsoft.visualbasic were the old VB6 style commands and
they were considered outdated.


No, "Microsoft.VisualBasic.dll" is neither outdated nor obsolete or
deprecated. It's a first-class library for use with VB.NET. I think
you are mixing up "Microsoft.VisualBasic.dll" with
"Microsoft.VisualBasic.Compatibility.dll".
I want to do things the vb2003 way and I understood inputbox was a
classic vb command so I wanted to know the new way of achieving this
functionality.


The .NET Framework's class library doesn't contain an equivalent
function or class. I suggest to use 'InputBox'.

Mar 24 '06 #7

This discussion thread is closed

Replies have been disabled for this discussion.