473,406 Members | 2,620 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,406 software developers and data experts.

VB.NET counterpart to the java URL Class

Hello,

I'm interesting in finding out the VB.NET alternative to the URL Class.
For example, in Java you can have the following:

------------------------------------------------------------------------------------------------------------------------------------

URL url = new URL("http://finance.yahoo.com/q?s=AOL");

InputStream abc = url.openStream();

BufferedInputStream bufIn = new BufferedInputStream(abc);

------------------------------------------------------------------------------------------------------------------------------------

How would you do this in VB.NET ?

Thanks

Jul 18 '06 #1
2 1369
Hi,

See System.Net.WebClient (or related classes if you need lower level)

--
Patrice

<sa***********@yahoo.caa écrit dans le message de news:
11**********************@i42g2000cwa.googlegroups. com...
Hello,

I'm interesting in finding out the VB.NET alternative to the URL Class.
For example, in Java you can have the following:

------------------------------------------------------------------------------------------------------------------------------------

URL url = new URL("http://finance.yahoo.com/q?s=AOL");

InputStream abc = url.openStream();

BufferedInputStream bufIn = new BufferedInputStream(abc);

------------------------------------------------------------------------------------------------------------------------------------

How would you do this in VB.NET ?

Thanks

Jul 18 '06 #2
<sa***********@yahoo.caschrieb:
I'm interesting in finding out the VB.NET alternative to the URL Class.
For example, in Java you can have the following:
'WebClient', 'WebRequest'.

--
M S Herfried K. Wagner
M V P <URL:http://dotnet.mvps.org/>
V B <URL:http://classicvb.org/petition/>
Jul 18 '06 #3

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

Similar topics

1
by: Niklas | last post by:
H What is Java Webstart counterpart in .NET Regard /Niklas
6
by: Andrew | last post by:
Hi, friends, In VB, there is a vbCrLf for a new line. What is the counterpart in C#? Thanks.
10
by: master | last post by:
As far as I understand, 'lock' is the only option, isn't it? Namely, If I want to declare a 'synchronised' method, I do it this way: class A { void AMethod() { lock (this) { // the method...
1
by: samadams_2006 | last post by:
In the Java world you create a Servlet that extends the HttpServlet Class, as in: ----------------------------------------------------------------------------------------------------------------...
3
by: Christofer Dutz | last post by:
Hi, I am thinking about migrating an application of mine to .Net and have run into this small "problem" At the moment I would generally compare ASP.Net to JSPs in the Java world. I know that...
15
by: Xah Lee | last post by:
On Java's Interface Xah Lee, 20050223 In Java the language, there's this a keyword “interfaceâ€. In a functional language, a function can be specified by its name and parameter specs....
11
by: xz | last post by:
Hi, I am currently switching from Java to C++. When I code in Java, I use the following website to find the specifications of classes and methods: http://java.sun.com/j2se/1.5.0/docs/api/ I...
4
by: Han | last post by:
Hello I am passing string from dotnet to javascript. ", ', newline characters, and something. So I am using httputility.urlEncode() to make it neat. Now a JS function accepts the encoded string...
5
by: r035198x | last post by:
Setting up. Getting started To get started with java, one must download and install a version of Sun's JDK (Java Development Kit). The newest release at the time of writting this article is...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
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...
0
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...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
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...
0
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...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

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.