473,461 Members | 2,333 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

Load text from webpage into listbox

Hi everyone, as per above I am wanting to load text from a webpage into a listbox. from there I would select the exact text that I need for my project.

Is there anybody out there that can help me with this??

I am using vb2008 or vb2010
Aug 4 '17 #1
2 3256
Frinavale
9,735 Expert Mod 8TB
You should check out the WebRequest Class. It is a class used to retrieve data from the internet (like a browser but not in a browser)

The link I posted is the documentation for the class. The documentation includes details about what the class does, how to use it and code examples for you to check out.
Aug 9 '17 #2
SioSio
272 256MB
Expand|Select|Wrap|Line Numbers
  1. 'Imports System.Net
  2.  
  3. Dim client As WebClient = New WebClient()
  4. Dim reply As string = client.DownloadString ("https://www.google.com/")
Dec 17 '19 #3

Sign in to post your reply or Sign up for a free account.

Similar topics

4
by: MJL | last post by:
Suppose you have a perl program that is called by a web page to generate another web page. The program is written to load data from a text file on the server and make certain substitutions in the...
2
by: RickDee | last post by:
Does anybody know how to display different color text inside ListBox ? I was testing it with CreateGraphics and DrawString methods, but it does not work out. Thanks Regards
2
by: David Ichilov | last post by:
I've class derived from "Object" class, with ToString() method overriden itc. , now i add object of this class to Windows.Forms.ListBox.Items collection, and it works fine, displaying what...
1
by: David Dvali | last post by:
How can I load text from file to TextBox?
4
by: harish | last post by:
Hi friends Can any one know how can i load text box run time in vb application.
2
by: andrewcw | last post by:
This is wrong but it seems I might be on track somewhat close: I want to display my ArrayList of Random numbers in the list box. Below you see this as aLRandoms. There seems to be a provision to...
1
by: Dragan Ristic | last post by:
Can any one tell how can I load text from log file (.log, .txt) in ListView control (Details view). I have log file like this: Date and Time ; User Name ; Some event Date and Time ; User Name ;...
3
by: thetechgeek | last post by:
Hey all, I was wondering, how could I load text from an external file? It would be located locally on the server, probably in the same file path. Also, what format could I make the file in, so...
11
by: asmx126453 | last post by:
Hey Guys i need help with this last thing i cant get to work The error i get with it is: NullReferenceException was unhandled by user code Object reference not set to an instance of an...
8
by: davidson1 | last post by:
Hai friends... we use TinyPic to load image in the website(server)...so it can be accessed by URL..here i want to load text in the website...in case i want to load with specific size...
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...
0
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,...
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,...
1
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...
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...
0
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...
0
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?

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.