Hola me salio un error :shock: que no comprendo :?: me pueden orientar
Gracias. :wink:
ya lo repare solo quite el cFile := LFN2SFN( cFile ) y dejo de salir el error :mrgreen:
el error sale cuando se ejecutan estas mini funciones ...
Search found 47 matches: lfn2sfn
Searched query: lfn2sfn
- Tue Nov 22, 2022 6:00 pm
- Forum: FiveWin para Harbour/xHarbour
- Topic: AYUDA! Error BASE/1089 Error de argumento: ABS
- Replies: 5
- Views: 509
- Tue Sep 13, 2022 6:15 pm
- Forum: FiveWin para Harbour/xHarbour
- Topic: Directory del FTP
- Replies: 4
- Views: 478
Re: Directory del FTP
Karinha! Gracias por responder.
Cuando le doy un path a esa carpeta me devuelve el Lfn2Sfn correctamente, pero en este caso,
es una carpeta de una FTP, las cosas que intenté no he tenido resultados favorables...
Que puedo utilizar en estos casos??
Muchas gracias
Roberto
Cuando le doy un path a esa carpeta me devuelve el Lfn2Sfn correctamente, pero en este caso,
es una carpeta de una FTP, las cosas que intenté no he tenido resultados favorables...
Que puedo utilizar en estos casos??
Muchas gracias
Roberto
- Wed Jan 30, 2019 8:22 pm
- Forum: FiveWin for Harbour/xHarbour
- Topic: Long File Name to Short File Name converter
- Replies: 1
- Views: 434
Long File Name to Short File Name converter
I allways used lfn2sfn function
but I read that it is no longer supported, so if we had to read in a database field a very long string of an image file, how could we load it?
Example:
".\ Folder1 \ folder2 \ folder3 \ Folder4 \ Folder5 \ images \ name_file_image_mine.jpg"
any solution ?
but I read that it is no longer supported, so if we had to read in a database field a very long string of an image file, how could we load it?
Example:
".\ Folder1 \ folder2 \ folder3 \ Folder4 \ Folder5 \ images \ name_file_image_mine.jpg"
any solution ?
- Wed Jan 30, 2019 6:20 pm
- Forum: FiveWin for Harbour/xHarbour
- Topic: Show an Image on xbrowse Resolved!!
- Replies: 4
- Views: 1345
Re: Show an Image on xbrowse
... because the field have ".\images\OMBREL~2.PNG"
Give full path and name of the image. If XBrowse can read the file, it will display the image.
made
then I tried to insert
:bBmpData := { || lfn2sfn(rtrim( ( oBrw:cAlias )->ELIMGLIB)) }
but it make error
This is meaningless. So the error.
Give full path and name of the image. If XBrowse can read the file, it will display the image.
made
then I tried to insert
:bBmpData := { || lfn2sfn(rtrim( ( oBrw:cAlias )->ELIMGLIB)) }
but it make error
This is meaningless. So the error.
- Wed Jan 30, 2019 4:56 pm
- Forum: FiveWin for Harbour/xHarbour
- Topic: Show an Image on xbrowse Resolved!!
- Replies: 4
- Views: 1345
Show an Image on xbrowse Resolved!!
... 1]
:cDataType := 'F'
:nWidth := 80
:nDataBmpAlign := AL_CENTER
:lBmpTransparent := .T.
END
but not show the exactly image because the field have ".\images\OMBREL~2.PNG"
then I tried to insert
:bBmpData := { || lfn2sfn(rtrim( ( oBrw:cAlias )->ELIMGLIB)) }
but it make error
any solution ?
:cDataType := 'F'
:nWidth := 80
:nDataBmpAlign := AL_CENTER
:lBmpTransparent := .T.
END
but not show the exactly image because the field have ".\images\OMBREL~2.PNG"
then I tried to insert
:bBmpData := { || lfn2sfn(rtrim( ( oBrw:cAlias )->ELIMGLIB)) }
but it make error
any solution ?
- Fri Sep 07, 2018 4:49 pm
- Forum: FiveWin for Harbour/xHarbour
- Topic: filecopy not run
- Replies: 2
- Views: 700
filecopy not run
i made
cImgPath := ".\images\"
Filecopy( lfn2sfn(rtrim(EL->ELIMGLIB)), cImgPath+cFileLib)
sometimes save the file but many times not save any files
any solution ?
cImgPath := ".\images\"
Filecopy( lfn2sfn(rtrim(EL->ELIMGLIB)), cImgPath+cFileLib)
sometimes save the file but many times not save any files
any solution ?
- Wed Jan 25, 2017 8:37 am
- Forum: WhatsNew / Novedades
- Topic: New FTDN January/Enero 2017 (FWH 17.01)
- Replies: 1
- Views: 2491
New FTDN January/Enero 2017 (FWH 17.01)
... Class TDbCombo supports bLostFocus event:
http://forums.fivetechsupport.com/viewtopic.php?p=197281#p197281
* Enhancement: removed calls to Lfn2Sfn() from Class TGraph:
http://forums.fivetechsupport.com/viewtopic.php?p=197121𰈁
* Enhancement: Errors logs now include the used C ...
http://forums.fivetechsupport.com/viewtopic.php?p=197281#p197281
* Enhancement: removed calls to Lfn2Sfn() from Class TGraph:
http://forums.fivetechsupport.com/viewtopic.php?p=197121𰈁
* Enhancement: Errors logs now include the used C ...
- Sat Jan 07, 2017 10:57 am
- Forum: WhatsNew / Novedades
- Topic: New FTDN December/Diciembre 2016 (FWH 16.12)
- Replies: 10
- Views: 6765
Re: New FTDN December/Diciembre 2016 (FWH 16.12)
Antonio Linares wrote:But FWH apps may run on older Windows versions
Are we breaking backwards compatibility with this change ?
From W95 we have long filenames support, if I remember correctly.
Anyway, keep in mind that the function LFN2SFN() is only used in TGraph. So yes, you safely remove it.
EMG
- Fri Jan 06, 2017 9:09 pm
- Forum: WhatsNew / Novedades
- Topic: New FTDN December/Diciembre 2016 (FWH 16.12)
- Replies: 10
- Views: 6765
Re: New FTDN December/Diciembre 2016 (FWH 16.12)
Enrico,
What to use as a replacement for Lfn2Sfn() ? thanks
What to use as a replacement for Lfn2Sfn() ? thanks
- Fri Jan 06, 2017 1:40 pm
- Forum: FiveWin para Harbour/xHarbour
- Topic: ARCHVIO TXT
- Replies: 6
- Views: 1994
Re: ARCHVIO TXT
I think it's happening because you are using a long name in the path (\PTO_CORSSA). Try change to this:
cArchivoTxt := memoread(Lfn2Sfn("C:\SYSTEMA\PTO_CORSSA\salida.txt"))
cArchivoTxt := memoread(Lfn2Sfn("C:\SYSTEMA\PTO_CORSSA\salida.txt"))
- Thu Jan 05, 2017 12:56 pm
- Forum: WhatsNew / Novedades
- Topic: New FTDN December/Diciembre 2016 (FWH 16.12)
- Replies: 10
- Views: 6765
Re: New FTDN December/Diciembre 2016 (FWH 16.12)
In TGraph there are still a couple of calls to Lfn2Sfn(), that is definitely an obsolete function. Can you remove it?
EMG
EMG
- Mon Mar 07, 2016 12:17 pm
- Forum: Bugs report & fixes / Informe de errores y arreglos
- Topic: LFN2SFN in TGraph [Fixed]
- Replies: 0
- Views: 1513
LFN2SFN in TGraph [Fixed]
LFN2SFN is an old function that should be removed from TGraph and from other modules.
EMG
EMG
- Sat Jun 28, 2014 12:09 pm
- Forum: FiveWin for Harbour/xHarbour
- Topic: TGRAPH Repopulate
- Replies: 30
- Views: 11557
Re: TGRAPH Repopulate
... the dialog-background.
Because of more than 30 possible graph-values , it might be useful.
Yes not needed ( ! didn't change it )
AnsiToOem( Lfn2Sfn( ::cBitmap ) ) )
I still have to test again the different gradient and brush settings.
http://www.pflegeplus.com/IMAGES/Graph11. ...
Because of more than 30 possible graph-values , it might be useful.
Yes not needed ( ! didn't change it )
AnsiToOem( Lfn2Sfn( ::cBitmap ) ) )
I still have to test again the different gradient and brush settings.
http://www.pflegeplus.com/IMAGES/Graph11. ...
- Fri Jun 27, 2014 9:00 pm
- Forum: FiveWin for Harbour/xHarbour
- Topic: TGRAPH Repopulate
- Replies: 30
- Views: 11557
Re: TGRAPH Repopulate
... 125;, hBru ) ENDIF
When nDegrade == 2, you have used GradientBrush but not Gradient function with .t. as the last parameter. Why did you not use Gradient function itself?
Is it necessary to use "File( AnsiToOem( Lfn2Sfn( ::cBitmap ) ) )"? Is "File( ::cBitmap ) not enough?
When nDegrade == 2, you have used GradientBrush but not Gradient function with .t. as the last parameter. Why did you not use Gradient function itself?
Is it necessary to use "File( AnsiToOem( Lfn2Sfn( ::cBitmap ) ) )"? Is "File( ::cBitmap ) not enough?
- Mon Feb 20, 2012 9:57 am
- Forum: FiveWin for Harbour/xHarbour
- Topic: Problem with DIRECTORY() function
- Replies: 16
- Views: 6305
Re: Problem with DIRECTORY() function
Hello Boris,
As all is that complex it is very important to have good beta testers for your software.
BTW, did you try using Lfn2Sfn(cDir) with the directory-function?
Best regards,
Otto
Hi Otto,
All my software is tested for 8 years (web app) and more than 14 years (desktop)
Two months ago, I ...
As all is that complex it is very important to have good beta testers for your software.
BTW, did you try using Lfn2Sfn(cDir) with the directory-function?
Best regards,
Otto
Hi Otto,
All my software is tested for 8 years (web app) and more than 14 years (desktop)
Two months ago, I ...