Ok i am a VB6er just got dOt net... i got a input box
i want to be able to take the information typed from the inputbox and put it in a msgbox.... how do i do this ?????VB Code:
inputbox("Please Enter your Name")
Printable View
Ok i am a VB6er just got dOt net... i got a input box
i want to be able to take the information typed from the inputbox and put it in a msgbox.... how do i do this ?????VB Code:
inputbox("Please Enter your Name")
Like vb6, an input box returns a value. You don't have anything on the left side of the inputbox to assign a value to. In your example:
strName = InputBox("Please.......)
hmm is that available in the .net framework classes? (I only see it in the VB compatibility classes)Quote:
Originally posted by salvelinus
Like vb6, an input box returns a value. You don't have anything on the left side of the inputbox to assign a value to. In your example:
strName = InputBox("Please.......)
you should steer away from using InputBoxes in vb.net , they will work but depend on the microsoft visual basic runtime
the best thing is to create your own custom inputboxes.
ok ill make custom Input boxes but how would i be able to make one :P Do u mean just take like a Form and add text box and a label.... make it small and call it a inputbox ? :)
Cuz what i was looking for overall in this project is for me to make a Program that Would ask the persons name then search this Database...(Doesnt exists yet) and see if they are a member... then proceed to main page.... unless there name isnot in there... then i wish for them to be able to create a name and store it in this Database.... what kinda Database should i use..... (Confuseing i know... couldnt figure out a way for me to better state it) remember im Noob
like this? if not, sorry...
wid da great help from dynamic_sysop
Dim thevar As String = InputBox("Enter the var", "Hello", )
MsgBox(thevar)