VBcoders Guest



Don't have an account yet? Register
 


Forgot Password?



Use the Microsoft Internet Control to determine when a web page was last modified.

by Anonymous (267 Submissions)
Category: Internet/HTML
Compatability: VB 6.0
Difficulty: Unknown Difficulty
Originally Published: Sat 24th July 1999
Date Added: Mon 8th February 2021
Rating: (1 Votes)

Use the Microsoft Internet Control to determine when a web page was last modified.

Rate Use the Microsoft Internet Control to determine when a web page was last modified.




    Dim strHeader As String
    
    'set protocol to HTTP
    Inet1.Protocol = icHTTP
    
    'open URL
    Inet1.OpenURL ("http://www.microsoft.com")
    
    ' Retrieve the date page was last modified
    strHeader = Inet1.GetHeader("Last-modified")
    
    MsgBox strHeader

Download this snippet    Add to My Saved Code

Use the Microsoft Internet Control to determine when a web page was last modified. Comments

No comments have been posted about Use the Microsoft Internet Control to determine when a web page was last modified.. Why not be the first to post a comment about Use the Microsoft Internet Control to determine when a web page was last modified..

Post your comment

Subject:
Message:
0/1000 characters