Results 1 to 2 of 2

Thread: [RESOLVED] treeview help

  1. #1

    Thread Starter
    Banned
    Join Date
    Nov 2012
    Posts
    1,171

    Resolved [RESOLVED] treeview help

    i add items on treeview using this code
    adds icon with item
    Code:
    treeview1.Nodes.Add , , strLine, strLine, 2, 2

    and now i wish to send alll items in treeview1 using this command but not working am little lost


    Code:
    Dim i As Integer
    For i = treeview1.Nodes.Count - 1 To 0 Step -1
    frmMain.ConnSocket.SendData treeview1.Nodes(i).text 
    Next i

    am trying to send that to server , trying to send all list items in treeview1 in server please help
    Last edited by ladoo; Jan 9th, 2013 at 04:19 PM.

  2. #2

    Thread Starter
    Banned
    Join Date
    Nov 2012
    Posts
    1,171

    Re: treeview help

    i done it

    Code:
    Dim i As Integer
    
    On Error GoTo 1
    For i = 1 To VcUsers.Nodes.Count
    
    frmMain.ConnSocket.SendData VcUsers.Nodes(i).Text & "|updateonlinene|"
    
    
    
    1:
    Next i
    Last edited by ladoo; Jan 9th, 2013 at 04:57 PM.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width