Search found 23 matches: cmimeenc

Return to advanced search

Re: Convert

I used cMimeEnc() instead of strtohex()
by hua
Thu Sep 07, 2023 6:46 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Convert
Replies: 7
Views: 557

Re: CMIMEENC (pdf-file to mime)

Use

cResult := Hb_base64Encode(Hb_MemoRead('C:\Users\Marc\Documents\Factuur 20210005.pdf'))
by Giovany Vecchi
Thu Jan 14, 2021 3:45 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: CMIMEENC (pdf-file to mime)
Replies: 1
Views: 289

CMIMEENC (pdf-file to mime)

Hi, A want to add a PDF-file into a xml-file with mime (base64) encoded. How can I add this? If I use CMIMEENC('C:\Users\Marc\Documents\Factuur 20210005.pdf') then the text 'C:\Users\Marc\Documents\Factuur 20210005.pdf' is converted. Can I use memoread()? Does this ...
by Marc Vanzegbroeck
Thu Jan 14, 2021 3:21 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: CMIMEENC (pdf-file to mime)
Replies: 1
Views: 289

Re: encrypt/decrypt in Harbour and php

Yes, but in version 3.2 there are also
I use this functions with cMimeEnc and cMimeDec functions
by cnavarro
Sun Dec 22, 2019 10:01 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: encrypt/decrypt in Harbour and php
Replies: 7
Views: 1128

Re: encrypt/decrypt in Harbour and php

... de encriptacion más fuerte? Look for the hb_Crypt and hb_Decrypt functions, and you can even support yourself for using these functions in the cMimeEnc and cMimeDec functions Pd: in this forum, please use the English language. Thank you Busca las funciones hb_Crypt y hb_Decrypt, e incluso puedes ...
by cnavarro
Sat Dec 21, 2019 9:48 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: encrypt/decrypt in Harbour and php
Replies: 7
Views: 1128

Re: Antonio: Question to encrypt()/decrypt()

Gunther

i use encrypt and decrypt in my app without problem

CRYPTEDTXT := CMIMEENC(ENCRYPT(xxxx))

decryptedtxt := DECRYPT(CMIMEDEC(ALLTRIM(CRYPTEDTXT)))

Hth

Richard
by Richard Chidiak
Fri Jan 16, 2015 8:57 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Antonio: Question to encrypt()/decrypt()
Replies: 2
Views: 460

Re: MySQL Blob Column Jpg Write,read and display

... table and displaying For your info Column File_Data is the BLOB column which stores the contents of JPG image file. I write to BLOB column after cMimeEnc() Column File_Size store the file size of the Image file Rick's code cImageData:=oRecSet:Fields("File_Data"):GetChunk( ...
by sanilpmc
Wed May 30, 2012 6:20 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: MySQL Blob Column Jpg Write,read and display
Replies: 8
Views: 2527

Re: MySQL Blob Column Jpg Write,read and display

... column in MySQL Table, I use the following code. This code is working fine cImageData:=MemoRead("D:\MyImage.Jpg")cImageData:=cMimeEnc(cImageData)// Update MySQL Blob column with cImageData To read and display the Image file data from the Blob column, I use the following ...
by sanilpmc
Mon May 28, 2012 9:14 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: MySQL Blob Column Jpg Write,read and display
Replies: 2
Views: 686

Re: MySQL Blob Column Jpg Write,read and display

... column in MySQL Table, I use the following code. This code is working fine cImageData:=MemoRead("D:\MyImage.Jpg")cImageData:=cMimeEnc(cImageData)// Update MySQL Blob column with cImageData To read and display the Image file data from the Blob column, I use the following ...
by sanilpmc
Mon May 28, 2012 9:13 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: MySQL Blob Column Jpg Write,read and display
Replies: 8
Views: 2527

Ayuda con la clase TSmtp() ..? Solución - Word Mobil

... desde fwhpc .. en los foros recomiendan TSmtp(), pero en fhwpc no existe y si uso la de fivewin, no funciona usa metodos que no estan definidos (cMimeEnc(), fMimeEnc() ) Gracias Johnson Russi Colombias
by russimicro
Tue Nov 16, 2010 11:07 pm
 
Forum: FiveWin para Pocket PC
Topic: Ayuda con la clase TSmtp() ..? Solución - Word Mobil
Replies: 0
Views: 494

Re: Se necesita ayuda en el wiki !

... ClientIp() ClientToScreen() CloseClipboard() CloseComm() CloseMetafile() CloseSocket() CloseWindow() CloseZipFile() cMDIStruct() cMimeDec() cMimeEnc() cNewFileName() cNtxKey() ColorsQty() CPUType() CreateCare() CreateCDC() CreateDC() CreateDlgIndirect() CreateFont() CreateHatchBrush() CreateMenu() ...
by Cgallegoa
Sat Feb 20, 2010 8:13 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: Se necesita ayuda en el wiki !
Replies: 12
Views: 5500

Re: Save binary file from BLOB field with TmySQL

... and save this in a varchar field like this local nhfilelocal ctemp...... do while fread(nhfile,@ctemp,5000) > 0     xxobj:field := cmimeenc(ctemp)     ....     ....enddo  where xxobj is the form with you open the mysql database. For read only replace cmimeenc with cmimedec. ...
by Lautaro
Tue Jan 12, 2010 4:04 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Save binary file from BLOB field with TmySQL
Replies: 2
Views: 588

Re: ASAVE() AREAD()

Jorge, > Que diferencia hay entre una funcion C que convierta datos binarios a cadenas para guardarlos en los campos memo, y la funcion cmimeenc? > La función en C no realizaría ninguna modificación/manipulación de los datos binarios originales. Es decir, se pasarían a tipo cadena sin ...
by Antonio Linares
Fri Jan 02, 2009 1:33 pm
 
Forum: FiveWin para CA-Clipper
Topic: ASAVE() AREAD()
Replies: 7
Views: 1518

Re: ASAVE() AREAD()

... para consultarte. Que diferencia hay entre una funcion C que convierta datos binarios a cadenas para guardarlos en los campos memo, y la funcion cmimeenc? No tendria el mismo problema de que se me revienta por el uso de la memoria? La otra que se me ocurrio es utilizar tambien ya un RDD, y leer ...
by jmansur
Fri Jan 02, 2009 12:24 pm
 
Forum: FiveWin para CA-Clipper
Topic: ASAVE() AREAD()
Replies: 7
Views: 1518

... campos memos estan truncados. Como que no se grabo toda la informacion con Asave() Intento 2: Leemos cada campo memo con Flex lo convertimos con cmimeenc() y lo grabamos con ASave() Funciona, peroo en algunos campos memos, la funcion cmimeenc() revienta. Es por el limite de los 64Kb del 16bits. ...
by jmansur
Wed Dec 24, 2008 2:16 pm
 
Forum: FiveWin para CA-Clipper
Topic: ASAVE() AREAD()
Replies: 7
Views: 1518
Next

Return to advanced search