Click here to Skip to main content
11,806,026 members (61,735 online)
Rate this: bad
Please Sign up or sign in to vote.
See more: VB8.0 VB9.0 VB Visual-Studio , +
Is there a way, in Visual Basic, to pull a piece of data (for example, a number) from a webpage that is generated entirely with JavaScript and HTML? I want to create a way for my application to find updates on the internet, and I want to find out if this is a good way to do it.
Posted 18-Mar-12 17:17pm
SAKryukov at 18-Mar-12 23:25pm
So, VB.NET or VB? They are different things?
drummerboy0511 at 18-Mar-12 23:37pm
Well, any version of VB from VB.NET onward...
SAKryukov at 19-Mar-12 0:56am
I answered for .NET, so you can use VB.NET. I don't even want to discuss VB. And it has nearly nothing to do with VB.NET. I cannot imagine you want to support both...
drummerboy0511 at 21-Mar-12 23:49pm
I don't... I stopped using VB a long time ago. Thank you for answering, by the way.
SAKryukov at 22-Mar-12 0:08am
You are welcome.
If you agree my answer makes sense, consider accepting it formally (green button) -- thanks.

1 solution

Rate this: bad
Please Sign up or sign in to vote.

Solution 1

This is called Web scraping, please see:[^].

With .NET, you need to use the class System.Net.HttpWebRequest, please see:[^].

See some code sample here:[^].

drummerboy0511 at 24-Mar-12 20:44pm
Thank you!
SAKryukov at 24-Mar-12 22:51pm
You are very welcome.
Good luck, call again.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
0 Richard Deeming 225
1 OriginalGriff 215
2 Sergey Alexandrovich Kryukov 170
3 Abhinav S 120
4 ppolymorphe 115
0 OriginalGriff 3,330
1 Maciej Los 1,990
2 KrunalRohit 1,907
3 CPallini 1,905
4 Richard MacCutchan 1,227

Advertise | Privacy | Mobile
Web04 | 2.8.151002.1 | Last Updated 18 Mar 2012
Copyright © CodeProject, 1999-2015
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100