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

Visual Basic

 
QuestionTwo Dimension Array Length Pin
alien viper20-Feb-06 17:09
alien viper20-Feb-06 17:09 
AnswerRe: Two Dimension Array Length Pin
PremalathaP20-Feb-06 17:32
PremalathaP20-Feb-06 17:32 
GeneralRe: Two Dimension Array Length Pin
alien viper20-Feb-06 17:47
alien viper20-Feb-06 17:47 
AnswerRe: Two Dimension Array Length Pin
Joshua Quick20-Feb-06 17:47
Joshua Quick20-Feb-06 17:47 
QuestionVB to Crystal Reports parameter passing Pin
miftha20-Feb-06 17:04
miftha20-Feb-06 17:04 
QuestionQuestion on Listbox's SelectedIndexChange Event Pin
KaKa'20-Feb-06 15:42
KaKa'20-Feb-06 15:42 
AnswerRe: Question on Listbox's SelectedIndexChange Event Pin
Joshua Quick20-Feb-06 15:54
Joshua Quick20-Feb-06 15:54 
AnswerRe: Question on Listbox's SelectedIndexChange Event Pin
japel21-Feb-06 2:10
japel21-Feb-06 2:10 
Not sure why yours did not work from SelectedIndexChanged but here is a code cut to use and try.

<br />
Private Sub ListBox1_SelectedIndexChanged(ByVal sender As Object, ByVal e As System.EventArgs) Handles listStat.SelectedIndexChanged<br />
        If listStat.SelectedIndices.Count > 0 Then<br />
<br />
            Label1.Text = ListBox1.SelectedItems(0).Text<br />
<br />
        End If<br />


If you list box is static you can get the index (integer) and in a Select / Case statement fire off different events. If the list box is populated dynamically you will have to loop through and pull out the index.

Jason

When people make you see red, be thankful your not colour blind.
QuestionCustom Minimize &amp; Maximize/Restore button Pin
ssfargade20-Feb-06 15:06
ssfargade20-Feb-06 15:06 
AnswerRe: Custom Minimize &amp; Maximize/Restore button Pin
Chatura Dilan20-Feb-06 20:38
Chatura Dilan20-Feb-06 20:38 
QuestionHow to make Scrollable Panel Pin
ssfargade20-Feb-06 14:59
ssfargade20-Feb-06 14:59 
AnswerRe: How to make Scrollable Panel Pin
Joshua Quick20-Feb-06 15:45
Joshua Quick20-Feb-06 15:45 
QuestionConsole windows in vb Pin
coder4520-Feb-06 12:40
coder4520-Feb-06 12:40 
AnswerRe: Console windows in vb Pin
progload20-Feb-06 15:15
progload20-Feb-06 15:15 
AnswerRe: Console windows in vb Pin
Joshua Quick20-Feb-06 15:41
Joshua Quick20-Feb-06 15:41 
QuestionUsing a string as a variable Pin
penguin500020-Feb-06 10:47
penguin500020-Feb-06 10:47 
AnswerRe: Using a string as a variable Pin
Joshua Quick20-Feb-06 16:05
Joshua Quick20-Feb-06 16:05 
GeneralRe: Using a string as a variable Pin
penguin500021-Feb-06 10:12
penguin500021-Feb-06 10:12 
QuestionSounding Pin
atillakurucan20-Feb-06 10:26
atillakurucan20-Feb-06 10:26 
Question[VB.NET 2005] Sorting a combobox Pin
Kim Mostinckx20-Feb-06 10:03
Kim Mostinckx20-Feb-06 10:03 
AnswerRe: [VB.NET 2005] Sorting a combobox Pin
Chiari20-Feb-06 14:08
Chiari20-Feb-06 14:08 
QuestionStoring to access database........ Pin
daviiie20-Feb-06 7:07
daviiie20-Feb-06 7:07 
AnswerRe: Storing to access database........ Pin
Dave Kreskowiak20-Feb-06 7:15
mveDave Kreskowiak20-Feb-06 7:15 
GeneralRe: Storing to access database........ Pin
shiroamachi20-Feb-06 16:17
shiroamachi20-Feb-06 16:17 
GeneralRe: Storing to access database........ Pin
mayhem_rules20-Feb-06 17:04
mayhem_rules20-Feb-06 17:04 

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.