Lost Password?


Go Back   CodeCall Programming Forum > Software Development > Visual Basic Programming

Visual Basic Programming Discussion forum for Visual Basic, an event driven programming language and associated development environment from Microsoft for its COM programming model.

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 10-13-2006, 02:54 AM
Shakmun Shakmun is offline
Newbie
 
Join Date: Oct 2006
Posts: 8
Credits: 0
Rep Power: 0
Shakmun is on a distinguished road
Default combo box

i'm really new here and the reason i registered is that i really really need
some help with my project. I need to know how to code a to display the
corresponding models(of a car) each time I change the make. I want to
program the SelectedIndexChanged event of the MakeComboxBox,but stil I dont
know how to do it! I'm using VB.net
thanks
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote

Sponsored Links
  #2 (permalink)  
Old 10-13-2006, 11:45 AM
Nightracer's Avatar   
Nightracer Nightracer is offline
Programmer
 
Join Date: Jun 2006
Posts: 131
Credits: 1
Rep Power: 9
Nightracer is on a distinguished road
Default

I'm not sure what you are asking. You want a combo box filled with models of a car, correct? What do you want to do with the SelectedIndexChanged? I don't understand that part.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 10-13-2006, 12:10 PM
Shakmun Shakmun is offline
Newbie
 
Join Date: Oct 2006
Posts: 8
Credits: 0
Rep Power: 0
Shakmun is on a distinguished road
Default i give money to anyone who help me out with this!

in my interface i have a combobox of cars' make(Ford,Honda,GMC,Toyota and Nissan) and another combobox of models(Ford:taurus,escort,escape,focus; Honda:accord,civic,odessey,passport; GMC:envoy,safari,savanna,sonoma; Toyota:camry,avalon,celica,corrolla; Nissan:altima,frontier,maxima,sentra),now i wanna be able to display the models of each car anytime i click on a make. If it is still not clear,i have the assignement below!
I give money to anybody who help me out!




Requirements:
1. User can check at least five brands of auto, each of which should has at least four models. For example:
Ford: Escape, Escort, Focus, Taurus
GMC: Envoy, Safari, Savana, Sonoma
Honda: Accord, Civic, Odyssey, Passport
Nissan: Altima, Frontier, Maxima, Sentra
Toyota: Avalon, Camry, Celica, Corolla

2. The user can select at least twenty years of the autos and can see the basic price for the selected auto brand and model in different years. If the user selects the year before 2006, then the basic price of the auto is changed by Eq. (1).

3. The user can also select at least four options for the auto, such as: automatic 4-speed transmission, AM/FM/CD changer audio system, leather seats, antilock brakes, etc. The price of the selected auto is modified by these options. For example, if the basic price for an auto is $18,000 and the leather seats cost $300, then the final price of the auto will be $18,300 if it has the leather seats.

4. The user can input the mileage in the interface. The price of the selected auto is modified by Eq. (1).

FinalPrice = [0.5*exp(-0.3*(2006-YearOfMade))+0.5*exp(-0.3*CurMile/10000)]* InitialPrice + OptionPrice (1)

In Eq. (1), “FinalPrice” is the price for the selected auto. “YearOfMade” means the year user selected from the interface for the auto. “CurMile” means current mileage of the selected auto. The “InitialPrice” is the default price for the selected brand and model in 2006. The “OptionPrice” is determined by the user selections on the auto options.

Note:
1. The basic price of each brand and model of auto, and the options of the auto can be set by yourself or according to the reference webs.
2. The controls “CheckBox” and “ComboBox” should be in the interface to enable user to select different options, brands and models of the auto.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
Disable typing in a combo box Chan C# Programming 5 09-26-2008 08:51 AM
Basic Calculator AfTriX VB Tutorials 3 02-29-2008 09:53 AM
help with comboboxes and SQL in VB.Net shazo Visual Basic Programming 1 08-18-2007 08:55 AM


All times are GMT -5. The time now is 03:41 AM.

Contest Stats

WingedPanther ........ 2630.54
Xav ........ 2576.41
Brandon W ........ 1697.27
John ........ 1207.73
marwex89 ........ 1175.24
morefood2001 ........ 959.05
dcs ........ 646.09
Steve.L ........ 475.59
orjan ........ 407.96
chili5 ........ 378.6

Contest Rules

CodeCall Goal

Goal: 100,000 Posts
Complete: 97%

Ads