Results 1 to 19 of 19

Thread: [RESOLVED] How to have the path of a directory from a treeView

Hybrid View

  1. #1
    Fanatic Member Arve K.'s Avatar
    Join Date
    Sep 2008
    Location
    Kyrksæterøra, Norway
    Posts
    518

    Re: [RESOLVED] How to have the path of a directory from a treeView

    Yes, it works, but mine (apparently) is not the best way to do it...
    Arve K.

    Please mark your thread as resolved and add reputation to those who helped you solve your problem
    Disclaimer: I am not a professional programmer

  2. #2

    Thread Starter
    Member
    Join Date
    May 2007
    Posts
    60

    Re: [RESOLVED] How to have the path of a directory from a treeView

    by the way , can someone explain me what the sender is in

    Private Sub TreeView1_NodeMouseDoubleClick(ByVal sender As Object, ByVal e As System.Windows.Forms.TreeNodeMouseClickEventArgs) Handles TreeView1.NodeMouseDoubleClick

    I didn't also understant this nest code :

    MessageBox.Show(CType(sender, TreeNode).Tag.ToString)

    when i compile it , it retrurns a mistake , once i doubleclick on a node

    Thank your for your help !
    Last edited by saadmechiche; Nov 15th, 2009 at 07:51 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