By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
455,020 Members | 1,141 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 455,020 IT Pros & Developers. It's quick & easy.

get the title of an image from a webpage

P: n/a
Hi,

I want to connect to a webpage, grap the contents of the page i.e.
index.html, then find a certain html line and identify the image
listed on that html line.

The image title changes every day but i seen it done in php where the
start of the line was listed in a variable and the end of the line was
listed in another variable and a regular expression was used to get
the image title in between. Something like this...
Start = '<IMG SRC="/folder1/images/';

End = '" BORDER=0 ALT="Today\'s Image">';

I am looking for a vb.net tutorial or some code example of how to do
this.

Any help greatly appreciated.
Nov 21 '05 #1
Share this Question
Share on Google+
1 Reply


P: n/a
Kieran,

This is a frustrating job. In the next version this will be simplified, now
you need for that the webbrowser and mshtml. (And as forever, do not set an
import to mshtml, it freezes your IDE because of the almost unending amount
of interfaces)

webbrowser
http://support.microsoft.com/?kbid=311303

some faqs
http://support.microsoft.com/default...b;EN-US;311284

mshtml
http://msdn.microsoft.com/library/de...ng/hosting.asp

I hope this helps a little bit?

Cor
Nov 21 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.