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
Printable View
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
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.
Very simple.
VB Code:
Dim wc as New System.Net.WebClient() wc.DownloadFile("http://www.yoursite.com/myfile.txt", "c:\test.txt")