I am writing a project that stores vehicle information such as the model,manuf., year, etc.
I have to create a second project that loads the data from the file into memory and loads a drop down combo box with the VIN numbers. When the number is selected from the box, it is supposed to display the appropriate information in labels. Im having problems storing my information and creating this project because the book doesn't explain it very well. Can anyone point me in the right direction?
cassie_sanford
1
Junior Poster in Training
Recommended Answers
Jump to PostYou didn't mention, how the information is stored. But if you have numbers in your combo box and you can fetch the information with that number, you need to trap SelectedIndexChanged for the combo box:
Private Sub ComboBox1_SelectedIndexChanged(ByVal sender As Object, ByVal e As System.EventArgs) Handles ComboBox1.SelectedIndexChanged …
Jump to PostI think its a good idea to keep data entry and data viewing as separate forms.
Here's a bit fixing to data entry form (saveButton_Click). Replace control names (TextBox1 <- modelTextBox etc.) and add missing boxes.
' Declare writer Private autoStreamWriter As StreamWriter ' Set file …
All 6 Replies
Teme64
215
Veteran Poster
cassie_sanford
1
Junior Poster in Training
cassie_sanford
1
Junior Poster in Training
Teme64
215
Veteran Poster
cassie_sanford
1
Junior Poster in Training
Teme64
215
Veteran Poster
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.