Click here to Skip to main content
       

Visual Basic

 
QuestionEditing columns in a CSV File PinmemberMike Prophete12-Feb-13 11:29 
AnswerRe: Editing columns in a CSV File PinmvpEddy Vluggen13-Feb-13 9:13 
AnswerRe: Editing columns in a CSV File PinmvpMichael Haephrati מיכאל האפרתי20-Feb-13 3:57 
QuestionHelp required in grid conditon Pinmembersiddisagar12-Feb-13 4:09 
Questionant colony algorithm Pinmembershowdowngh12-Feb-13 3:20 
AnswerRe: ant colony algorithm PinmemberSimon_Whale12-Feb-13 3:57 
AnswerRe: ant colony algorithm PinmvpDave Kreskowiak12-Feb-13 11:47 
QuestionHow to add Listview subitem with For Loop Pinmemberkurja-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 PinmvpRichard MacCutchan9-Feb-13 21:44 
GeneralRe: How to add Listview subitem with For Loop Pinmemberkurja-kurdoh19-Feb-13 6:38 
GeneralRe: How to add Listview subitem with For Loop PinmvpRichard MacCutchan19-Feb-13 6:59 
GeneralRe: How to add Listview subitem with For Loop Pinmemberkurja-kurdoh19-Feb-13 18:02 
GeneralRe: How to add Listview subitem with For Loop PinmvpRichard MacCutchan19-Feb-13 21:50 
Questionvb6 code for grow island or grow valley game PinmemberShiela Alvarez7-Feb-13 14:25 
AnswerRe: vb6 code for grow island or grow valley game PinmvpDave Kreskowiak7-Feb-13 18:48 
GeneralRe: vb6 code for grow island or grow valley game PinmemberShiela Alvarez23-Feb-13 4:34 
GeneralRe: vb6 code for grow island or grow valley game PinmvpDave Kreskowiak23-Feb-13 5:16 
QuestionThis File has been modified outside the source editor. PinmemberQuickBooksDev5-Feb-13 3:53 
QuestionRe: This File has been modified outside the source editor. PinmvpEddy Vluggen5-Feb-13 5:05 
AnswerRe: This File has been modified outside the source editor. PinmemberQuickBooksDev5-Feb-13 7:23 
AnswerRe: This File has been modified outside the source editor. PinmvpEddy Vluggen5-Feb-13 9:30 
GeneralRe: This File has been modified outside the source editor. PinmemberQuickBooksDev5-Feb-13 9:49 
GeneralRe: This File has been modified outside the source editor. PinmvpEddy Vluggen5-Feb-13 10:01 
GeneralRe: This File has been modified outside the source editor. PinmemberQuickBooksDev6-Feb-13 0:02 
QuestionUse Stored Procedure with VB6 ADODC PinmemberYusuf Mohammad4-Feb-13 22:57 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    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
Web03 | 2.8.141022.1 | Last Updated 22 Oct 2014
Copyright © CodeProject, 1999-2014
All Rights Reserved. Terms of Service
Layout: fixed | fluid