473,503 Members | 1,864 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

.net input box

cj
What's the .net (2003) "replacement" for the input box function?
Mar 23 '06 #1
6 6344
"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
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
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
"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

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
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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
2745
by: gotcha | last post by:
I have a little code to add multiple items to a shopping cart based page. This code works perfect, but it adds all of the info to the same input fields every time it loops. I need it to change...
3
2545
by: david | last post by:
HI! Im trying to make "HTML form" into automatic. 1. If I get 18 numbers like: A B C D E F . . . . 2. How can I put those 18 numbers automatically into 6 numbers format like: A B C D E F
2
1969
by: SophistiCat | last post by:
Hi, I am working on a computational program that has to read a number of parameters (~50) from an input file. The program contains a single class hierarchy with about a dozen member-classes or...
2
3076
by: Cranky | last post by:
Ok, here is my scenario: I need to input numbers using my handheld IPAQ. I figured out how to create an online numeric keypad for inputting numbers into an input field, what I need to know is how...
3
3968
by: acecraig100 | last post by:
I am fairly new to Javascript. I have a form that users fill out to enter an animal to exhibit at a fair. Because we have no way of knowing, how many animals a user may enter, I created a table...
3
4799
by: cbradio | last post by:
Hi, I am having trouble developing a form in a restricted environment. My sample code is found below my message (sorry I don't have a URL). Basically, without a doctype, the form displays properly...
18
24929
by: Diogenes | last post by:
Hi All; I, like others, have been frustrated with designing forms that look and flow the same in both IE and Firefox. They simply did not scale the same. I have discovered, to my chagrin,...
13
5650
by: cront | last post by:
I have a problem to work on: we will ask user to input anything and we will put that back onto the standard output with all set of brackets removed. We will not remove any single bracket e.g. ...
1
1808
by: tcertain | last post by:
I am totally duh at javascript although I have 2 books trying to learn it. I am trying to add values to a form and have a calculate total at end. this is my form script. I have hours at end of...
1
3087
by: printline | last post by:
Hello All I'm quite new to xml vs. PHP, so i hope someone can help with an issue i have been struggeling with. I have an html form, that when submitted, it should create an xml file, and save...
0
7205
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
7287
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
7348
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
7467
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
1
5021
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
4685
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
3175
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
3166
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
744
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.