Jump to content
Xtreme .Net Talk

Recommended Posts

Posted

I am talking about writing vb.net code that will have a textbox where you can enter the url of a pdf and then it will download this pdf to your hard drive when you run it.

 

I am not talking abut clicking on links.

Posted

I found out how it's done.

 

-------------------------------

 

Dim src, dest As String

 

src = "www.bryantstratton.edu/pdf/course_descriptions.pdf"

dest = "C:\Documents....\bryant.pdf"

 

Dim webc As New WebClient

webc.DownloadFile(src, dest)

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...