Extracting Specific Information From A Webpage

Feb 25, 2009

I want to extract a specific information from a webpage.For example:url...So can I make the software see what's between "<h1>Your IP address is<BR>", to "</h1>"?And doing all this by using the webbrowser form in Visual basic studio 2008.

View 1 Replies


ADVERTISEMENT

VS 2008 Extracting Information From A Webpage?

May 10, 2009

I am trying to take specific information from a web page and then process that information so that it can be sent to a label or text box.Previously, I had wanted to do this by using Regular Expressions. I've looked around and it seems that using regular expressions to parse information isn't always the best way because website aren't always coded to standards.Regardless, learning regex isn't working out too well for me. So, I was wondering if there was another way to do this?I was thinking that I might be able to use the web browser control. It would be ideal to be able to see the page in the form, select the information, and then be able to display it.

View 8 Replies

VS 2008 Extracting Specific Information From The Registry?

Nov 1, 2009

I'm trying to get the version of IE and Google Chrome from the registry. I've successfully been able to get IE, but it seems chrome is eluding me.The following code is what I'm trying:

vb.net
Public Sub ChromeVersion()
Dim SoftwareKey As String = "HKEY_CURRENT_USERSoftwareGoogleUpdateClients{8A69D345-D564-

[code].....

View 2 Replies

Extracting Email Id From Webpage?

Feb 15, 2010

I have a list box containing all urls in a websitemy code for getting the urls from a site is:

Dim wc As new webclient
Dim aa As String
Dim sr as new streamreader(wc.open("TextBox1.Text"))

[code]....

View 14 Replies

Extracting Text From A Webpage?

Apr 22, 2010

Im trying to get certain text from a webpage and display it in a textbox. In the image below , i want to disply all the text after "Filename:" in a textbox as highlighted below.

View 16 Replies

VS 2005 Extracting Email Id From Webpage?

Feb 16, 2010

I need to extract email id from website...

i am able to get urls from the webpage. but i couldnt get email id's from the webpage.

View 1 Replies

VS 2010 Extracting A String From A Webpage

Feb 18, 2012

lets say webpage has 2 strings named sampleObj="sample1" and sampleObj="sample2" Even though sampleObj remains the same the text inside, however, changes.How would you loop inside page and get sampleObj text each time? I tried Regular Expressions and GetElementsByTagName but no luck.

View 1 Replies

Extracting Information From HTML?

Oct 2, 2009

The method I'm currently using to extract html and the parse is via a WebBrowser control.I'm grabbing a collection of tags, sorting through the ones I want, and then pulling the innertext.Doing this on my development machine is kind of slow, but manageable. At max, I can go through 60 different web pages across 3 different sites. It takes about 5 mins on my machine.

However, this app is targeted towards machine that have a quarter of the technology that my computer has. So, it takes anywhere from 10-15 minutes. This is less than ideal.I've bee reading up on the documentation on HTTPWebRequest. However, form what I've seen I can't seem to find a way to grab the HTML and then parse it with a method from HTTPWebRequest.

Due to the way I'll be using it, I won't be able to use RegEx to parse the data and was hoping there was a method within the HTTPWebRequest property to do it.

View 2 Replies

Extracting Information From Text?

Jul 4, 2011

I have the following text, it displays like this in a textbox, but is all stored in one string:

[Code].....

But I cant think of a way to do it, the only thing I can think is to try and grab the text on the line after each "+CMGR:"

View 2 Replies

Extracting Partial Information Of XML?

Feb 19, 2011

I have a lot of information distributed among some tables in a database (and must likely it will all be represented into oop). I will need to create text files with different formats from the same data depending on the request. My idea is to create a design that will require no coding if such formats are to change of be added.I was thinking in using some sort of XML magic trick to accomplish this but I have no idea how to. I am also open to new ideas.

View 1 Replies

Extracting Information From Text Files

Feb 5, 2011

I'm trying to identify a specific string within a text file, and then extra a couple of bits of information that follow from that.

Example snippet from text file:
>Date 5.3: Tech Manual {30201}
Freya Plumes (30201) - 1
mu

These are made from brightly coloured. I want to be able to find where it says "Tech Manual", and then assign "Freya Plumes", "30201" and "1" to variables for manipulating and exporting to another file. There will be many instances from the same text file with similar information, so I'd need the extracted strings popped into an array for later referencing.

View 7 Replies

VS 2008 Extracting Information From HTML?

Oct 2, 2009

The method I'm currently using to extract html and the parse is via a WebBrowser control. I'm grabbing a collection of tags, sorting through the ones I want, and then pulling the innertext.

Doing this on my development machine is kind of slow, but manageable. At max, I can go through 60 different web pages across 3 different sites. It takes about 5 mins on my machine.

However, this app is targeted towards machine that have a quarter of the technology that my computer has. So, it takes anywhere from 10-15 minutes. This is less than ideal.

Does anyone know of any other method that I could do that would take less resources and perform a lot quicker?

