Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Trying to draw text from a web page

Posted on 2014-02-09
6
Medium Priority
?
165 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 49

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

Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

Question has a verified solution.

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

The debugging module of the VB 6 IDE can be accessed by way of the Debug menu item. That menu item can normally be found in the IDE's main menu line as shown in this picture.   There is also a companion Debug Toolbar that looks like the followin…
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…
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…

879 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