See if this helps.
Private Sub FirstName_TextChanged(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles FirstNameTextBox.TextChanged
FirstNameTextBoxString = FirstNameTextBox.Text
setFullName()
End Sub
Private Sub LastName_TextChanged(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles LastNameTextBox.TextChanged
LastNameTextBoxString = LastNameTextBox.Text
setFullName()
End Sub
Private Sub setFullName()
FullNameTextBoxString = FirstNameTextBoxString & " " & LastNameTextBoxString
FullNameTextBox.Text = FullNameTextBoxString
End Sub
codeorder
Posting Virtuoso
1,915 posts since Aug 2010
Reputation Points: 255
Solved Threads: 384
.Remove: setFullName() from the 2 _TextChanged events and only add it to your "btnCalculateOrder".Click.
>>...can't get the driver's license part to work...
.and the part you can't get to work is?
codeorder
Posting Virtuoso
1,915 posts since Aug 2010
Reputation Points: 255
Solved Threads: 384
I have a feeling that line.66 in your code should be: DriversLicenseString = DriversLicense.Text
codeorder
Posting Virtuoso
1,915 posts since Aug 2010
Reputation Points: 255
Solved Threads: 384
>>I tried it, but it didn't work.
Sucks for you?:D
Just wondering; how is DriversLicenseString 's value displayed in your TextBox?
codeorder
Posting Virtuoso
1,915 posts since Aug 2010
Reputation Points: 255
Solved Threads: 384
>>the drivers license doesn't appear in the Drives License TextBox on the bottom after you input it.
Drives License TextBox.Text = DriversLicenseString
That should be located somewhere w/in your code, if you want it to display anything.
codeorder
Posting Virtuoso
1,915 posts since Aug 2010
Reputation Points: 255
Solved Threads: 384
Keep that in the btnCalculateOrder.Click event and replace this event entirely.
Private Sub DriversLicense_TextChanged(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles DriversLicense.TextChanged
DriversLicenseString = DriversLicense.Text
End Sub
codeorder
Posting Virtuoso
1,915 posts since Aug 2010
Reputation Points: 255
Solved Threads: 384
Saw that you just posted, sucks for you.:D
.At least you got a .Value added to your TextBox so far. Before you post again, My.Suggestion = "keep fiddleling" .
codeorder
Posting Virtuoso
1,915 posts since Aug 2010
Reputation Points: 255
Solved Threads: 384
Just reinstalled my o.s., flied w/out a vb.radar for a few hours:D, though glad that your current programming issue is "Solved" AndAlso glad that I was able to still provide.support.:)
codeorder
Posting Virtuoso
1,915 posts since Aug 2010
Reputation Points: 255
Solved Threads: 384