Click here to Skip to main content
15,895,084 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralRe: Display one value in combobox, but use another. Pin
Johan Hakkesteegt8-Sep-09 0:11
Johan Hakkesteegt8-Sep-09 0:11 
GeneralRe: Display one value in combobox, but use another. Pin
Nielvh8-Sep-09 0:21
Nielvh8-Sep-09 0:21 
GeneralRe: Display one value in combobox, but use another. Pin
Johan Hakkesteegt8-Sep-09 0:26
Johan Hakkesteegt8-Sep-09 0:26 
GeneralRe: Display one value in combobox, but use another. Pin
Nielvh8-Sep-09 0:37
Nielvh8-Sep-09 0:37 
QuestionThe Remote Server Returned an error :(411) Length Required Pin
dcdhingra6-Sep-09 20:49
dcdhingra6-Sep-09 20:49 
AnswerRe: The Remote Server Returned an error :(411) Length Required Pin
Hurricane30007-Sep-09 11:07
Hurricane30007-Sep-09 11:07 
GeneralRe: The Remote Server Returned an error :(411) Length Required Pin
dcdhingra8-Sep-09 4:17
dcdhingra8-Sep-09 4:17 
QuestionMore efficient way to program row visibility in VB Pin
Cardary6-Sep-09 20:35
Cardary6-Sep-09 20:35 
OK, I have multiple controls hidden on my form.   I want to show them, based on the combo box selection.   In other words if the user selects SelectedIndex 0, then I want to show the first row of controls, SelectedIndex 1, the first row and the second row of controls.   I'm having trouble doing this in an efficient manner.   I know I can just bludgeon the code into doing this by just typing my code over and over again, but I feel this can be achieved more efficiently and I'm looking for help.   I'm new to programming and I'm trying to learn by building my own project. Thank you, here is an example of the code I have so far...  

            'Show the rows selected based on the number chosen by the user
            Select Case CInt(cboFundSelector.SelectedIndex)
                  Case 0
                        lblUnits.Visible = True
                        lblPrice.Visible = True
                        txtNameofFund1.Visible = True
                        txtUnits1.Visible = True
                        txtPrice1.Visible = True
                        lblFund1Total.Visible = True

                  Case 1
                        lblUnits.Visible = True
                        lblPrice.Visible = True
                        txtNameofFund1.Visible = True
                        txtUnits1.Visible = True
                        txtPrice1.Visible = True
                        lblFund1Total.Visible = True
                        txtNameofFund2.Visible = True
                        txtUnits2.Visible = True
                        txtPrice2.Visible = True
                        lblFund2Total.Visible = True
AnswerRe: More efficient way to program row visibility in VB Pin
Christian Graus6-Sep-09 21:35
protectorChristian Graus6-Sep-09 21:35 
AnswerRe: More efficient way to program row visibility in VB Pin
εїзεїзεїз6-Sep-09 22:00
εїзεїзεїз6-Sep-09 22:00 
AnswerRe: More efficient way to program row visibility in VB Pin
N a v a n e e t h6-Sep-09 22:33
N a v a n e e t h6-Sep-09 22:33 
Questiontelephone number word generator Pin
rbjanaki6-Sep-09 11:12
rbjanaki6-Sep-09 11:12 
AnswerRe: telephone number word generator Pin
Henry Minute6-Sep-09 11:39
Henry Minute6-Sep-09 11:39 
GeneralRe: telephone number word generator Pin
rbjanaki6-Sep-09 11:46
rbjanaki6-Sep-09 11:46 
GeneralRe: telephone number word generator Pin
Henry Minute6-Sep-09 12:17
Henry Minute6-Sep-09 12:17 
GeneralRe: telephone number word generator Pin
rbjanaki6-Sep-09 12:24
rbjanaki6-Sep-09 12:24 
GeneralRe: telephone number word generator Pin
Hurricane30006-Sep-09 12:31
Hurricane30006-Sep-09 12:31 
GeneralRe: telephone number word generator Pin
rbjanaki6-Sep-09 12:42
rbjanaki6-Sep-09 12:42 
GeneralRe: telephone number word generator Pin
Henry Minute6-Sep-09 13:36
Henry Minute6-Sep-09 13:36 
GeneralRe: telephone number word generator Pin
rbjanaki6-Sep-09 14:16
rbjanaki6-Sep-09 14:16 
GeneralRe: telephone number word generator Pin
Henry Minute6-Sep-09 14:36
Henry Minute6-Sep-09 14:36 
GeneralRe: telephone number word generator Pin
Luc Pattyn6-Sep-09 12:39
sitebuilderLuc Pattyn6-Sep-09 12:39 
GeneralRe: telephone number word generator Pin
Henry Minute6-Sep-09 12:41
Henry Minute6-Sep-09 12:41 
GeneralRe: telephone number word generator Pin
Luc Pattyn6-Sep-09 12:53
sitebuilderLuc Pattyn6-Sep-09 12:53 
GeneralRe: telephone number word generator Pin
Henry Minute6-Sep-09 12:58
Henry Minute6-Sep-09 12:58 

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.