Dynamically updated file list

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • monu121
    New Member
    • Jun 2007
    • 16

    #1

    Dynamically updated file list

    Hi,
    I want to create a program in VB 6.0 by which I can display all the file of a particular folder and if I will add or delete any file in that folder so this should be show only those file which is only present in folder. For this I want to use a combo box, plz help me.

    Thanks & Regards
    monu
  • hariharanmca
    Top Contributor
    • Dec 2006
    • 1977

    #2
    Originally posted by monu121
    Hi,
    I want to create a program in VB 6.0 by which I can display all the file of a particular folder and if I will add or delete any file in that folder so this should be show only those file which is only present in folder. For this I want to use a combo box, plz help me.

    Thanks & Regards
    monu

    you can see the reply in last post... do not double post your qurey...

    Comment

    • Killer42
      Recognized Expert Expert
      • Oct 2006
      • 8429

      #3
      Originally posted by hariharanmca
      you can see the reply in last post... do not double post your qurey...
      It doesn't look like a duplicate post to me. The prior one was about creating files, wasn't it? Not about getting the up to date file list.

      Anyway monu121, the FileListBox control will give you the list of files in a folder. Just set its .Path property to point to the folder. You should also look in the documentation for FileSystemObjec t - this gives you lots of functionality to work with drives, folders and files.

      Comment

      • hariharanmca
        Top Contributor
        • Dec 2006
        • 1977

        #4
        Originally posted by Killer42
        It doesn't look like a duplicate post to me. The prior one was about creating files, wasn't it? Not about getting the up to date file list.

        Anyway monu121, the FileListBox control will give you the list of files in a folder. Just set its .Path property to point to the folder. You should also look in the documentation for FileSystemObjec t - this gives you lots of functionality to work with drives, folders and files.
        i think topic had been changed today. okay no problem

        Comment

        • Killer42
          Recognized Expert Expert
          • Oct 2006
          • 8429

          #5
          Originally posted by hariharanmca
          i think topic had been changed today. okay no problem
          I changed the subject to better reflect the question, as per the guidelines. Subject-line of "Vb 6.0" wasn't very informative.

          Comment

          Working...