PC Knowledge Vault
  Home     Forum  
Register   Login  
   Forum:
  Active TopicsActive Topics  Display List of Forum MembersMemberlist  Search The ForumSearch  HelpHelp
  RegisterRegister  LoginLogin
.NET
 PC Knowledge Vault Forum : .NET
Subject Topic: Downloading a File From the Internet Post ReplyPost New Topic
Author
Message << Prev Topic | Next Topic >>
administrator
Admin Group
Admin Group
Avatar

Joined: 25 January 2003
Location: United States
Posts: 69

Online Status: Offline
Posted: 25 February 2007 at 3:19am | IP Logged Quote administrator

 

Here is the only two lines of code that you need to download a file from the internet using vb.net:

Dim wc As New System.Net.WebClient()
wc.DownloadFile("http://testsite.com/images/Banners/absvb-88 x61-xp-02.gif", _
         "c:\button.gif")

Back to Top View administrator's Profile Search for other posts by administrator Visit administrator's Homepage
 

If you wish to post a reply to this topic you must first login
If you are not already registered you must first register

  Post ReplyPost New Topic
Printable version Printable version

Forum Jump
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot delete your posts in this forum
You cannot edit your posts in this forum
You cannot create polls in this forum
You cannot vote in polls in this forum

Powered by Web Wiz Forums version 7.92
Copyright ©2001-2004 Web Wiz Guide
* Webmaster |  ©2005-2010 PC Knowledge Vault |  Site Launched: Oct. 29 2005
Powered By EzASPSite v2.0 RC3a