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
CODE PROJECT For Those Who Code
  • Home
  • Articles
  • FAQ
Community
  1. Home
  2. Web Development
  3. How to view or open PDF file located in some folder in the network in the server with the ASP.NET web page?

How to view or open PDF file located in some folder in the network in the server with the ASP.NET web page?

Scheduled Pinned Locked Moved Web Development
sysadmincsharpasp-netdatabasehelp
3 Posts 3 Posters 5 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.
  • D Offline
    D Offline
    Dotnetdeveloper06
    wrote on last edited by
    #1

    Hi I m developing intranet application .I wann to know how to view or open the PDF file which is located in some server in the network and whose link has to dynamically produced with the dropdown list selected values . do i need to use any FSO ? i will get PDf file name from database but actually PDF file is located in server in the network. Hope its not confusing.............. Please help me ........... its very urgent I will be thankful to u

    C S 2 Replies Last reply
    0
    • D Dotnetdeveloper06

      Hi I m developing intranet application .I wann to know how to view or open the PDF file which is located in some server in the network and whose link has to dynamically produced with the dropdown list selected values . do i need to use any FSO ? i will get PDf file name from database but actually PDF file is located in server in the network. Hope its not confusing.............. Please help me ........... its very urgent I will be thankful to u

      C Offline
      C Offline
      Christian Graus
      wrote on last edited by
      #2

      If the PDF file is located on the server, just generate a link to it. Or, if you want to do it a little cleaner, you can read the pdf into a byte stream, then stuff that into your page after setting the header to saw it's a PDF. Christian Graus - Microsoft MVP - C++

      1 Reply Last reply
      0
      • D Dotnetdeveloper06

        Hi I m developing intranet application .I wann to know how to view or open the PDF file which is located in some server in the network and whose link has to dynamically produced with the dropdown list selected values . do i need to use any FSO ? i will get PDf file name from database but actually PDF file is located in server in the network. Hope its not confusing.............. Please help me ........... its very urgent I will be thankful to u

        S Offline
        S Offline
        SandyTheGenius
        wrote on last edited by
        #3

        :-DHi, Just Generate the Link Correctly from Database. Before that configure your Acrobat Reader to Display the PDF Files in Web Browser. To Configure this go to Edit -> Preferences -> Internet in Acrobat Reader. o Windows Machines. The PDF can be viewable in browser only when the Acrobat Reader or any pdf viewer software is installed on Client machine otherwise browser will ask for the Download the file. Tell me your respose......:-D Sandeep

        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