Wirbelwind Posted April 22, 2012 Author Share Posted April 22, 2012 **Hi to all ! :cheesy:**Recently i've downloaded the Auto Updaterto update my game when needed :P**But i have one question !**For exemple :![](http://i.imm.io/mThV.gif)A think like this :```if UpdateUrl not reachable thenmsgbox("Sorry the website is down !")endif```**Or a progress-bar ^^**Sorry if my english is not so good, because i'm french :P :P**THANKS TO ALL !** Link to comment Share on other sites More sharing options...
Guest Posted April 22, 2012 Share Posted April 22, 2012 oui,bien sur ^^tout est possible![](http://s14.postimage.org/yvfxg7801/upd.png) Link to comment Share on other sites More sharing options...
Guest Posted April 22, 2012 Share Posted April 22, 2012 > ![](http://i.imm.io/mThV.gif)That is an error :huh:You cannot change that Link to comment Share on other sites More sharing options...
Wirbelwind Posted April 22, 2012 Author Share Posted April 22, 2012 Thanks for help :PHumm i don't know so ^^I think this is possible to do thatwith some "if" "then" etc ^^I'm not a godd at that .. erf :)Well, Now i just comment this line :```VersionCount = GetVar(App.Path & "\tmpUpdate.ini", "FILES", "Versions")```I don't get error, but says that he could connect to the offline website lol :cheesy:**Well, i think, i can't get anymore of that :P** Link to comment Share on other sites More sharing options...
Guest Posted April 22, 2012 Share Posted April 22, 2012 @Wirbelwind:> Thanks for help :P> > Humm i don't know so ^^> > I think this is possible to do that> with some "if" "then" etc ^^> > I'm not a godd at that .. erf :)That is an error you can't change the errors you can only to fix them Link to comment Share on other sites More sharing options...
Wirbelwind Posted April 22, 2012 Author Share Posted April 22, 2012 @Lumiere:> That is an error you can't change the errors you can only to fix themWell i finally found it ! :cheesy:*happy* lol ^^**This is it :**very basic, i'm nooby at that but i'll try to add things like "case" and "select case" ^^> Public Sub Update()> > On Error GoTo UpdateError> > **[some codes…]**> > UpdateError:> 'MsgBox Err.Description> > If Err.Number = 13 Then> MsgBox "The web server is off"> Else> MsgBox "Other error"> End If> > End Sub![](http://i.imm.io/mTP4.gif) Link to comment Share on other sites More sharing options...
Guest Posted April 22, 2012 Share Posted April 22, 2012 @Wirbelwind:> Well i finally found it ! :cheesy:> > *happy* lol ^^> > **This is it :**> very basic, i'm nooby at that but i'll try to add things like "case" and "select case" ^^> > ![](http://i.imm.io/mTP4.gif)So that's you were trying i see Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now