joecool2005 Posted July 17, 2007 Share Posted July 17, 2007 Hi,I would like to encode pdf file to base64 in vb.net.Does anyone know how?Thx Link to comment Share on other sites More sharing options...
aspnetguy Posted July 19, 2007 Share Posted July 19, 2007 do you need to do this within your application or use an external program a head of time? Link to comment Share on other sites More sharing options...
joecool2005 Posted July 19, 2007 Author Share Posted July 19, 2007 Thanx for your answer.I want the user to browse the pdf file and click submit. Once it submited a function will encode to base64.Also I should able to decode the base64 to normal file.Well, I can do this within my application or callling an external program .As long as it does the job.Thx for your help! Link to comment Share on other sites More sharing options...
aspnetguy Posted July 19, 2007 Share Posted July 19, 2007 The process would roughly be the following:a) To encode the PDF1) Take the PDF content as bytes2) Run it through a program / method which goes something like:PDFInBase64Bytes = convertToBase64(PDFBytes)There seem to many free base64 libraries out there. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.