Search found 12 matches: adsfile2blob

Return to advanced search

Re: funciones de FWH y Harbour en un archivo .txt

... ADSEvalAOF(<cFilter>)->nOptimizationLevel ADSFile2Blob(cFileName,cFieldName,<nBinaryType>)->lSuccess ADSGetAOF()->cFilter ADSGetAOFnoOpt()->cFilterFragment ADSGetAOFoptLevel()->nOptimizationLevel ...
by carlos vargas
Sat Oct 21, 2017 8:44 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: funciones de FWH y Harbour en un archivo .txt
Replies: 7
Views: 5627

Re: funciones de FWH y Harbour en un archivo .txt

... __Run __Zap AAdd Abs AChoice AClone ACopy ACos AddASCII AddMonth ADel ADir ADSBlob2File ADSClearAOF ADSCustomizeAOF AdsDDRemoveTable ADSEvalAOF ADSFile2Blob ADSGetAOF ADSGetAOFnoOpt ADSGetAOFoptLevel ADSGetRelKeyPos ADSIsRecordInAOF ADSKeyCount ADSKeyNo ADSLocking ADSRefreshAOF ADSRightsCheck ...
by carlos vargas
Sat Oct 21, 2017 8:43 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: funciones de FWH y Harbour en un archivo .txt
Replies: 7
Views: 5627

Re: lost memory with images in xBrowse

Hola Patricio, I use imagenes -> ( ADSFile2Blob( cFile, "imagen", 7 ) ) where ADS_BINARY 6 /* BLOB - any data */ ADS_IMAGE 7 but we can use this other simple method imagenes -> imagen := MEMOREAD( cFile ) By the way, some body ...
by Marcelo Via Giglio
Fri Dec 07, 2012 2:28 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: lost memory with images in xBrowse
Replies: 24
Views: 4943

Re: Bitmap to String

Oh. We shall find a way to do through SQL. Till then you are aware that adsFile2Blob(..) works and even much simpler way of ALIAS->IMAGEFIELD := MemoRead( <ImageFile> ) works well. I prefer the last simpler method. There is a sample at http://forums.fivetechsupport.com/viewtopic.php?f=6&t=18396 ...
by nageswaragunupudi
Sat Mar 27, 2010 9:48 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Bitmap to String
Replies: 11
Views: 4041

Re: Bitmap to String

... like this.. .."Update table Set blobfield = Convert( '1234567890' , SQL_BINARY )"     // => success..  I know there's adsFile2blob() but using SQL scalar Convert() or Cast() makes it more cleaner and simplified. Best regards, FAP
by fraxzi
Thu Mar 25, 2010 1:04 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Bitmap to String
Replies: 11
Views: 4041

Re: Grabar IMAGEN en campo de ADS Server (SOLUCIONADO)

... entonces al volcar el contenido del campo a disco le añado la extension. Luego tambien a tener en cuenta es el nombre del campo en la funcion adsfile2blob(), lo puse en MAYUSCULAS, y el tercer parametro ADS_BINARY. Nada mas, asi de simple. Espero le sirva a alguien mas. Mis dos granitos. Salu2, ...
by Ariel
Wed Mar 24, 2010 8:10 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Grabar IMAGEN en campo de ADS Server
Replies: 5
Views: 1030

Re: Grabar IMAGEN en campo de ADS Server

Ariel, yo lo uso de esta forma sin problemas

IF ! AdsFile2Blob( cFileImg, ( aFilesAdt[ 2 ] )->("Logotipo"), ADS_IMAGE )
MSGINFO( "Error Grabando Imagen", oApp:cSistema )
ENDIF

Cruz Oses
by compubrion
Tue Mar 23, 2010 3:47 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Grabar IMAGEN en campo de ADS Server
Replies: 5
Views: 1030

Re: Start program

Dear Natter, If you are using a table with BLOB field support like ADS for example. You can save the .exe to that field using AdsFile2Blob() function, export the content with AdsBlob2File() function. Then you can execute the exported binary (.exe). It's like executing .exe from variable/field. ...
by fraxzi
Sat Feb 20, 2010 2:27 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Start program
Replies: 10
Views: 1172

OH MY GOD!!! I'M SO SORRY MR. ANTONIO...


The above is so true and correct! :lol:


my mistake was that the alias 'DB' is positioned EOF... :lol: :lol: :lol:


that is why the adsfile2blob is returning FALSE....



IT'S WORKING PERPECTLY.....


Regards to you Mr. Antonio :D
by fraxzi
Tue Jun 10, 2008 1:58 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: saving image file to blob fields
Replies: 5
Views: 1285

Hello again Mr. Antonio,


The above coding returns .F. ( adsFile2blob() )...

Can I use the adsfilebinary() directly from xhb1.1/fivewin? If so how do you pass the parameter? adsfile2blob is much easier but I get .F. return.


Best regards,
by fraxzi
Mon Jun 09, 2008 3:08 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: saving image file to blob fields
Replies: 5
Views: 1285

Hello Mr. Antonio, Thank you for the reply. ADS_BINARY is 6 ands ADS_IMAGE is 7. I used it in the third parameter (like the above) ADSFile2Blob('file','field',7) I data type for 'field' is image or binary (ADT) but still not working... Maybe there's problem with the wrapper ADSFile2Blob ...
by fraxzi
Mon Jun 09, 2008 9:11 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: saving image file to blob fields
Replies: 5
Views: 1285

Ads y campos IMAGE

... tiene la imagen me muestra un ventana de error "BITMAP IMAGE IS NOT VALID" Lo estoy haciendo asi: #define ADS_IMAGE 7 //para Grabar recepdoc->( AdsFile2Blob( cFile, "IMAGEN", ADS_IMAGE ) ) //para recuperar cFile := cPathTmp + "\ImgTmp.jpg" RecepDoc->( AdsBlob2File( cFile, "IMAGEN" ) ) Cualquier ...
by Patricio Avalos Aguirre
Fri Dec 28, 2007 8:55 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Ads y campos IMAGE
Replies: 0
Views: 411

Return to advanced search