Click here to Skip to main content
15,887,083 members
Home / Discussions / Visual Basic
   

Visual Basic

 
QuestionEditing columns in a CSV File Pin
Mike Prophete12-Feb-13 11:29
Mike Prophete12-Feb-13 11:29 
AnswerRe: Editing columns in a CSV File Pin
Eddy Vluggen13-Feb-13 9:13
professionalEddy Vluggen13-Feb-13 9:13 
AnswerRe: Editing columns in a CSV File Pin
Michael Haephrati20-Feb-13 3:57
professionalMichael Haephrati20-Feb-13 3:57 
QuestionHelp required in grid conditon Pin
siddisagar12-Feb-13 4:09
siddisagar12-Feb-13 4:09 
Questionant colony algorithm Pin
showdowngh12-Feb-13 3:20
showdowngh12-Feb-13 3:20 
AnswerRe: ant colony algorithm Pin
Simon_Whale12-Feb-13 3:57
Simon_Whale12-Feb-13 3:57 
AnswerRe: ant colony algorithm Pin
Dave Kreskowiak12-Feb-13 11:47
mveDave Kreskowiak12-Feb-13 11:47 
QuestionHow to add Listview subitem with For Loop Pin
kurja-kurdoh9-Feb-13 17:58
kurja-kurdoh9-Feb-13 17:58 
Dear Expert,
I have a Listview with subitem which i add populate data in listview which is lengthy, i want to shorten the code, i tried For loop but it give me error at run time. With Do loop it working.

VB
Do Until rs.EOF = True
                    Set LI = ListView1.ListItems.Add(, , rs(0))
                
                    'For x = 1 To 16
                        'LI.SubItems(i) = rs(x)
                        
                    'Next x
                   
                        LI.SubItems(1) = rs(1)
                        LI.SubItems(2) = rs(2)
                        LI.SubItems(3) = rs(3)
                        LI.SubItems(4) = rs(4)
                        LI.SubItems(5) = rs(5)
                        LI.SubItems(6) = rs(6)
                        LI.SubItems(7) = rs(7)
                        LI.SubItems(8) = rs(8)
                        LI.SubItems(9) = rs(9)
                        LI.SubItems(10) = rs(10)
                        LI.SubItems(11) = rs(11)
                        LI.SubItems(12) = rs(12)
                        LI.SubItems(13) = rs(13)
                        LI.SubItems(14) = rs(14)
                        LI.SubItems(15) = rs(15)
                        LI.SubItems(16) = rs(16)
                    rs.MoveNext
                Loop

AnswerRe: How to add Listview subitem with For Loop Pin
Richard MacCutchan9-Feb-13 21:44
mveRichard MacCutchan9-Feb-13 21:44 
GeneralRe: How to add Listview subitem with For Loop Pin
kurja-kurdoh19-Feb-13 6:38
kurja-kurdoh19-Feb-13 6:38 
GeneralRe: How to add Listview subitem with For Loop Pin
Richard MacCutchan19-Feb-13 6:59
mveRichard MacCutchan19-Feb-13 6:59 
GeneralRe: How to add Listview subitem with For Loop Pin
kurja-kurdoh19-Feb-13 18:02
kurja-kurdoh19-Feb-13 18:02 
GeneralRe: How to add Listview subitem with For Loop Pin
Richard MacCutchan19-Feb-13 21:50
mveRichard MacCutchan19-Feb-13 21:50 
Questionvb6 code for grow island or grow valley game Pin
Shiela Alvarez7-Feb-13 14:25
Shiela Alvarez7-Feb-13 14:25 
AnswerRe: vb6 code for grow island or grow valley game Pin
Dave Kreskowiak7-Feb-13 18:48
mveDave Kreskowiak7-Feb-13 18:48 
GeneralRe: vb6 code for grow island or grow valley game Pin
Shiela Alvarez23-Feb-13 4:34
Shiela Alvarez23-Feb-13 4:34 
GeneralRe: vb6 code for grow island or grow valley game Pin
Dave Kreskowiak23-Feb-13 5:16
mveDave Kreskowiak23-Feb-13 5:16 
QuestionThis File has been modified outside the source editor. Pin
QuickBooksDev5-Feb-13 3:53
QuickBooksDev5-Feb-13 3:53 
QuestionRe: This File has been modified outside the source editor. Pin
Eddy Vluggen5-Feb-13 5:05
professionalEddy Vluggen5-Feb-13 5:05 
AnswerRe: This File has been modified outside the source editor. Pin
QuickBooksDev5-Feb-13 7:23
QuickBooksDev5-Feb-13 7:23 
AnswerRe: This File has been modified outside the source editor. Pin
Eddy Vluggen5-Feb-13 9:30
professionalEddy Vluggen5-Feb-13 9:30 
GeneralRe: This File has been modified outside the source editor. Pin
QuickBooksDev5-Feb-13 9:49
QuickBooksDev5-Feb-13 9:49 
GeneralRe: This File has been modified outside the source editor. Pin
Eddy Vluggen5-Feb-13 10:01
professionalEddy Vluggen5-Feb-13 10:01 
GeneralRe: This File has been modified outside the source editor. Pin
QuickBooksDev6-Feb-13 0:02
QuickBooksDev6-Feb-13 0:02 
QuestionUse Stored Procedure with VB6 ADODC Pin
Yusuf Mohammad4-Feb-13 22:57
Yusuf Mohammad4-Feb-13 22:57 

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.