Solved

Trying to draw text from a web page

Posted on 2014-02-09
6
157 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
Comment Utility
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
Comment Utility
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
Comment Utility
If you view the source, you will see that text in six places.
0
 

Author Comment

by:hrolsons
Comment Utility
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 45

Expert Comment

by:Martin Liss
Comment Utility
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

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
Mysql vs Oracle 10 118
Excel Formula to Pull Data from Text String 7 67
MS Access Search and Replace Using VBA 6 40
Adding to a VBA? 6 46
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…
Introduction While answering a recent question about filtering a custom class collection, I realized that this could be accomplished with very little code by using the ScriptControl (SC) library.  This article will introduce you to the SC library a…
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…
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…

762 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

9 Experts available now in Live!

Get 1:1 Help Now