473,322 Members | 1,496 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,322 software developers and data experts.

Input box

Hi,

Is there any pre defined InputBox (or similar) class in .net famework?

=
wa
Nov 16 '05 #1
3 1837
What you might want is System.Windows.Forms.TextBox. You didn't mention what
type of application you are writing.

Thomas P. Skinner [MVP]

"Wasim Akram" <a@b.c> wrote in message
news:uX**************@TK2MSFTNGP11.phx.gbl...
Hi,

Is there any pre defined InputBox (or similar) class in .net famework?

=
wa

Nov 16 '05 #2
InputBox I believe is a VB like function that creates a modal dialog allowing
input
and isn't necessarily just a TextBox.

The Microsoft.VisualBasic.Interaction.InputBox is always available, though I
don't
really recommend going there for such a simple dialog. Instead create a standard
Form and toss your items into place. The amount of designer time and code you'll
write is about 10-15 minutes worth your time and is fully reusable, without
having
to include the VB extension libraries.
--
Justin Rogers
DigiTec Web Consultants, LLC.
Blog: http://weblogs.asp.net/justin_rogers

"Thomas P. Skinner [MVP]" <to*@bu.edu> wrote in message
news:e5**************@TK2MSFTNGP10.phx.gbl...
What you might want is System.Windows.Forms.TextBox. You didn't mention what
type of application you are writing.

Thomas P. Skinner [MVP]

"Wasim Akram" <a@b.c> wrote in message
news:uX**************@TK2MSFTNGP11.phx.gbl...
Hi,

Is there any pre defined InputBox (or similar) class in .net famework?

=
wa


Nov 16 '05 #3
Interesting. I tried using this from a C# program and it works fine. I added
a reference to the VB runtime DLL and made a call similar to:

Microsoft.VisualBasic.Interaction.InputBox.(....);
and the input box popped up. I fully agree that C# programmers should not go
there.

Thomas P. Skinner [MVP]
"Justin Rogers" <Ju****@games4dotnet.com> wrote in message
news:u$**************@TK2MSFTNGP15.phx.gbl...
InputBox I believe is a VB like function that creates a modal dialog
allowing input
and isn't necessarily just a TextBox.

The Microsoft.VisualBasic.Interaction.InputBox is always available, though
I don't
really recommend going there for such a simple dialog. Instead create a
standard
Form and toss your items into place. The amount of designer time and code
you'll
write is about 10-15 minutes worth your time and is fully reusable,
without having
to include the VB extension libraries.
--
Justin Rogers
DigiTec Web Consultants, LLC.
Blog: http://weblogs.asp.net/justin_rogers

"Thomas P. Skinner [MVP]" <to*@bu.edu> wrote in message
news:e5**************@TK2MSFTNGP10.phx.gbl...
What you might want is System.Windows.Forms.TextBox. You didn't mention
what type of application you are writing.

Thomas P. Skinner [MVP]

"Wasim Akram" <a@b.c> wrote in message
news:uX**************@TK2MSFTNGP11.phx.gbl...
Hi,

Is there any pre defined InputBox (or similar) class in .net famework?

=
wa



Nov 16 '05 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
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
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
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
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...
1
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...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...

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.