Click here to Skip to main content
15,898,035 members
Home / Discussions / Visual Basic
   

Visual Basic

 
QuestionIterate through Array Pin
Larry White9-Feb-07 7:27
Larry White9-Feb-07 7:27 
AnswerRe: Iterate through Array Pin
Dave Kreskowiak9-Feb-07 7:38
mveDave Kreskowiak9-Feb-07 7:38 
GeneralRe: Iterate through Array Pin
Larry White9-Feb-07 8:01
Larry White9-Feb-07 8:01 
AnswerRe: Iterate through Array Pin
Guffa9-Feb-07 7:39
Guffa9-Feb-07 7:39 
GeneralRe: Iterate through Array Pin
Larry White9-Feb-07 8:35
Larry White9-Feb-07 8:35 
AnswerRe: Iterate through Array Pin
Guffa10-Feb-07 3:57
Guffa10-Feb-07 3:57 
GeneralRe: Iterate through Array Pin
Larry White12-Feb-07 4:33
Larry White12-Feb-07 4:33 
AnswerRe: Iterate through Array Pin
Guffa12-Feb-07 4:57
Guffa12-Feb-07 4:57 
The code look pretty strange...

Where do you declare the strName variable? You use the strName variable, but you haven't given it any value before using it. You give it a value later in the loop, so it will have a value for the next iteration of the loop, but not for the first iteration. Also, the value that you assign to it in the last iteration will never be used.

You create an array from the items in the list arrList2, but you just throw the array away without doing anything with it. Why?


---
single minded; short sighted; long gone;

GeneralRe: Iterate through Array Pin
Larry White12-Feb-07 5:21
Larry White12-Feb-07 5:21 
AnswerRe: Iterate through Array Pin
Guffa13-Feb-07 11:34
Guffa13-Feb-07 11:34 
GeneralRe: Iterate through Array Pin
Larry White15-Feb-07 4:29
Larry White15-Feb-07 4:29 
QuestionXML Serialisation Pin
Sebastian T Xavier9-Feb-07 6:45
Sebastian T Xavier9-Feb-07 6:45 
AnswerRe: XML Serialisation Pin
TwoFaced9-Feb-07 17:26
TwoFaced9-Feb-07 17:26 
GeneralRe: XML Serialisation Pin
Sebastian T Xavier11-Feb-07 23:26
Sebastian T Xavier11-Feb-07 23:26 
Questionopen sound file button Pin
comicsuperfan19-Feb-07 5:26
comicsuperfan19-Feb-07 5:26 
QuestionReconnaître un répertoire en lecture seul Pin
prady929-Feb-07 4:23
prady929-Feb-07 4:23 
AnswerRe: Reconnaître un répertoire en lecture seul Pin
Dave Kreskowiak9-Feb-07 5:24
mveDave Kreskowiak9-Feb-07 5:24 
AnswerRe: Reconnaître un répertoire en lecture seul Pin
Garth J Lancaster9-Feb-07 13:29
professionalGarth J Lancaster9-Feb-07 13:29 
QuestionData Report of vb 6 Not refresh help required Pin
amjad ali shah9-Feb-07 3:06
amjad ali shah9-Feb-07 3:06 
Questionclass library Pin
dalbhide bipin9-Feb-07 1:35
dalbhide bipin9-Feb-07 1:35 
AnswerRe: class library Pin
Bassam Saoud9-Feb-07 2:42
Bassam Saoud9-Feb-07 2:42 
QuestionHow to get combobox value in a textbox Pin
rrrriiizz9-Feb-07 0:31
rrrriiizz9-Feb-07 0:31 
AnswerRe: How to get combobox value in a textbox Pin
amjad ali shah9-Feb-07 1:05
amjad ali shah9-Feb-07 1:05 
GeneralRe: How to get combobox value in a textbox Pin
rrrriiizz9-Feb-07 17:32
rrrriiizz9-Feb-07 17:32 
GeneralRe: How to get combobox value in a textbox [modified] Pin
The ANZAC9-Feb-07 19:05
The ANZAC9-Feb-07 19:05 

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.