CodeItBetter Programming Another VB Programming Blog

How to get the Last Modified Date of a Web Page

Posted on January 5, 2009
1
2
3
4
5
6
7
8
9
10
11
12
13
14
'Internet - How to get the Last Modified Date of a Web Page

Option Explicit
 
'Some web pages have the information about the last date they have been modified.
'If the web page doesn't have this information, you will get an empty String.

'Add the Microsoft Internet Transfer Control to your program
'(Choose Project -> components, Select the Microsoft Internet Transfer Control)

Private Sub Command1_Click()
    Inet1.OpenURL "http://www.codeitbetter.com"
    MsgBox Inet1.GetHeader("Last-modified")
End Sub
Filed under: Internet Leave a comment
Comments (0) Trackbacks (0)

No comments yet.


Leave a comment


 

No trackbacks yet.