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

How do I create an username input box in vb

P: 4
how do you create a input box that ask for the user name in vb
Dec 3 '07 #1
Share this Question
Share on Google+
6 Replies


lotus18
100+
P: 866
how do you create a input box that ask for the user name in vb
Hi marty8917

Can you show us in more details?

Rey Sean
Dec 3 '07 #2

P: 4
Hi marty8917

Can you show us in more details?

Rey Sean
i need it to ask for a user name
Dec 3 '07 #3

P: 36
In vb.net,A soecial function INputBox is there.Try this function..
Syntax is
Dim str1 as String
str1=InputBox("enter User name")
Dec 3 '07 #4

lotus18
100+
P: 866
i need it to ask for a user name
Username of what? Does your program has a database? Are you telling us retrieve a username from the vb or from database?

Rey Sean
Dec 3 '07 #5

debasisdas
Expert 5K+
P: 8,127
You simply need to use the inputbox function. There you can put anything to display. For multiple lines concadinate with Chr(13) and Chr (10) .
Dec 3 '07 #6

lee123
100+
P: 556
well this is the inputbox function

InputBox(prompt[,title][,default][,xpos][,ypos][,helpfile,context

lee123
Dec 3 '07 #7

Post your reply

Sign in to post your reply or Sign up for a free account.