?
Solved

Trying to draw text from a web page

Posted on 2014-02-09
6
Medium Priority
?
167 Views
Last Modified: 2014-03-09
So in VB6, I'm trying to extract, "Experimenting with my new camera on live subjects!" from the web page "http://www.flickr.com/photos/antonystanley/200564369"

I've tried WebBrowser1.Document.body.innerHTML and WinHttpRequest and I just can't get back the data I'm looking for.

Any ideas?
0
Comment
Question by:hrolsons
  • 2
  • 2
5 Comments
 
LVL 46

Expert Comment

by:aikimark
ID: 39848114
What you are looking for is in the header, not the body.  Which of the items with that text are you seeking?
0
 

Author Comment

by:hrolsons
ID: 39848158
I'm trying to set it up so that it grabs the description of the photo, in this particular case, "Experimenting with my new camera on live subjects!"
0
 
LVL 46

Accepted Solution

by:
aikimark earned 2000 total points
ID: 39848165
If you view the source, you will see that text in six places.
0
 

Author Comment

by:hrolsons
ID: 39848299
Now I'm getting it.  What was holding me up is that I was looking for "meta-field photo-desc" and it wasn't finding it on the innerhtml.
0
 
LVL 51

Expert Comment

by:Martin Liss
ID: 39915633
This question has been classified as abandoned and is closed as part of the Cleanup Program. See the recommendation for more details.
0

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Most everyone who has done any programming in VB6 knows that you can do something in code like Debug.Print MyVar and that when the program runs from the IDE, the value of MyVar will be displayed in the Immediate Window. Less well known is Debug.Asse…
Article by: Martin
Here are a few simple, working, games that you can use as-is or as the basis for your own games. Tic-Tac-Toe This is one of the simplest of all games.   The game allows for a choice of who goes first and keeps track of the number of wins for…
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…
This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…
Suggested Courses

601 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