Results 1 to 12 of 12

Thread: image for AxMSComctlLib.AxTreeView.Node (SOLVED)

Threaded View

  1. #1

    Thread Starter
    Lively Member
    Join Date
    Nov 1999
    Location
    Belgium
    Posts
    98

    image for AxMSComctlLib.AxTreeView.Node (SOLVED)

    HI,

    I need to add an image (icon) to the treeview from VB6 using vb.NET.
    I do this in an procedure (formatNode) where I pass the treeview by reference.
    But I always get errors. Can somebody help me with this.

    Code:
    Private Sub formatNode(ByRef control As AxMSComctlLib.AxTreeView)
            With control.Nodes.Item(myNodeCount) 'grab the current node
                .Expanded = True 'expand the node
                '.Image = ????? (please help !!!!)
            End With
        End Sub
    Last edited by R@emdonck; Dec 16th, 2002 at 11:44 AM.

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