Click here to Skip to main content
15,886,199 members
Please Sign up or sign in to vote.
5.00/5 (1 vote)
See more:
Hello guys!...

I'm a newbie in vb6.How to convert TIFF to PDF without using
any third party.Any idea or source code example please?.

Thanks in advance!
Posted
Updated 25-Aug-12 4:19am
v2
Comments
[no name] 25-Aug-12 9:56am    
.NET does not have any native support for PDF files and I very much doubt that ancient VB6 does either. You are going to have to use a 3rd party library, if you can find one that works with VB6.
Christian Graus 25-Aug-12 9:59am    
I'm sure a lot of them work through COM. That's the only reason any one could use VB6 to start with. I am stuck with several legacy VB6 projects right now, I am in the process of ditching them one by one, but it's slow going.

yes it is really hard to find a source code in converting TIFF to PDF... Use VB.NET instead, try using iTextSharp. You can find lots of resource on this click here[^]
 
Share this answer
 
v2
You can always try iTextSharp to interact with VB6 via InteropCOM.

To say forget about VB6 or that it is rubbish means these people have never worked in a industrial-strength environment/applications, with lots of developers, servers, several 3rd party dll's, users in the thousands, and backend db's such as Oracle and mainframe DB2 in the mix. We have several VB6 applications with more than 1 million lines of code in this scenarios, so it is not that easy as just running it thru the .NET converter. Funny as it sounds, with some tweaks the VB6 apps are still running under Windows 7 Pro 64 bit. Yes, they will eventually be phased into .NET, but it is not an easy feat.
The original question was about VB6, not .NET directly. I'm sure he has a reason for it.
 
Share this answer
 
The first thing is to forget about VB6. I'm saying this because VB6 has 'died' long ago and hasn't been supported for a while anymore. Instead move on to VB.NET

About converting TIFF to pdf, there are lots of nice libraries and programs you can use. For example:
- TIFF to PDF Converter[^]
- Tiff to PDF Converter Free 2.0[^]
- http://www.softinterface.com/Convert-Image-To-PDF%5CConvert-Tiff-To-PDF.htm[^]
 
Share this answer
 
VB6 was and is rubbish. No sane person should use it, today. Even in VB.NET, your options are, use a library, or write a library. In .NET, you can read a tiff easy enough and then you just need to create a PDF with an image in it. If you want text from the image, that's OCR, another complex library for you to invest 6 months in writing.
 
Share this answer
 
Comments
Darkness_07 8-Mar-13 6:16am    
Thank you guys...for your replies and the idea's you give...I really appreciate it.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900