|
-
Jun 12th, 2003, 06:54 AM
#1
Thread Starter
Member
How to downloa a file ?
Hi every1 !!
How can I download a file with .NET ?
I know on VB6 there are lots of ways... INET, WebBroswer1, etc...
help ? please....
Thanx !!!
-
Jun 12th, 2003, 10:08 AM
#2
Addicted Member
PHP Code:
Dim myWebClient As New WebClient()
myWebClient.DownloadFile(myWebDocumentURL, myLocalFilename)
-
Jun 12th, 2003, 10:20 AM
#3
Thread Starter
Member
RESOLVED - Thanks !!
WOW !!
Thanks !!!
I only had to change it to:
Dim mywebClient as new system.net.webclient()
Thanks again !
-
Jun 12th, 2003, 12:54 PM
#4
Fanatic Member
Re: RESOLVED - Thanks !!
Originally posted by sogtulakk
WOW !!
Thanks !!!
I only had to change it to:
Dim mywebClient as new system.net.webclient()
Thanks again !
And the only reason why you needed to do that was because you havn't imported the system.net namespace
at the very very top of your code just add this line
now you dont have to keep typing System.Net.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|