Search found 111 matches: cfilepath

Return to advanced search

Re: New FTDN October/Octubre 2023 (FWH 23.10)

... imagefilename, 2 ) * Nuevo: Ejemplo samples\dllexpl.prg, muestra cómo obtener las funciones exportadas de cualquier DLL. * Modificado: Función cFilePath( cFile ). Se elimina la función Upper() porque es práctico para los usuarios de algunos idiomas. https://forums.fivetechsupport.com/viewtopic.php?f=3&t=43850&sid=19db84a6686a199e5a8529b0d17e21d6 ...
by Antonio Linares
Sun Dec 03, 2023 4:46 pm
 
Forum: WhatsNew / Novedades
Topic: New FTDN October/Octubre 2023 (FWH 23.10)
Replies: 1
Views: 3901

New FTDN October/Octubre 2023 (FWH 23.10)

... ) or FWCopyToClipBoard( imagefilename, 2 ) * New: samples\dllexpl.prg shows how to get the exported functions of any DLL. * function cFilePath( cFile ). Upper() is removed as it is convinient to users of some languages. https://forums.fivetechsupport.com/viewtopic.php?f=3&t=43850&sid=19db84a6686a199e5a8529b0d17e21d6 ...
by Antonio Linares
Thu Nov 02, 2023 9:53 am
 
Forum: WhatsNew / Novedades
Topic: New FTDN October/Octubre 2023 (FWH 23.10)
Replies: 1
Views: 3901

Re: cFilePath issue.

... version FWH2310 going to be released at any time. I just availed the opportunity to discuss other options. Their functionality is not exactly like cFilePath One more. Works only of if the file exists: ? FileSysObj():GetFile( cFile ):ParentFolder:Path
by nageswaragunupudi
Wed Nov 01, 2023 8:37 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: cFilePath issue.
Replies: 4
Views: 316

Re: cFilePath issue.

nageswaragunupudi wrote:I think there should be no problem in removing Upper.

Meanwhile just for discussion, other ways are
Code: Select all  Expand view
cPath := BeforAtNum( "\", TrueName( cFile ) ) + "\"


Thank you Mr. Rao,

I understand that you recommend creating my own function and using it.
by Horizon
Wed Nov 01, 2023 7:45 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: cFilePath issue.
Replies: 4
Views: 316

Re: cFilePath issue.

I think there should be no problem in removing Upper.

Meanwhile just for discussion, other ways are
Code: Select all  Expand view
cPath := BeforAtNum( "\", TrueName( cFile ) ) + "\"
by nageswaragunupudi
Wed Nov 01, 2023 4:53 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: cFilePath issue.
Replies: 4
Views: 316

Re: cFilePath issue.

by karinha
Tue Oct 31, 2023 7:20 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: cFilePath issue.
Replies: 4
Views: 316

cFilePath issue.

Hi, This function is in filename.prg in \fwh\source\function directory. function cFilePath( cPathMask )   // returns path of a filename   local lUNC := "/" $ cPathMask   local cSep := If( lUNC, "/", "\" )   local n := RAt( ...
by Horizon
Tue Oct 31, 2023 6:31 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: cFilePath issue.
Replies: 4
Views: 316

Re: SkinButton() Problem

how are FUNCTION Pathonly() and Fileonly() called under Fivewin :?:


cFilePath( c )
cFileName( c ) OR cFileNoPath( c )

Please see \fwh\source\function\filename.prg for many other functions abt file and path names. etc
by nageswaragunupudi
Tue Apr 18, 2023 5:55 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: SkinButton() Problem
Replies: 19
Views: 960

Re: Administrator operations

... on exit. therefore the user_check procedure must return a true or false logical variable of the type function test() local oDlt, lCont cDbfPath:=cFilePath(GetModuleFileName( GetInstance() )) + "2013\dbf\" cExePath:= cFilePath(GetModuleFileName( GetInstance() )) * SET DEFAULT TO &cDbfPath ...
by Silvio.Falconi
Mon Jun 07, 2021 10:51 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Administrator operations
Replies: 2
Views: 369

Re: many bug about local file/directory when name is utf8

cFilePath()、GetModulefileName() ?
by ssbbs
Thu May 27, 2021 3:58 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: many bug about local file/directory when name is utf8
Replies: 19
Views: 1401

Re: many bug about local file/directory when name is utf8

I will test point by point and answer one by one. b. GetModulefileName/cFilePath.... ExeName: #include "fivewin.ch"REQUEST HB_CODEPAGE_UTF8function Main()   HB_CDPSELECT( "UTF8" )   FW_SetUnicode( .t. )? "ExeName()", ...
by nageswaragunupudi
Thu May 27, 2021 3:47 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: many bug about local file/directory when name is utf8
Replies: 19
Views: 1401

many bug about local file/directory when name is utf8

1. filename change from english to uft8, ex: 'abc.exe to ' 中文龍咙.exe'
2. directory is utf8 name, ex: 'c:\temp\中文龍咙\'

a. read/write .ini, GetPvProfString/WritePProfString....
b. GetModulefileName/cFilePath....
by ssbbs
Thu May 27, 2021 2:52 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: many bug about local file/directory when name is utf8
Replies: 19
Views: 1401

Re: change on line a combo

/ ??? Para que sirve, Silvio?
cIniFile := cFilePath( GetModuleFileName( GetInstance() ) ) + "tabledb.ini"


for save the state and other things
by Silvio.Falconi
Tue Nov 17, 2020 4:32 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: change on line a combo
Replies: 24
Views: 5336

Also for filename and subdir Resolved

... I wish save on record (dbf) only bitmaps\servizi\pattino.png I saw also filename.prg and not found a solution Function test() Local cIniFile := cFilePath( GetModuleFileName( GetInstance() ) ) + "Test.ini" Local cExePath := cFilePath( GetModuleFileName( GetInstance() ) ) Local cSerPath ...
by Silvio.Falconi
Sun Mar 15, 2020 5:27 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Also for filename and subdir Resolved
Replies: 4
Views: 925

Re: save an image url

Otto ,
sorry I TRIED with these functions

//?cFileNoPath( cPathMask )
//?cFilePath( cPathMask )
//?cFileDisc( cPathMask )
//?cFileNoExt( cPathMask )
//?cFileSubDir( cPathMask )
//? cFileUNC( cPathMask )
//? cRelativePath( cPathMask )

with no success!!!!

none give me ..\images\name.png
by Silvio.Falconi
Tue Feb 11, 2020 8:25 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: save an image url
Replies: 4
Views: 923
Next

Return to advanced search