View 7 Replies

VS 2008 Extracting Information From Websites

Aug 16, 2009

I'm currently using a webbrowser control to extract information from multiple websites. At any given time, my application could be searching through 1-80 different webpages across 1-4 different websites. On my computer, it runs pretty quick. I could go through all 80 sites in just a few minutes. But when on another machine with fewer resouces, it runs awfully slow. Taking up to 15 minutes. Which kind of beats the purpose, but not entirely, of my application.

I'll begin by explaining my methods, and go from there. When utilizing the Webbrowser control, I use While statements and Application.DoEvents, instead of the Webbrowser controls's DocumentCompleted event. I'm wondering if this is one thing that could be slowing down the process. Though I'm not sure why it would be. Also, would utilizing separate threads help with this? I can't imagine it would boost performance. But I'm not entirely sure. I think it bogs down because the application uses so much memory when running. On idle, the application uses about 9.5k memory. When running, I've seen it go as high as 110k.

View 4 Replies

VS 2010 - Extracting Information From Website

Dec 20, 2010

I want to extract some information from a web site (Bloomberg). This side has a search textbox with a onKeyUp event that, as far as I can understand, uses AJAX to create a table. Is it possible to insert some text in the textbox and then get the table created with AJAX? Given the source code of the page with the tabled already AJAXed (If you understand what I want to say here), I can easily retrieve the table. I just need to get the source code with the table already on it.

View 7 Replies

Extracting EXIF Information/tags From Photos?

Aug 18, 2010

I'd like to look into extracting EXIF tags/data from jpg images. I've looked around but can't seem to see any simple example. Anyone able to point me into the direction of pulling out the model/date values etc out of EXIF data?

View 2 Replies

VS 2008 Extracting Information From 'database' (?) Behind Website?

Feb 3, 2010

My university has a website that students can use to check stuff like their lesson schedules, latest grades, exam times, etc. Just general information about you and your study (after you have logged in of course).For interested, this is the website (not much use without a login obviously, but still): [URL]I have been thinking lately that it would be nice to have a desktop application that could give me the same information. However, I have absolutely no idea how that would work, and whether or not it is even possible. I mean, technically it should be possible for me to get the information (how else does the website get it) provided it is not secured (even when using the correct login details). I am sure the website communicates with a database somewhere. Does that mean I could theoretically also communicate with the database (probably: read from it only, not write) for example by executing queries?If that is possible, how do I figure out which queries to use for the different pieces of information? Obviously I don't know the details of the database so I can't just send a random query and expect it to work...

View 8 Replies

Use ToolTip To Show Some Specific Information About Specific Locations Of A Drawing?

Oct 27, 2009

The below picture is generated by the following code:

Public Class Form1
Private Sub Form1_Paint(ByVal sender As Object , ByVal e As System.Windows.Forms.PaintEventArgs) Handles Me .Paint

[Code]....

What I want to do is when I click on each grid on the form (Touch Screen), a tooltip of some stored information about the grid appears on screen. For example, if I click my mouse on square 6,8 then some stored information such as grid number, grid name, level...etc appears on the tooltip on the screen.

View 5 Replies

Extracting Specific Text From Loaded Html Source?

Oct 19, 2009

I'm trying to extract the text fields inbetween the code but the text is always changing so I'm not sure how to keep this dynamic. In put them in to the proper text boxes.

So text box 1 might be Date: then it pulls the date.

and there are multiple listings. so I need it to loop until the end of </table>

[Code].....

View 10 Replies

VS 2010 Extracting Specific Text From A String Is Slow?

Feb 23, 2012

I have a text file I'm trying to pull specific data from to make a report in excel and am wanting to know if my code can be improved or if I have something wrong. If it's apparent to anyone that I should be doing something elThis code does work but, very slow. These reports take up to 20 minutes for about 100 files so I am wanting to decrease the time somehow. I have attached the whole sub in a text file, it's about 900 lines long so don't think I should post all of it. This is one part that seems to take the longest:Partial code that reads the text into a string, then each line is read to find whether it holds the data or not. Inside this while loop, I am checking numerous lines to see what they hold and extract specific items. First I verify it's a interface by checking for "line protocol".

Dim str As StreamReader = File.OpenText(filefound)
While (str.Peek <> -1)
If txtLine.Contains("line protocol") = True Then 'Found an interface,

[code].....

View 10 Replies

Pull Information From An XML Webpage?

Jun 10, 2011

I'm trying to pull information from an XML webpage but for some reason it just isn't working. The XML webpage looks a little like

<?xml version="1.0" encoding="UTF-8"?>
<item>
<reqdat>Date and time</reqdate>
<result>Completed</result>
</item>

