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. The Lounge
  3. Program Download Button

Program Download Button

Scheduled Pinned Locked Moved The Lounge
tutorial
4 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.
  • J Offline
    J Offline
    jwoffmt
    wrote on last edited by
    #1

    Can someone tell me how to program a "download" button for a website. I need to download both Word and PDF files on a site. Thanks: confused: JWOFFMT

    C J L 3 Replies Last reply
    0
    • J jwoffmt

      Can someone tell me how to program a "download" button for a website. I need to download both Word and PDF files on a site. Thanks: confused: JWOFFMT

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

      I'm sure someone in the Web Development[^] forum will be able to help. :)


      EuroCPian Spring 2004 Get Together[^] "You can have everything in life you want if you will just help enough other people get what they want." --Zig Ziglar "Get in touch with your Inner Capitalist - I wish you much success!" -- Christopher Duncan, Lounge 9-Feb-2004

      1 Reply Last reply
      0
      • J jwoffmt

        Can someone tell me how to program a "download" button for a website. I need to download both Word and PDF files on a site. Thanks: confused: JWOFFMT

        J Offline
        J Offline
        jhaga
        wrote on last edited by
        #3

        I just did something like this in c#: private void button1_Click(object sender, System.EventArgs e) { System.Net.WebClient Client = new System.Net.WebClient (); Client.DownloadFile("http://www.owlnet.rice.edu/~bioc341/notes/lecture1.pdf", "d:/down/lecture1.pdf"); } jhaga --------------------------------- Every generation laughs at the old fashions, but follows religiously the new. Henry David Thoreau, "Walden", 1854

        1 Reply Last reply
        0
        • J jwoffmt

          Can someone tell me how to program a "download" button for a website. I need to download both Word and PDF files on a site. Thanks: confused: JWOFFMT

          L Offline
          L Offline
          loket
          wrote on last edited by
          #4

          jwoffmt wrote: Can someone tell me how to program a "download" button for a website. Someone sure can, ask in a webdevforum. jwoffmt wrote: need to download both Word and PDF files on a site. Go to the site. Right click the file links. Select 'Save As' jwoffmt wrote: Thanks Your welcome. /M


          - Don't sweat the petty things, and don't pet the sweaty things.

          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