tree view

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • devvrat
    New Member
    • Feb 2007
    • 1

    #1

    tree view

    hi! i m tryng to make an appliation to view all the directories and sub directories in tree view control..and want to copy one file by just selecting and dropping it in to another folder...can anyone help me to create the tree view...its very urgent...help me out...
  • chazcross
    New Member
    • Feb 2007
    • 31

    #2
    This will give you a start on code to display the folders and files

    http://www.vbip.com/miscellaneous/directory-info/dir-info-01.asp

    When you click on the file store the entire path including the filename
    and when you drag the file and release the mouse button determine if the spot you released the button is a file or folder. If it is a folder , get its parent directory

    and refer to this for code on moving files

    http://msdn2.microsoft .com/en-us/library/system.io.file. move.aspx

    If you need help with coding this, ill be more than happy to help. But give it a shot first.

    Comment

    Working...