Results 1 to 6 of 6

Thread: how to Get Folder Name VB6!!!

Hybrid View

  1. #1
    I'm about to be a PowerPoster! Hack's Avatar
    Join Date
    Aug 2001
    Location
    Searching for mendhak
    Posts
    58,333

    Re: how to Get Folder Name VB6!!!

    Try this
    Code:
    Private Sub Command1_Click()
    Dim strLoad As String
    Dim strDate As String
    strDate = Format(Now, "mmddyyyy")
    List1.Clear
    strLoad = Dir("d:\*.*")
    Do While strLoad > vbNullString
       If strDate = strLoad Then 'we have a match
          'do something
       End If
       strLoad = Dir
    Loop
    End Sub

  2. #2

    Thread Starter
    New Member
    Join Date
    Jul 2007
    Posts
    7

    Re: how to Get Folder Name VB6!!!

    when i try that code its returning file names, instead of folder names.

  3. #3

    Thread Starter
    New Member
    Join Date
    Jul 2007
    Posts
    7

    Exclamation Re: how to Get Folder Name VB6!!!

    i need to return folder names instead of filenames please help!

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