Click here to Skip to main content
12,449,149 members (56,251 online)

Visual Basic

 
QuestionEditing columns in a CSV File Pin
Mike Prophete12-Feb-13 11:29
memberMike Prophete12-Feb-13 11:29 
AnswerRe: Editing columns in a CSV File Pin
Eddy Vluggen13-Feb-13 9:13
mvpEddy Vluggen13-Feb-13 9:13 
AnswerRe: Editing columns in a CSV File Pin
Michael Haephrati מיכאל האפרתי20-Feb-13 3:57
mvpMichael Haephrati מיכאל האפרתי20-Feb-13 3:57 
QuestionHelp required in grid conditon Pin
siddisagar12-Feb-13 4:09
membersiddisagar12-Feb-13 4:09 
Questionant colony algorithm Pin
showdowngh12-Feb-13 3:20
membershowdowngh12-Feb-13 3:20 
AnswerRe: ant colony algorithm Pin
Simon_Whale12-Feb-13 3:57
memberSimon_Whale12-Feb-13 3:57 
AnswerRe: ant colony algorithm Pin
Dave Kreskowiak12-Feb-13 11:47
mvpDave Kreskowiak12-Feb-13 11:47 
QuestionHow to add Listview subitem with For Loop Pin
kurja-kurdoh9-Feb-13 17:58
memberkurja-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.

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


Advertise | Privacy | Mobile
Web02 | 2.8.160811.3 | Last Updated 26 Aug 2016
Copyright © CodeProject, 1999-2016
All Rights Reserved. Terms of Service
Layout: fixed | fluid