|
-
Jun 17th, 2005, 07:48 PM
#1
Thread Starter
Addicted Member
Question On Update Code
Hey. I'm trying to incorporate the code found here:
http://www.vbforums.com/showthread.php?t=320256
into my program. I'm not sure how to add an iNet control though. Can someone help me?
Thanks
John
-
Jun 17th, 2005, 11:40 PM
#2
Re: Question On Update Code
The VB6 Inet control allows you to transfer files using FTP or HTTP. This control does not exist in VB.NET. You probably already know that much. The System.Net namespace contains classes to do these things in .NET. I can't tell you exactly which ones to use or how, but that's the place to start.
-
Jun 18th, 2005, 01:24 AM
#3
Re: Question On Update Code
Very simple.
VB Code:
Dim wc as New System.Net.WebClient()
wc.DownloadFile("http://www.yoursite.com/myfile.txt", "c:\test.txt")
Tips:
- Google is your friend! Search before posting!
- Name your thread appropriately... "I Need Help" doesn't cut it!
- Always post your code!!!! We can't read your mind!!! (well, at least most of us!)
- Allways Include the Name and Line of the Exception (if one is occuring!)
- If it is relevant state the version of Visual Studio/.Net Framwork you are using (2002/2003/2005)
If you think I was helpful, rate my post  IRC Contact: Rizon/xous ChakraNET/xous Freenode/xous
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
|