CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2
  1. #1
    Join Date
    Mar 1999
    Posts
    2

    How to solve the long filename/path in ListBox?



    I use ListBox function Dir(...) in VC5.0,but it display a short path/filename. How to solve this problem to display long path/filename?




  2. #2
    Join Date
    May 1999
    Posts
    123

    Re: How to solve the long filename/path in ListBox?



    Use FindFirstFile, FindNextFile and FindClose, or else CFileFind to search for files, and put the names in the list box.

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

Featured