help parse info from a web page 
Author Message
 help parse info from a web page

ok, i a newbie but i know that this can be done. but i need help down below
i have i dentified the parsing location
i would like to spesify somthing like to do something like  starts
th   ----------- ends with.   then grab all of the info between the two word
or phrases that I specify

Ask=" http://www.*-*-*.com/ ;

    ' Define some Internet Explorer COM object constants used by this macro.


    Dim StartTime, WebBrowser, Text
    ' Start a browser
    Set WebBrowser = CreateObject("InternetExplorer.Application")
    WebBrowser.Visible = True

    ' Get to the URL.
    WebBrowser.navigate Ask, 4
    ' Set Start Time
    StartTime = Now()
    ' Wait for up to 15 seconds for action to complete.
    Do While Not WebBrowser.readyState = READYSTATE_COMPLETE And _
      Now() < StartTime + 15.0 / (3600.0 * 24.0)
      ' Check if action completed.
    If Not WebBrowser.readyState = READYSTATE_COMPLETE Then
        ' Need to stop the browser.
        ' Website could not be reached!
        MsgBox "Sorry, the web site could not be reached."
        ' Close the browser.
       End If

'This is where the parse would take place.

MsgBox "this" +WeatherText

Fri, 05 Sep 2003 14:23:05 GMT  
 [ 1 post ] 

 Relevant Pages 

1. Help with Getting info from a web page and putting it into a database

2. Help: returning specific info from a web page

3. parsing pages, copies, and paper size info....

4. Parsing a web page with

5. parsing information from web pages

6. Question on Parsing a Web page

7. using textrange in visual basic to parse web page

8. get a file, parse it for info, display info on webpage

9. returning and parsing a remote web pages contents

10. Import info from web page to Access

11. Pass info to ActiveX Control from web page

12. Pass info to ActiveX Control from Web Page


Powered by phpBB® Forum Software