Search found 25 matches: cfileext

Return to advanced search

Re: cFileExt

cpheraclio wrote:? cExt == cExt2 FALSO
? cExt != cExt2 FALSO


? !( cExt == cExt2 )
by Enrico Maria Giordano
Thu May 04, 2023 2:14 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: cFileExt
Replies: 3
Views: 325

Re: cFileExt

Enrico Maria Giordano wrote:
cpheraclio wrote:? cExt == cExt2
? cExt != cExt2


!= is the opposite of =
!= is not the opposite of ==
!( == ) is the opposite of ==


Gracias por responder.

? cExt == cExt2 FALSO
? cExt != cExt2 FALSO

? cExt2 == cExt FALSO
? cExt2 != cExt VERDADERO
by cpheraclio
Thu May 04, 2023 1:40 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: cFileExt
Replies: 3
Views: 325

Re: cFileExt

cpheraclio wrote:? cExt == cExt2
? cExt != cExt2


!= is the opposite of =
!= is not the opposite of ==
!( == ) is the opposite of ==
by Enrico Maria Giordano
Thu May 04, 2023 7:50 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: cFileExt
Replies: 3
Views: 325

cFileExt

cFile:="C:\Users\Admin\Documents\Projects\dbf\timbres.xlsx"
cExt:=Upper(cFileExt(cFile))
cExt2:="XLS"

? cExt,cExt2

? cExt == cExt2
? cExt != cExt2

En los 2 casos retorna FALSO :shock:

FiveWin 2203, xHarbour 10264
by cpheraclio
Wed May 03, 2023 10:11 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: cFileExt
Replies: 3
Views: 325

EMF - Enhanced meta file no se borran

