|
web
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
Internet Transfer Control in Dot Net???I used to be able to easily transfer a file or web page off of a web
site to a flat file with the VB6 internet transfer control. Does anyone know how to do this in Dot.NET 2005 VB? VB6 was so easy. Thanks!! Sheila Well it is still easy but totally different as in VB6
in .Net you can create a webclient like this <imports> Imports System Imports System.IO Imports System.Net <Code> Dim URI As String = "http://www.google.com" Dim wbClient As new WebClient Dim strData As Stream = client.OpenRead(URL) Dim sr As StreamReader = New StreamReader(data) see the overloads for more options ( like sending data as a post etc ) regards Michel Posseth [MCP] <gwhi***@kc.rr.com> schreef in bericht Show quoteHide quote news:1152473314.026540.288930@35g2000cwc.googlegroups.com... >I used to be able to easily transfer a file or web page off of a web > site to a flat file with the VB6 internet transfer control. > > Does anyone know how to do this in Dot.NET 2005 VB? VB6 was so easy. > > Thanks!! > > Sheila >
Programmatically open compmgmt.msc
When the messagebox disappears, it leaves a white square Need to sort an Array A question about sockets, listener VS 2005 Property question Help with logic - system payment method datasets Connect to database in non standard location How to convert ShortPath to longPath? |
|||||||||||||||||||||||