i USED THIS CODE TO ASSIGN THE BRAND DBS TO A VALUE OF $200000

Help with Code Tags


Private Sub xModelComboBox_SelectedIndexChanged(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles xModelComboBox.SelectedIndexChanged

If xModelComboBox.Text = "DBS" Then

xTotalPriceLabel.Text = "$200,000"

AND THIS CODE TO CALCULATE THE FOLLOWING iNITIAL PRICE=
is the default price for the selected brand and model in 2006.

---hOW TO I ASSIGN A SPECIFIC YEARS TO THE SAME BRAND and join it to the year?????EX---dbs@1983, 84 ETC.

I USED THIS TO DECLARE THE CALCULATIONS
Code:

Help with Code Tags


Private Sub xCalcButton_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles xCalcButton.Click

Dim YearOfMade As Double
YearOfMade = Me.xSelectyearComboBox.SelectedItem
Dim InitialPrice As Double
InitialPrice = Val(xMakeComboBox.Text) + Val(xModelComboBox.SelectedItem) + Val(xSelectyearComboBox.SelectedItem)

xTotalPriceLabel.Text = InitialPrice

Please clarify your question, use code tag, and don't use Caps Lock.
I tried to read it but I didn't mange to.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.