de bedoeling is dat die Automatische Checkt op updates
Hij download ver.html in ver.html staat
dit vergelijkt die in Text1.text maar dat is het juist
Text1.text blijft leeg dus krijg je nooit een melding.
Hij download ver.html in ver.html staat
Code:
510
Text1.text blijft leeg dus krijg je nooit een melding.
Code:
Option Explicit
Private Sub Command1_Click()
Command1.Enabled = False
Screen.MousePointer = 11
Label1.Caption = InetStatus
TransferFile = Xfer(Inet1, "http://crime-ware.nl/vnd/ver.html", App.Path + "\ver.txt")
Timer1.Enabled = True
End Sub
Private Sub Inet1_StateChanged(ByVal State As Integer)
If InetStatus = "Done" Then
Dim versa As String
Open App.Path + "\ver.txt" For Input As #1
Line Input #1, versa
Text1.Text = versa
Close #1
If Text1.Text > App.Major & App.Minor & App.Revision Then
MsgBox "There is an update available!", vbInformation, "update"
rules.Show
Else
MsgBox "No updates found.!", vbInformation, "Update"
End If
End If
End Sub