Click here to Skip to main content
Rate this: bad
good
Please Sign up or sign in to vote.
See more: VB6
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 25-Aug-12 3:50am
Edited 25-Aug-12 4:19am
v2
Comments
Wes Aday at 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 at 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.
Rate this: bad
good
Please Sign up or sign in to vote.

Solution 3

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[^]
  Permalink  
v2
Rate this: bad
good
Please Sign up or sign in to vote.

Solution 4

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.
  Permalink  
Rate this: bad
good
Please Sign up or sign in to vote.

Solution 1

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[^]
  Permalink  
Rate this: bad
good
Please Sign up or sign in to vote.

Solution 2

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.
  Permalink  
Comments
Darkness_07 at 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)



Advertise | Privacy | Mobile
Web01 | 2.8.140709.1 | Last Updated 24 Jan 2013
Copyright © CodeProject, 1999-2014
All Rights Reserved. Terms of Service
Layout: fixed | fluid