tramontina Posted April 9, 2012 Report Share Posted April 9, 2012 Boa noite. Estou necessitando adicionar algumas imagens digitalizadas para dentro do Mysql e infelizmente não estou conseguindo, alguém poderia me ajudar ? FWH 7.04 / xHarbour 0.9971 Quote Link to comment Share on other sites More sharing options...
tramontina Posted April 9, 2012 Author Report Share Posted April 9, 2012 Boa noite. Estou necessitando adicionar algumas imagens digitalizadas para dentro do Mysql e infelizmente não estou conseguindo, alguém poderia me ajudar ? FWH 7.04 / xHarbour 0.9971 Quote Link to comment Share on other sites More sharing options...
atnsoft Posted April 10, 2012 Report Share Posted April 10, 2012 Tente isso aqui: http://www.fivewin.com.br/forum/topic.asp?TOPIC_ID=11747 AtnSoft(Antenor Rabello) - xHarbour 0.99.71 / FwH 7.05 / Verce C. Procópio - PR Quote Link to comment Share on other sites More sharing options...
Erciley Junior Posted April 10, 2012 Report Share Posted April 10, 2012 Ou pesquise também sobre: 1-Criar campos Blob no mysql 2-Funções do FW FMimeEnc e FMimeDec Erciley Junior (FWH8.01 + SQLLIB 1.9d + xHB 1.10 + xDev 0.65 + @SAY) NÃO ABANDONE O POST, QUEREMOS SABER SE SUA DÚVIDA/PROBLEMA TEVE SOLUÇÃO Quote Link to comment Share on other sites More sharing options...
DonJuan Posted April 10, 2012 Report Share Posted April 10, 2012 Eu faço da seguinte forma: 1-Crio um campo memo no MySql/Firebird ou Postgres 2-Pego o Arquivo ou a imagem, converto para hexadecimal e gravo no banco 3-Para pegar de volta é so pegar o conteudo do Memo e fazer o processo reverso do hexadecimal e gravar em um local temporário com a extenção e visualizar ou baixar Acesse: http://www.avelsistemas.com FHW 11.12, XHB1.2.1, PELLESC 6.5, XDEV 7.2, FASTREPORT, SQLRDD, MySql, Firebird, Postgres "MIGRE SEUS SISTEMAS EM CLIPPER PARA 32BITS COM BANCOS SQL" Quote Link to comment Share on other sites More sharing options...
tramontina Posted April 10, 2012 Author Report Share Posted April 10, 2012 Obrigado pelas dicas, funcionou legal. Muito agradecido. FWH 8.06 / xHarbour 1.10 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.