I want to get the node, but everything I've tried hasn't worked :( I think what I need to do might have something to do with SelectSingleNode but I'm not sure.

View 1 Replies

Retrieve Information From A WebPage?

Feb 4, 2010

I am having a bit of trouble figuring out how to collect a piece of information from a web page. Here is the web page I want to retrieve the information from:

RuneScape - The Number 1 Free Multiplayer Game

I would like to retrieve the first "Price" of the item and collect the price every time I execute the code. I understand how to retrieve the source code of the webpage and split strings but how would I retrieve that price?

View 1 Replies

JavaScript - Best Way To Display XML Information On Webpage?

Feb 12, 2012

I've currently got a service that produces xml files every 10 seconds containing server information. I'm looking for a way to display this on a web page. I have been looking on the web for the best way to do this and it seems that using AJAX would be good as it allows the loading of dynamic content to be done in the background. However how can I use AJAX? Should I add a ASP.NET website to my visual studio project? OR should I look to use javascript & AJAX in something like dreamweaver? I'm very new to programming so i only really have a bit of experience in vb.net.

View 2 Replies

VS 2010 : Taking Information From A Webpage?

May 5, 2012

I need to navigate to a webpage and copy a string of information from it within the shortest possible timeframe. The site has the following written on it:This is the string that you need to apply to your algorithm.

Generated String: 61*76*83*47*69*88*

I want to copy the string from the webbrowser control and place it into a string called "GenString"

View 1 Replies

VS 2010 Unable To Get Information From Field On Webpage

Jul 1, 2011

What I want to do is to get information which has been stored on a webpage in a hidden field.

I have been able to put information on to a web page using the following

WebBrowser1.Document.GetElementById("email").InnerText = email
WebBrowser1.Document.GetElementById("college").InnerText = coll
WebBrowser1.Document.GetElementById("status").InnerText = status

[Code]....

I have tried various lines of code but non of them seem appropriate for what I want to do. The current line I have got is:

'hidfld is the hidden field on the webpage which I want the info from
findword = WebBrowser1.Document.GetElementById("hidfld").OuterText

View 2 Replies

Scrape Some Information Off Of A Webpage That Is Heavily Javascript Enabled

Mar 27, 2011

I am *VERY* new to web-scraping and am trying to scrape some information off of a webpage that is heavily javascript enabled. An example of the page I am trying to scrape from is: [URL] I am trying to scrape the property links such as "322 E 98th St" The text appears on the webpage and I can find the link myself, but it doesn't appear in the page source code.

I am trying to scrape it using the webbrowser control using the WebBrowser1.DocumentText property, but it doesn't even show the links simply when I view the source in ie. I am sure this has something to do with the javascript it uses to load up the page or maybe iFrames,

View 3 Replies

Navigate To A Specific Webpage?

Jun 25, 2009

I need to navigate to a specific webpage like webbrowser1.navigate("http://samplepage.co") This wegpage is somehow password protected. I know the password and the username. With a normal httprequest and response I could easily create the network credentials and get the code.

I need a way to display this page within the webbrowser with the credentials: Username and Password. The user should not enter the password and the username because somehow they are entered before and stored. Do you know any way to do so?

View 13 Replies

Visual Basic 2008 Extracting Div Tags, Extracting Title Tags, Extracting Keyword Tags, Parsing Div Tags?

Nov 7, 2009

I was just wondering how to extract or parse any particual tags (whichever I specify) from webpages. I know how to extract text and links from webpages, but I tried to use the same method from the following code for div tags, title tags etcetera and it doesn't seem to work:

[Code]...

View 2 Replies

Display Specific Part Of A Webpage?

Jun 15, 2012

How to show a specific part of web page in visual basic form or in webbrowser?

this is problem for someone but like my problem.I am creating a application,at present my application is in development stage My app has a web browser control and a button the web browser will load you tube videos in the web page.i need to do display the video but i like to skip the other parts of the web page.this means showing video player on the web page and skipping the other parts

View 2 Replies

Selecting A Specific Area Of A WebPage?

Oct 24, 2010

I was wonder how, if you can, can I create a WebBrowser control or something similar to this, that will contain a selected area of information, and that information only. So it doesn't load and show the whole web page, only the part I choose.

For example, I would only want to show the weather portion of this webpage: [URL]

How can I get a specific area of a webpage, loaded into a form, that is able to be reloaded/refreshed later on?

View 3 Replies

How To Find Specific Data Within Webpage Source

Jun 27, 2009

I'm building a vb project using vb 2008 and I am trying to get a specific data from the source of a webpage. I am now trying to have the vb project access the below source of the webpage [URL] and retrieve the word "Dublin" from the code from the following line:
</tr><tr><td class="s7 li ou"><a href="dorf1.php?newdid=106467">Dublin</a></td>

The word "Dublin" should be stored in the string villagename1 (I will use that string several times later in the project) and it should at NO time open a IE page as to make it as invisible as possible.

Webpage Source:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "[URL]">
<html><head> <title>Travian uk5</title>
<meta http-equiv="cache-control" content="max-age=0" />
<meta http-equiv="pragma" content="no-cache" />
[Code] .....

View 4 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved