Click here to Skip to main content
15,892,253 members
Home / Discussions / Visual Basic
   

Visual Basic

 
AnswerRe: Finding out if service is responsive QueryServiceStatus () Pin
Dave Kreskowiak14-Jun-07 6:19
mveDave Kreskowiak14-Jun-07 6:19 
GeneralRe: Finding out if service is responsive QueryServiceStatus () Pin
berghain14-Jun-07 22:08
berghain14-Jun-07 22:08 
GeneralRe: Finding out if service is responsive QueryServiceStatus () Pin
Dave Kreskowiak15-Jun-07 4:05
mveDave Kreskowiak15-Jun-07 4:05 
GeneralRe: Finding out if service is responsive QueryServiceStatus () Pin
berghain15-Jun-07 4:28
berghain15-Jun-07 4:28 
GeneralRe: Finding out if service is responsive QueryServiceStatus () Pin
Dave Kreskowiak15-Jun-07 8:13
mveDave Kreskowiak15-Jun-07 8:13 
QuestionHow to read XML file and write it into Excel by using VB.Net 2.0 Pin
Be_Aman14-Jun-07 4:19
Be_Aman14-Jun-07 4:19 
AnswerRe: How to read XML file and write it into Excel by using VB.Net 2.0 Pin
Dave Kreskowiak14-Jun-07 6:08
mveDave Kreskowiak14-Jun-07 6:08 
QuestionManipulating ListBoxes in MS Access/VBA Pin
reegan4114-Jun-07 4:12
reegan4114-Jun-07 4:12 
I'm working with Microsoft Access, using VBA, and I want to be able to click on an item in a ListBox, then use the AfterUpdate() Sub-routine for that ListBox control, and be able to store that value into a String variable. My loop is as follows:

***START***
Private Sub Descriptions_lst_AfterUpdate()
Dim iterator As Integer
Dim descriptionName As String
'ListBox name is simply Descriptions_lst

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***

The loop is working correctly, however, the 'if' statement is not evaluating to true, so I therefore cannot test to see if the code inside the 'if' statement is even valid in retrieving the String equivalent for the selected item. Any ideas?


AnswerRe: Manipulating ListBoxes in MS Access/VBA Pin
Dave Kreskowiak14-Jun-07 5:59
mveDave Kreskowiak14-Jun-07 5:59 
GeneralRe: Manipulating ListBoxes in MS Access/VBA Pin
reegan4114-Jun-07 6:05
reegan4114-Jun-07 6:05 
GeneralRe: Manipulating ListBoxes in MS Access/VBA Pin
Dave Kreskowiak14-Jun-07 6:13
mveDave Kreskowiak14-Jun-07 6:13 
GeneralRe: Manipulating ListBoxes in MS Access/VBA Pin
reegan4114-Jun-07 7:06
reegan4114-Jun-07 7:06 
GeneralRe: Manipulating ListBoxes in MS Access/VBA Pin
reegan4114-Jun-07 7:18
reegan4114-Jun-07 7:18 
GeneralRe: Manipulating ListBoxes in MS Access/VBA Pin
Dave Kreskowiak14-Jun-07 8:18
mveDave Kreskowiak14-Jun-07 8:18 
GeneralRe: Manipulating ListBoxes in MS Access/VBA Pin
reegan4114-Jun-07 9:05
reegan4114-Jun-07 9:05 
QuestionHow to ristrict a Windows form to Single instance Pin
pashitech14-Jun-07 4:04
pashitech14-Jun-07 4:04 
AnswerRe: How to ristrict a Windows form to Single instance Pin
Dave Kreskowiak14-Jun-07 5:52
mveDave Kreskowiak14-Jun-07 5:52 
QuestionDeveloping a Keylogger Pin
akatsa14-Jun-07 3:49
akatsa14-Jun-07 3:49 
AnswerRe: Developing a Keylogger Pin
Colin Angus Mackay14-Jun-07 4:52
Colin Angus Mackay14-Jun-07 4:52 
AnswerRe: Developing a Keylogger Pin
Dave Kreskowiak14-Jun-07 5:48
mveDave Kreskowiak14-Jun-07 5:48 
GeneralRe: Developing a Keylogger Pin
MatrixCoder14-Jun-07 9:24
MatrixCoder14-Jun-07 9:24 
GeneralRe: Developing a Keylogger Pin
Dave Kreskowiak14-Jun-07 9:42
mveDave Kreskowiak14-Jun-07 9:42 
Questioncodes samples Pin
ekpeno14-Jun-07 3:38
ekpeno14-Jun-07 3:38 
AnswerRe: codes samples Pin
leckey14-Jun-07 4:08
leckey14-Jun-07 4:08 
AnswerRe: codes samples Pin
Pualee14-Jun-07 6:27
Pualee14-Jun-07 6:27 

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.