[resolved] VB Applications
hello.. hw can i make vb appkication, which asks the user for first name, middle name, and title and address. it displays first character of the first name, first character of the middle name and the title on one lable and address on another label..
thnx for rplyin..
Re: VB Applications resolved
Quote:
Originally Posted by DigiRev
The best way would be to put TextBoxes on a form or something to have them enter their info.
Not sure if this is how you want it but, add 2 labels on your form. lblName and lblAddress
vb Code:
Option Explicit
Private strFName As String 'First name.
Private strMName As String 'Middle name.
Private strTitle As String 'Title.
Private strAddress As String 'Address.
Private Sub Form_Load()
strFName = InputBox("Enter your first name: ")
strMName = InputBox("Enter your middle name: ")
strTitle = InputBox("Enter a title: ")
strAddress = InputBox("Enter your address: ")
lblName.Caption = Left$(strFName, 1) & " " & Left$(strMName, 1) & " " & strTitle
lblAddress.Caption = strAddress
End Sub
thnx
Re: [resolved] VB Applications
thnx for rplyin to all of u..