... if Empty( oPrinter:cFile ) oPrinter:Preview() elseif "pdf" $ Lower( oPrinter:cFile ) FWSavePreviewToPDF( oPrinter, If( Lower( cFileExt( oPrinter:cFile ) ) == "pdf", ; oPrinter:cFile, nil ), oPrinter:lPreview ) oPrinter:End() elseif "emf" $ Lower( oPrinter:cFile ...
by mterraz
Mon Aug 06, 2018 10:20 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: EMF - Enhanced meta file no se borran
Replies: 0
Views: 569

Re: ADORDD FAQs

Angel, Aqui sigue funcionando bien. Lo que he visto es que hay funciones de FWH repetidas dentro de AdoRdd.prg Cambia estas funciones a static en AdoRdd.prg ó simplemente bórralas de AdoRdd : ADORDD.obj : warning LNK4006: _HB_FUN_ADONULL already defined in Fivehm.lib(ADOFUNCS.obj); second definitio...
by gautxori
Sun May 15, 2016 8:15 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: ADORDD FAQs
Replies: 87
Views: 19631

Re: ADORDD FAQs

Angel, Aqui sigue funcionando bien. Lo que he visto es que hay funciones de FWH repetidas dentro de AdoRdd.prg Cambia estas funciones a static en AdoRdd.prg ó simplemente bórralas de AdoRdd : ADORDD.obj : warning LNK4006: _HB_FUN_ADONULL already defined in Fivehm.lib(ADOFUNCS.obj); second definition...
by Antonio Linares
Sun May 15, 2016 7:27 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: ADORDD FAQs
Replies: 87
Views: 19631

Re: Know if is an image file

Silvio, You can get the file-extensions using : cFileExt() Retrieves the extension from a filename Syntax: cFileExt( <cFileName> ) --> cExtName Parameters: <cFileName> The filename whose extension to retrieve, if the extension has ...
by ukoenig
Fri Jan 15, 2016 1:12 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Know if is an image file
Replies: 2
Views: 619

Re: EasyReport printing bmp files

... ::nLeftMargin + oItem:nLeft, .F. ), ; oImg, ; ::ToPix( oItem:nWidth, .F. ), ; ::ToPix( oItem:nHeight, .T. ) ) oImg:End() I changed to: if UPPER( cFileExt( cText ) ) = "BMP" ::oPrn:SayBitmap( ::ToPix( nItemTop, .T. ), ; ::ToPix( ::nLeftMargin + oItem:nLeft, .F. ), ; cText, ; ::ToPix( ...
by Otto
Sat Sep 12, 2015 10:28 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: EasyReport printing bmp files
Replies: 12
Views: 2305

Almacenar/Recuperar imagenes, binarios en Tablas DBF

... RETURN 0 ENDIF IF !FILE(cFileOrg) MsgAlert("Archivo "+cFileOrg+" no Existe") RETURN 0 ENDIF IF UPPE(cFileExt(cFileOrg))="ZIP" cFileZip:=cFileOrg lZip :=.T. ELSE // El Archivo Original es Comprimido en Formato Zip HB_ZipFile( cFileZip, aFiles, ...
by jnavas
Mon Mar 09, 2015 1:23 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: Almacenar/Recuperar imagenes, binarios en Tablas DBF
Replies: 12
Views: 5010

Re: Antonio - FIMakeThumbNailen timage

... nHeight ) oThumb:hBmp := hImage Return oThumb Function GDIPlusSaveThumbnail( cImageIni, cImageEnd , nWhidth, nHeight ) local cExtIni := Upper(cFileExt( cImageIni )) local oImage:= GDIBmp():New( cImageIni ) local oThumb local nScan if( nScan:= aScan( oImage:aExtIni, cExtIni )) == 0 Msginfo( ...
by cnavarro
Thu Dec 04, 2014 6:21 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: Antonio - FIMakeThumbNailen timage
Replies: 6
Views: 656

Re: Antonio - FIMakeThumbNailen timage

... nHeight ) oThumb:hBmp := hImage Return oThumb Function GDIPlusSaveThumbnail( cImageIni, cImageEnd , nWhidth, nHeight ) local cExtIni := Upper(cFileExt( cImageIni )) local oImage:= GDIBmp():New( cImageIni ) local oThumb local nScan if( nScan:= aScan( oImage:aExtIni, cExtIni )) == 0 Msginfo( ...
by mastintin
Wed Dec 03, 2014 8:36 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Antonio - FIMakeThumbNailen timage
Replies: 6
Views: 656

Re: La nueva apariencia de EasyReport

... ¿ Cual es el problema ? En vrd.prg al principio del Metodo New() linea 228 mas o menos ... ::cReportName = cReportName xExtension := AllTrim(Upper(cFileExt( cReportName ))) IF Len(xExtension )> 3 xExtension := Left(xExtension,3) ENDIF ::lNewFormat := IF( xExtension == "ERD" , .T., ...
by mastintin
Mon Oct 13, 2014 10:54 am
 
Forum: EasyReport, EasyDialog y EasyPreview
Topic: La nueva apariencia de EasyReport
Replies: 226
Views: 155634

Possible to < DISABLE ! > TSelex - options ?

... Because of the FREEIMAGE-problems, maybe deleting this new added option again ? I can protect a TSelex-option like : oSelex1:bOnSelect := {|| IIF( cFileExt( cLImage1 ) = "BMP" .and. oSelex1:nOption = 9 ; .and. oSelex2:nOption = 2, ; // FREEIMAGE selected MsgAlert( "Not possible, ...
by ukoenig
Tue Dec 10, 2013 11:13 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Possible to < DISABLE ! > TSelex - options ?
Replies: 0
Views: 427

New FTDN February/Febrero 2012 (FWH 12.02)

... with recent FixSays() changes: http://forums.fivetechsupport.com/viewtopic.php?p=125946#p125946 * Fix: Due to recent changes in function cFileExt(), source\classes\printer.prg required two minor changes. Now it is ok: http://forums.fivetechsupport.com/viewtopic.php?p=125949#p125949 * ...
by Antonio Linares
Thu Mar 01, 2012 12:40 pm
 
Forum: WhatsNew / Novedades
Topic: New FTDN February/Febrero 2012 (FWH 12.02)
Replies: 0
Views: 1683
Next

Return to advanced search