Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » U++ Library support » FileSel&FileList, Path » Get Files in a directory
Re: Get Files in a directory [message #7256 is a reply to message #7237] Tue, 19 December 2006 17:11 Go to previous messageGo to previous message
mirek is currently offline  mirek
Messages: 13980
Registered: November 2005
Ultimate Member
Use FindFile.

FindFile ff(AppendFileName(mydir, "*.*"));
while(ff) {
   ... you get the name in ff.GetName() and attributes in other methods
   ff.Next();
}


FileSystemInfo is most likely a overkill here - it is useful for very specific situation as virtualisation of filesystem. Typical use is using FilSel to browse directory on some else computer connected via TCP/IP (only).

Mirek

[Updated on: Tue, 19 December 2006 17:14]

Report message to a moderator

 
Read Message
Read Message
Read Message
Read Message
Previous Topic: How to select a starting directory for the FileSel
Next Topic: Button OK label in SaveAs dialog
Goto Forum:
  


Current Time: Mon May 27 21:33:18 CEST 2024

Total time taken to generate the page: 0.00748 seconds