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 » knowing extinsion and name
knowing extinsion and name [message #17828] Sat, 30 August 2008 10:19 Go to next message
TeCNoYoTTa is currently offline  TeCNoYoTTa
Messages: 138
Registered: July 2008
Location: Egypt
Experienced Member

can FileSel tell me the extension of selected file or the name of selected file only .....not the whole path
Re: knowing extinsion and name [message #17829 is a reply to message #17828] Sat, 30 August 2008 10:25 Go to previous messageGo to next message
mirek is currently offline  mirek
Messages: 13975
Registered: November 2005
Ultimate Member
TeCNoYoTTa wrote on Sat, 30 August 2008 04:19

can FileSel tell me the extension of selected file or the name of selected file only .....not the whole path


No.

But you can easily "parse" the path using:

GetFileExt
GetFileName
GetFileTitle

Mirek
Re: knowing extinsion and name [message #17830 is a reply to message #17829] Sat, 30 August 2008 12:29 Go to previous message
TeCNoYoTTa is currently offline  TeCNoYoTTa
Messages: 138
Registered: July 2008
Location: Egypt
Experienced Member

thanks alot Mirek
Previous Topic: FindFile Problem
Next Topic: FileSel and international files problem when getting icon image
Goto Forum:
  


Current Time: Fri Mar 29 00:29:24 CET 2024

Total time taken to generate the page: 0.01380 seconds