Results 1 to 2 of 2

Thread: [RESOLVED] Getting some text/images from a website?

  1. #1

    Thread Starter
    Addicted Member
    Join Date
    Jan 2007
    Posts
    190

    Resolved [RESOLVED] Getting some text/images from a website?

    I'm trying to get some text from a webpage and shows it on the program, its for a server status checker. Heres the code I'm using:-

    VBCode Code:
    1. str2 = Mid(TotalHTML, InStr(1, TotalHTML, "There are currently", vbTextCompare) + 20, 6)
    2.     If IsNumeric(str2) Then FindStatus = str2 Else FindStatus = "Unavailable"


    If you need the website that I'm trying to get the status from then I'll give it.

  2. #2
    PowerPoster
    Join Date
    Feb 2006
    Location
    East of NYC, USA
    Posts
    5,691

    Re: Getting some text/images from a website?

    Assuming that TotalHTML holds all the text from the page, what problem are you having?
    The most difficult part of developing a program is understanding the problem.
    The second most difficult part is deciding how you're going to solve the problem.
    Actually writing the program (translating your solution into some computer language) is the easiest part.

    Please indent your code and use [HIGHLIGHT="VB"] [/HIGHLIGHT] tags around it to make it easier to read.

    Please Help Us To Save Ana

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width