Click here to Skip to main content
15,916,601 members
Home / Discussions / Visual Basic
   

Visual Basic

 
Question1 Windows Appln & 1 Web Appln. Pin
DreamQuestioner20-Feb-06 18:49
DreamQuestioner20-Feb-06 18:49 
AnswerRe: 1 Windows Appln & 1 Web Appln. Pin
Dave Kreskowiak21-Feb-06 4:05
mveDave Kreskowiak21-Feb-06 4:05 
Questionupdating database using dataset Pin
mayhem_rules20-Feb-06 18:00
mayhem_rules20-Feb-06 18:00 
AnswerRe: updating database using dataset Pin
RichardBerry21-Feb-06 3:46
RichardBerry21-Feb-06 3:46 
AnswerRe: updating database using dataset Pin
Dave Kreskowiak21-Feb-06 4:04
mveDave Kreskowiak21-Feb-06 4:04 
Questiondetermine client subnet mask in terminal server Pin
samithaslk20-Feb-06 17:45
samithaslk20-Feb-06 17:45 
AnswerRe: determine client subnet mask in terminal server Pin
progload20-Feb-06 18:54
progload20-Feb-06 18:54 
GeneralRe: determine client subnet mask in terminal server Pin
Dave Kreskowiak21-Feb-06 3:56
mveDave Kreskowiak21-Feb-06 3:56 
GeneralRe: determine client subnet mask in terminal server Pin
samithaslk27-Feb-06 16:03
samithaslk27-Feb-06 16:03 
QuestionBinary Search Tree Pin
method44620-Feb-06 17:26
method44620-Feb-06 17:26 
AnswerRe: Binary Search Tree Pin
George L. Jackson20-Feb-06 17:44
George L. Jackson20-Feb-06 17:44 
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 

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.