Parsing HTML data in a unbound textbox

Posted on 2011-04-21
Last Modified: 2012-05-11
I need a method of searching though some HTML page data that has been place in a unbound textbox on a form using:

strHtml = Me.WebBrowser9.Object.Document.body.innerHTML
TextBox1_txt = strHTML

1) Now I need search though it to find a specific string in it
(or go to the specific line number; its the same line everytime)

2) and extract the text following the seached for string.

Is this possible?

Question by:darkdell
    LVL 19

    Expert Comment

    yes it should be.

    But what is the URL and what is it exactly you want from the webpage?
    LVL 119

    Accepted Solution

    yes, this is possible.
    dim j, str as string    ' varaible for the searched string


    if j<>0
    end if

    Author Closing Comment

    Thank you
    LVL 119

    Expert Comment

    by:Rey Obrero
    why a B grade?

    Featured Post

    Highfive + Dolby Voice = No More Audio Complaints!

    Poor audio quality is one of the top reasons people don’t use video conferencing. Get the crispest, clearest audio powered by Dolby Voice in every meeting. Highfive and Dolby Voice deliver the best video conferencing and audio experience for every meeting and every room.

    Join & Write a Comment

    In the previous article, Using a Critera Form to Filter Records (, the form was basically a data container storing user input, which queries and other database objects could read. The form had to remain op…
    In a multiple monitor setup, if you don't want to use AutoCenter to position your popup forms, you have a problem: where will they appear?  Sometimes you may have an additional problem: where the devil did they go?  If you last had a popup form open…
    Familiarize people with the process of utilizing SQL Server functions from within Microsoft Access. Microsoft Access is a very powerful client/server development tool. One of the SQL Server objects that you can interact with from within Microsoft Ac…
    Using Microsoft Access, learn some simple rules for how to construct tables in a relational database. Split up all multi-value fields into single values: Split up fields that belong to other things into separate tables: Make sure that all record…

    733 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    17 Experts available now in Live!

    Get 1:1 Help Now