![]() |
|
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
Hobbyist Programmer
|
Input Dialog Box
So right now I'm feeling really stupid based on the fact that I can't remember the syntax for an input dialog box. I'm running Visual Studios 2005 .Net 2.0 and cant remember how to get input from the user. If you could help me out, that'd be great.
|
|
|
|
|
|
#2 |
|
Expert Programmer
|
http://www.developerfusion.co.uk/show/6/1/
Google is your friend. Remember you can always just put a text box on a form and make your own ways to get input from the user. |
|
|
|
|
|
#3 |
|
Hobbyist Programmer
|
Sorry, Should have added that I'm using it on the onload, so when the program is first coming up this will be displayed. So the form wouldn't have been loaded yet.
|
|
|
|
|
|
#4 | |
|
SEXY SHOELESS GOD OF WAR!
![]() Join Date: Jun 2005
Location: Wet west coast of Canada
Posts: 1,197
Rep Power: 5
![]() |
Quote:
Anyways, next time, try the docs. The InputBox() function is in there. If you don't have the local docs installed, try MSDN. A quick search (I typed in 'inputbox' and hit enter) yields this page.
__________________
And once again, Probability proves itself willing to sneak into a back alley and service Drama as would a copper-piece harlot. - Vaarsuvius, Order of the Stick |
|
|
|
|
|
|
#5 |
|
Expert Programmer
|
There is a function that executes before the main form is shown. You could throw the input box in there and it would show up before the form loads. I don't use VB.NET but in VB6 I think it was the initialize function.
|
|
|
|
|
|
#6 |
|
Newbie
Join Date: Oct 2006
Location: Australia - Gold Coast
Posts: 8
Rep Power: 0
![]() |
Maybe you could make a startup module... like when you do a splash screen
__________________
Everything works out in the End...so if its not all worked out...your not at the end! |
|
|
|
|
|
#7 |
|
Programmer
|
You have to create your own input dialog box in .NET. IN VB six there in inputDialog function for that
__________________
Iftikhar Ahmed Khan For doing an experiment on programmer's mood please visit http://uxisfyp1.brunel.ac.uk/cspgiak |
|
|
|
|
|
#8 |
|
Newbie
Join Date: Oct 2006
Location: Australia - Gold Coast
Posts: 8
Rep Power: 0
![]() |
yes but you can call it in the startup and get the info you need before the main screen/interface appears
__________________
Everything works out in the End...so if its not all worked out...your not at the end! |
|
|
|
![]() |
| Bookmarks |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| question about filename in common dialog | Kilo | Visual Basic | 4 | Nov 28th, 2005 4:42 AM |
| How to to do this using Win32 API? | csharp | C++ | 4 | Nov 1st, 2005 6:22 AM |
| dialog wierdness | Rezin8r | Bash / Shell Scripting | 1 | May 19th, 2005 4:46 PM |
| Unable to move dialog after creating | milksama | C++ | 1 | Mar 11th, 2005 2:10 PM |