ReeciePoo 0 Light Poster
Dim objLink As HTMLLinkElement
Dim objMSHTML As New MSHTML.HTMLDocument
Dim objDocument As MSHTML.HTMLDocument
Dim currentver As String
currentver = "1.0"
Set objDocument = objMSHTML.createDocumentFromUrl("[URL]http://alexsoft.awardspace.com/updates/updates.php?version=1.0[/URL]", _
                                                  vbNullString)
While objDocument.readyState <> "complete"
    DoEvents
Wend
If InStr(1, objDocument.documentElement.outerHTML, "UpdateMe") Then
Command1.Visible = True
lblstatus.Caption = "Update Available"
Timer3.Enabled = False
Else
lblstatus.Caption = "No Update Available"
Command1.Caption = "No update."
Command1.Enabled = False
Command1.Visible = True
Timer3.Enabled = False
End If
Text1.Text = objDocument.documentElement.outerHTML

for some reason its not retrieving the information from http://alexsoft.awardspace.com/updates/updates.php?version=1.0
just gettin html from awardspace.com or something? any ideas or help?

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.