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. General Programming
  3. C#
  4. C# - showing pdf files from mySQL database without using acrobat reader, how?

C# - showing pdf files from mySQL database without using acrobat reader, how?

Scheduled Pinned Locked Moved C#
csharpdatabasemysqladobehardware
5 Posts 4 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.
  • U Offline
    U Offline
    User 13627408
    wrote on last edited by
    #1

    hello..
    I'm developing a software? for my thesis using C# winform application.. it is an offline system.. and we are not allowed to make a web application..

    my goal is to show pdf files from MySQL database without using Adobe Acrobat reader or any pdf viewer that has a printing tool because I want to disable the printing process.. please help me.. Is it possible to show pdf file in a panel? if so, how?.. or even in a picturebox?..

    I want to disable the printing process because I want to control my printing process with a coin acceptor and an ARDUINO..

    thank you..I hope you could help me..
    Shiela Amante

    D L S 4 Replies Last reply
    0
    • U User 13627408

      hello..
      I'm developing a software? for my thesis using C# winform application.. it is an offline system.. and we are not allowed to make a web application..

      my goal is to show pdf files from MySQL database without using Adobe Acrobat reader or any pdf viewer that has a printing tool because I want to disable the printing process.. please help me.. Is it possible to show pdf file in a panel? if so, how?.. or even in a picturebox?..

      I want to disable the printing process because I want to control my printing process with a coin acceptor and an ARDUINO..

      thank you..I hope you could help me..
      Shiela Amante

      D Offline
      D Offline
      Dave Kreskowiak
      wrote on last edited by
      #2

      Is it possible? Sure. You just have to write the massive pile of code that interprets and renders the PDF. USE AN EXISTING LIBRARY! Turning in an application for your thesis that isn't complete because you're wasting a couple of YEARS writing your own PDF interpreter and rendering engine is just f'ing STUPID!

      Asking questions is a skill CodeProject Forum Guidelines Google: C# How to debug code Seriously, go read these articles.
      Dave Kreskowiak

      1 Reply Last reply
      0
      • U User 13627408

        hello..
        I'm developing a software? for my thesis using C# winform application.. it is an offline system.. and we are not allowed to make a web application..

        my goal is to show pdf files from MySQL database without using Adobe Acrobat reader or any pdf viewer that has a printing tool because I want to disable the printing process.. please help me.. Is it possible to show pdf file in a panel? if so, how?.. or even in a picturebox?..

        I want to disable the printing process because I want to control my printing process with a coin acceptor and an ARDUINO..

        thank you..I hope you could help me..
        Shiela Amante

        L Offline
        L Offline
        Lost User
        wrote on last edited by
        #3

        To "show" a pdf (under control of an app) one typically uses the "print preview" option (of a given pdf printer driver) in the app via the "print / printer dialog". (PdfSharp can generate pdf's / previews from raw content if you want to get fancy). The "app" controls the printing in this case; not the user. If your pdf source is "hidden", you have effectively taken control of the "printing process".

        "(I) am amazed to see myself here rather than there ... now rather than then". ― Blaise Pascal

        1 Reply Last reply
        0
        • U User 13627408

          hello..
          I'm developing a software? for my thesis using C# winform application.. it is an offline system.. and we are not allowed to make a web application..

          my goal is to show pdf files from MySQL database without using Adobe Acrobat reader or any pdf viewer that has a printing tool because I want to disable the printing process.. please help me.. Is it possible to show pdf file in a panel? if so, how?.. or even in a picturebox?..

          I want to disable the printing process because I want to control my printing process with a coin acceptor and an ARDUINO..

          thank you..I hope you could help me..
          Shiela Amante

          S Offline
          S Offline
          sameer549
          wrote on last edited by
          #4

          check this, might be helpful PDF viewer WinForms control for Visual Studio - Visual Studio Marketplace[^]

          1 Reply Last reply
          0
          • U User 13627408

            hello..
            I'm developing a software? for my thesis using C# winform application.. it is an offline system.. and we are not allowed to make a web application..

            my goal is to show pdf files from MySQL database without using Adobe Acrobat reader or any pdf viewer that has a printing tool because I want to disable the printing process.. please help me.. Is it possible to show pdf file in a panel? if so, how?.. or even in a picturebox?..

            I want to disable the printing process because I want to control my printing process with a coin acceptor and an ARDUINO..

            thank you..I hope you could help me..
            Shiela Amante

            L Offline
            L Offline
            Lost User
            wrote on last edited by
            #5

            There is no library that forces you to implement a printing-button. You're not ready for a thesis.

            Bastard Programmer from Hell :suss: If you can't read my code, try converting it here[^]

            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