Click here to Skip to main content
15,920,704 members
Home / Discussions / Visual Basic
   

Visual Basic

 
QuestionByte data type in sql server Pin
manisghouri5-Feb-07 6:32
manisghouri5-Feb-07 6:32 
AnswerRe: Byte data type in sql server Pin
Colin Angus Mackay5-Feb-07 13:36
Colin Angus Mackay5-Feb-07 13:36 
GeneralRe: Byte data type in sql server Pin
manisghouri6-Feb-07 0:09
manisghouri6-Feb-07 0:09 
QuestionFill color on data report Pin
Acer36205-Feb-07 6:03
Acer36205-Feb-07 6:03 
QuestionComboBox Help Pin
Jason Baggett5-Feb-07 5:49
Jason Baggett5-Feb-07 5:49 
AnswerRe: ComboBox Help Pin
nlarson115-Feb-07 7:29
nlarson115-Feb-07 7:29 
GeneralRe: ComboBox Help Pin
Jason Baggett5-Feb-07 7:40
Jason Baggett5-Feb-07 7:40 
GeneralRe: ComboBox Help Pin
nlarson115-Feb-07 7:51
nlarson115-Feb-07 7:51 
When the event fires, you need to check combo1 for what the user selected. Then react accordingly. There are 3 properties you can check to do this. Once you know what they selected, then call the appropriate routine to load the correct values in combo2 that belong to the selection they made in combo1

the properties:

Private Sub ComboBox1_SelectedIndexChanged(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles ComboBox1.SelectedIndexChanged
Select Case ComboBox1.SelectedIndex 'if you hardcoded the contents of combo1
Case 0
Call FillCombo2WithATypes()
Case 1
Call FillCombo2WithBtypes()
End Select

Select Case ComboBox1.SelectedText 'what they see in the combo list
Case "A - type "
Call FillCombo2WithATypes()
Case "B - type "
Call FillCombo2WithBtypes()
End Select

Select Case ComboBox1.SelectedValue 'the code for what they see
Case "A"
Call FillCombo2WithATypes()
Case "B"
Call FillCombo2WithBtypes()
End Select
End Sub

QuestionDatagridview Rowheaderselect Pin
Nikila Venkat5-Feb-07 5:20
Nikila Venkat5-Feb-07 5:20 
Questioncreating a playlist Pin
jady845-Feb-07 5:09
jady845-Feb-07 5:09 
Questiona problem in array in vb.net Pin
Hasan Jaffal5-Feb-07 3:55
Hasan Jaffal5-Feb-07 3:55 
QuestionRe: a problem in array in vb.net Pin
Kschuler5-Feb-07 5:19
Kschuler5-Feb-07 5:19 
AnswerRe: a problem in array in vb.net Pin
Hasan Jaffal5-Feb-07 5:23
Hasan Jaffal5-Feb-07 5:23 
AnswerRe: a problem in array in vb.net Pin
Kschuler5-Feb-07 5:39
Kschuler5-Feb-07 5:39 
AnswerRe: a problem in array in vb.net Pin
nlarson115-Feb-07 5:35
nlarson115-Feb-07 5:35 
GeneralRe: a problem in array in vb.net Pin
Hasan Jaffal5-Feb-07 12:00
Hasan Jaffal5-Feb-07 12:00 
GeneralRe: a problem in array in vb.net Pin
nlarson115-Feb-07 12:22
nlarson115-Feb-07 12:22 
GeneralRe: a problem in array in vb.net Pin
Hasan Jaffal5-Feb-07 12:53
Hasan Jaffal5-Feb-07 12:53 
GeneralRe: a problem in array in vb.net Pin
TwoFaced5-Feb-07 15:29
TwoFaced5-Feb-07 15:29 
QuestionGlobal Dataset Pin
liona5-Feb-07 2:42
liona5-Feb-07 2:42 
AnswerRe: Global Dataset Pin
Kschuler5-Feb-07 5:25
Kschuler5-Feb-07 5:25 
AnswerRe: Global Dataset Pin
nlarson115-Feb-07 5:38
nlarson115-Feb-07 5:38 
AnswerRe: Global Dataset Resolved Pin
liona5-Feb-07 7:02
liona5-Feb-07 7:02 
QuestionNET-1.1: Setup didn't include all assemblies Pin
Marco Turrini5-Feb-07 1:05
Marco Turrini5-Feb-07 1:05 
Questionhow to call sub report Pin
neo_bags5-Feb-07 0:33
neo_bags5-Feb-07 0:33 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.