Ĺadny brzuch
Jak w Delphi odczytać samą nazwę pliku z OPenDialog(bez nazw folderów, w jakich się on znajduje)?
----------------
Kamil Wajda
GG: 8863160
Błagam o pomoc w rozkręceniu mojego forum: http://i.1asphost.com/kamil502/ (lub: http://www.kamil502.forum.prv.pl/ )
ExtractFileDir //Extracts the drive and directory parts from FileName
ExtractFileDrive //Returns the drive portion of a file name.
ExtractFileExt //Returns the extension portions of a file name.
ExtractFileName //Extracts the name and extension parts of a file name.
ExtractFilePath //Returns the drive and directory portions of a file name.
ExtractRelativePath //Returns a relative path name, relative to a specific base directory.
ExtractShortPathName //Converts a file name to the short 8.3 form.
Jak nie umiesz angielskiego to napisz ;), Tekst pochodzi z Helpa Delphiego 7 który jest najlepszym źródłem wiedzy.
-------------- ------------- ------------- --------------- ------
literka M literka K literka S jak eMKaeS lallaalallalalalallalalallallalala
-------------- --------------- ------------- --------------- ----
Jestem Ci niezmiernie wdzięczny, właśnie o takie funkcje mi chodziło.
----------------
Kamil Wajda
GG: 8863160
Błagam o pomoc w rozkręceniu mojego forum: http://i.1asphost.com/kamil502/ (lub: http://www.kamil502.forum.prv.pl/ )
Służy do tego funkcja:
ExtractFileName(nazwa_pliku): sama_nazwa_pliku;
Zwarca nazwę pliku razem z rzszeżeniem.
Są jeszcze funkcje:
ExtractFileExt - rozszeżeni
ExtractFilePath - ścieżka +
ExtractFileDir - sam ścieżka bez
ChangeFileExt - zmienia rozszeżenie
Look for: http://strefa_progra...ia.w.interia.pl
http://strefa.w.szu.pl/
zanotowane.pl doc.pisz.pl pdf.pisz.pl zsf.htw.pl
----------------
Kamil Wajda
GG: 8863160
Błagam o pomoc w rozkręceniu mojego forum: http://i.1asphost.com/kamil502/ (lub: http://www.kamil502.forum.prv.pl/ )
ExtractFileDir //Extracts the drive and directory parts from FileName
ExtractFileDrive //Returns the drive portion of a file name.
ExtractFileExt //Returns the extension portions of a file name.
ExtractFileName //Extracts the name and extension parts of a file name.
ExtractFilePath //Returns the drive and directory portions of a file name.
ExtractRelativePath //Returns a relative path name, relative to a specific base directory.
ExtractShortPathName //Converts a file name to the short 8.3 form.
Jak nie umiesz angielskiego to napisz ;), Tekst pochodzi z Helpa Delphiego 7 który jest najlepszym źródłem wiedzy.
-------------- ------------- ------------- --------------- ------
literka M literka K literka S jak eMKaeS lallaalallalalalallalalallallalala
-------------- --------------- ------------- --------------- ----
Jestem Ci niezmiernie wdzięczny, właśnie o takie funkcje mi chodziło.
----------------
Kamil Wajda
GG: 8863160
Błagam o pomoc w rozkręceniu mojego forum: http://i.1asphost.com/kamil502/ (lub: http://www.kamil502.forum.prv.pl/ )
Służy do tego funkcja:
ExtractFileName(nazwa_pliku): sama_nazwa_pliku;
Zwarca nazwę pliku razem z rzszeżeniem.
Są jeszcze funkcje:
ExtractFileExt - rozszeżeni
ExtractFilePath - ścieżka +
ExtractFileDir - sam ścieżka bez
ChangeFileExt - zmienia rozszeżenie
Look for: http://strefa_progra...ia.w.interia.pl
http://strefa.w.szu.pl/