473,385 Members | 1,898 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

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

Jul 9 '06 #1
1 1685
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]



<gw*****@kc.rr.comschreef in bericht
news:11**********************@35g2000cwc.googlegro ups.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

Jul 9 '06 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: build | last post by:
G'day All, I'm trying to code a "Data Downloader" to automatically login and download data from www.Investorweb.com.au using the Internet Transfer Control. I have a some VB experience but no...
5
by: John | last post by:
Hi Does anyone have an example of using the Internet Transfer Control from behind a proxy server on port 8080? Thanks Regards
0
by: John | last post by:
Hi I have the standard version of access which does not include internet transfer control (asfik). Can I purchase internet transfer control separately? If not, is there another access compatible...
1
by: Ben Cox | last post by:
Trying to use the MS Internet Transfer Control in a Windows app. I get no errors but when I try to transfer files it is not working. Does anyone have any working samples. Ben
4
by: Brian | last post by:
Hi, I'm trying to make an online FTP utility in C# ASP.NET using MSINET.ocx (an active X control a.k.a. "Microsoft Internet Transfer Control") I've added the reference into my project and have...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.