Solved

Trying to draw text from a web page

Posted on 2014-02-09
6
158 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
6 Comments
 
LVL 45

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 45

Accepted Solution

by:
aikimark earned 500 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 46

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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Introduction I needed to skip over some file processing within a For...Next loop in some old production code and wished that VB (classic) had a statement that would drop down to the end of the current iteration, bypassing the statements that were c…
When trying to find the cause of a problem in VBA or VB6 it's often valuable to know what procedures were executed prior to the error. You can use the Call Stack for that but it is often inadequate because it may show procedures you aren't intereste…
Get people started with the process of using Access VBA to control Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…
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…

919 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