Click here to Skip to main content
15,911,315 members
Home / Discussions / Visual Basic
   

Visual Basic

 
Questionhow to poll a win2003 terminal server for who is currently logged in Pin
crash89313-Jun-07 10:06
crash89313-Jun-07 10:06 
QuestionPut video input of a VIVO video card in a window Pin
ricox7813-Jun-07 9:53
ricox7813-Jun-07 9:53 
QuestionCreate excel sheet without installing MS Office VB.NET Pin
Dpriya13-Jun-07 9:47
Dpriya13-Jun-07 9:47 
AnswerRe: Create excel sheet without installing MS Office VB.NET Pin
haggenx13-Jun-07 11:45
haggenx13-Jun-07 11:45 
QuestionAxMSWinsockLib Pin
LegionFX13-Jun-07 9:24
LegionFX13-Jun-07 9:24 
QuestionCreating a patch using InstallShield 2008 Pin
steve_rm13-Jun-07 8:36
steve_rm13-Jun-07 8:36 
AnswerRe: Creating a patch using InstallShield 2008 Pin
Dave Kreskowiak13-Jun-07 15:50
mveDave Kreskowiak13-Jun-07 15:50 
QuestionStoring a selected ListBox item into a String variable [modified] Pin
reegan4113-Jun-07 7:41
reegan4113-Jun-07 7:41 
I want to be able to click on an item in a ListBox, then using the AfterUpdate() Sub-routine, be able to store that value into a String variable. My loop is as follows:

***START***
Dim iterator As Long
Dim descriptionString As String

For iterator = 0 to Descriptions_lst.ListCount - 1
If Descriptions_lst.Selected(iterator) Then
descriptionName = Descriptions_lst.Column(0, iterator)
End if
Next iterator
***END***

I'm not exactly sure what the 'Column' does, but apparently this is supposed to get the string value from the selected ListBox item. However, it is not working. I just get empty values for my descriptionName variable. Any ideas?



-- modified at 10:04 Thursday 14th June, 2007
GeneralRe: Storing a selected ListBox item into a String variable Pin
Guffa13-Jun-07 11:47
Guffa13-Jun-07 11:47 
GeneralRe: Storing a selected ListBox item into a String variable Pin
reegan4114-Jun-07 4:03
reegan4114-Jun-07 4:03 
QuestionChanging text on button in MessageBox Pin
ctlqt1213-Jun-07 6:55
ctlqt1213-Jun-07 6:55 
AnswerRe: Changing text on button in MessageBox Pin
Dave Kreskowiak13-Jun-07 7:14
mveDave Kreskowiak13-Jun-07 7:14 
AnswerRe: Changing text on button in MessageBox Pin
koolprasad200313-Jun-07 19:39
professionalkoolprasad200313-Jun-07 19:39 
Questionunknown problem. please help. Pin
manni_n13-Jun-07 5:51
manni_n13-Jun-07 5:51 
AnswerRe: unknown problem. please help. Pin
vbnetnoowb13-Jun-07 6:03
vbnetnoowb13-Jun-07 6:03 
GeneralRe: unknown problem. please help. Pin
manni_n13-Jun-07 20:11
manni_n13-Jun-07 20:11 
GeneralHelp with string comparison Pin
Psycho-*Coder*-Extreme13-Jun-07 5:25
Psycho-*Coder*-Extreme13-Jun-07 5:25 
GeneralRe: Help with string comparison Pin
nlarson1113-Jun-07 5:29
nlarson1113-Jun-07 5:29 
GeneralRe: Help with string comparison [Resolved] Pin
Psycho-*Coder*-Extreme13-Jun-07 6:34
Psycho-*Coder*-Extreme13-Jun-07 6:34 
QuestionRetrieving and restoring extended desktop settings with EnumDisplaySettingsEx [modified] Pin
vbnetnoowb13-Jun-07 4:49
vbnetnoowb13-Jun-07 4:49 
AnswerRe: Retrieving and restoring extended desktop settings with EnumDisplaySettingsEx Pin
Dave Kreskowiak13-Jun-07 7:16
mveDave Kreskowiak13-Jun-07 7:16 
GeneralRe: Retrieving and restoring extended desktop settings with EnumDisplaySettingsEx Pin
vbnetnoowb13-Jun-07 7:31
vbnetnoowb13-Jun-07 7:31 
GeneralRe: Retrieving and restoring extended desktop settings with EnumDisplaySettingsEx Pin
Dave Kreskowiak13-Jun-07 15:44
mveDave Kreskowiak13-Jun-07 15:44 
QuestionVB6 - Controls Can't Be Unlocked [SOLVED] [modified] Pin
#realJSOP13-Jun-07 2:45
professional#realJSOP13-Jun-07 2:45 
AnswerRe: VB6 - Controls Can't Be Unlocked Pin
Craster13-Jun-07 3:08
Craster13-Jun-07 3:08 

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.