Code Monkey home page Code Monkey logo

Comments (4)

dbforge avatar dbforge commented on May 22, 2024

Hi,

unfortunately, I can't directly say what the problem may refer to due to the fact that you did not give any further information. Where does the error appear? And could you copy the complete StackTrace (right-click on the error text and select "Copy entire message")?

Best,
Dominic

from nupdate.

snrchang avatar snrchang commented on May 22, 2024

Thanks i fixed it, weird error on sever side.
Another problem though is that it gives a error on installing update the the .exe is in use.
Could you give a example of using nupdate please.
this is my code that give error on update the program .exe

` Try
Dim manager As New UpdateManager(New Uri("https://?/Update/updates.json"), "AQAB", New CultureInfo("en"))
manager.SearchForUpdates()
Dim updaterUIc As New UpdaterUI(manager, SynchronizationContext.Current)
updaterUIc.UseHiddenSearch = True
updaterUIc.ShowUserInterface()

    Catch ex As Exception
        MsgBox(ex.Message & ex.Source)
    End Try`

I removed the Url and RSA key for example.

from nupdate.

dbforge avatar dbforge commented on May 22, 2024

Hello,

your call of SearchForUpdates is redundant. All the steps needed for updating are automatically done in the UpdaterUI class when calling ShowUserInterface. This searches the updates, shows the available ones, downloads them and installs them.
So, you can just remove this line.

I do not think that your problem with the host application being maintained is associated with your code. It should then be fine. Are you using WPF or a console application? It may be that the application shutdown may not work correctly due to specific application behaviour.

Best,
Dominic

from nupdate.

snrchang avatar snrchang commented on May 22, 2024

Thanks

from nupdate.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.