473,657 Members | 2,294 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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 1694
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(da ta)
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.goog legroups.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
3865
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 experience with web programming apart from basic html, forms etc. 1). I've extracted the following from the login page
5
5358
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
1800
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 internet control that I can purchase? Thanks Regards
1
4236
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
3787
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 been able to compile it. However, when I go to a webpage, and try to FTP something, I get this error: System.Web.HttpUnhandledException was thrown.(Class is not licensed for use)
0
8407
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8319
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
8739
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
8512
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
8612
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
7347
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
5638
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4171
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
2
1969
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.