Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Web Development
  3. how to convert from any file to pdf file using vb.net

how to convert from any file to pdf file using vb.net

Scheduled Pinned Locked Moved Web Development
csharphelptutorial
3 Posts 3 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • C Offline
    C Offline
    Chetan visodiya
    wrote on last edited by
    #1

    Hi all, I am developing one application using vb.net.In that I want to convert any file to pdf file. If you know then please help me. and also you know the code then send me....please Thanks Chetan

    C A 2 Replies Last reply
    0
    • C Chetan visodiya

      Hi all, I am developing one application using vb.net.In that I want to convert any file to pdf file. If you know then please help me. and also you know the code then send me....please Thanks Chetan

      C Offline
      C Offline
      Colin Angus Mackay
      wrote on last edited by
      #2

      Chetan.visodiya wrote:

      I want to convert any file to pdf file

      There are almost a limitless number of file formats out there and to do what you want would require a limitless amount of time because as you progress you will find that various ingenious people will come up with even more file formats. I think you need to add in some constraints into your specification. You need to list excactly what file formats you really need to convert and concentrate on them. By the way, if you do find a way of converting an MP3 to PDF I'd love to know!


      Scottish Developers events: * .NET debugging, tracing and instrumentation by Duncan Edwards Jones and Code Coverage in .NET by Craig Murphy * Developer Day Scotland: are you interested in speaking or attending? My: Website | Blog

      1 Reply Last reply
      0
      • C Chetan visodiya

        Hi all, I am developing one application using vb.net.In that I want to convert any file to pdf file. If you know then please help me. and also you know the code then send me....please Thanks Chetan

        A Offline
        A Offline
        ashish_patil
        wrote on last edited by
        #3

        By 'any' do you mean 'most/all printable files' . Then maybe there are ways. For MS Office documents you can use many of commercially avaliable tools or convert them to postscript first and then use a program like Ghostscript to get PDF. A nice program that does this is PDFCreator. For documents like Reports XML-FOP might be a good option. To author PDF documents , you can use the iTextSharp library. But I dont think there is a 'single' tool that can convert all printable file formats to PDF :(.For example if you have to convert word document to PDF or an excel sheet , then you MOST PROBABLY (99.99% ;)) will have to have MS Office installed onto your system. It will convert it to postscript and use tool like Distiller to conver it to PDF. You can mail me for more specific details. http://ashishware.com

        1 Reply Last reply
        0
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        • Login

        • Don't have an account? Register

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • World
        • Users
        • Groups