Bekijk de onderstaande video om te zien hoe je onze site als een web app op je startscherm installeert.
Opmerking: Deze functie is mogelijk niet beschikbaar in sommige browsers.
Current = App.Major & "." & App.Minor & "." & App.Revision
Dim website As String
Dim Update As String
Dim Version As String
Dim Download As Integer
[COLOR="seagreen"]'This should be changed into the link of your version.txt[/COLOR]
website = Inet1.OpenURL("http://www.freewebs.com/jessydeman/version.txt")
[COLOR="seagreen"]'This should be changed into the current version of the hack.[/COLOR]
[COLOR="seagreen"]'omdat de string 'website' nu de variabele houd (bv. "1.0") moet je DIE checken met de current.
'Ik ga er even van uit dat je geen revisions gebruikt zoals etri zei, maar alleen major en minor.[/COLOR]
[COLOR="seagreen"]'zoiets dus:[/COLOR]
Version = app.major & "." & app.minor [COLOR="seagreen"] 'zet de versie[/COLOR]
[COLOR="SeaGreen"]'OF, hard code het, dus zo: Version = "2.0"[/COLOR]
current = website [COLOR="seagreen"] 'website had de string, niet current.[/COLOR]
[COLOR="SeaGreen"]'Noot trouwens wel dat je variabele-namen nergens op slaan, want 'current' bevat nu dus de waarde van de remote-app, en version die van de app waar deze code op draaid. Whatever.[/COLOR]
If Version = Current Then
MsgBox ("There is no new version avaible.")
Else
[COLOR="seagreen"]'This should be changed into the link of your update.txt[/COLOR]
Update = Inet1.OpenURL("http://www.freewebs.com/jessydeman/Update.txt")
Download = MsgBox(Update, vbYesNo)
If Download = vbYes Then
[COLOR="seagreen"]'This should be changed into the link of where you will upload your hack to[/COLOR]
WebBrowser1.Navigate "http://www.freewebs.com/jessydeman/Censored.rar"
End If
End If
[COLOR="seagreen"]'You should take this away if it's in the form_load event[/COLOR]
cmdupdate.Enabled = False
We gebruiken essentiële cookies om deze site te laten werken, en optionele cookies om de ervaring te verbeteren.