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

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 3254
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?
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
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
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
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
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,...

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.