Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C#
  4. how to restart application after updating version

how to restart application after updating version

Scheduled Pinned Locked Moved C#
csharpquestionannouncementtutorial
8 Posts 3 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • A Offline
    A Offline
    asma_panjabi
    wrote on last edited by
    #1

    hello, m working on win forms using C#.net i use Appupdater to update version. My application gets updated but the application doesnt restart. When i manually start the application it starts with new version. How do i relaunch my application after Updation?

    N 1 Reply Last reply
    0
    • A asma_panjabi

      hello, m working on win forms using C#.net i use Appupdater to update version. My application gets updated but the application doesnt restart. When i manually start the application it starts with new version. How do i relaunch my application after Updation?

      N Offline
      N Offline
      N a v a n e e t h
      wrote on last edited by
      #2

      Application.Restart()[^]

      All C# applications should call Application.Quit(); in the beginning to avoid any .NET problems.- Unclyclopedia How to use google | Ask smart questions

      A L 2 Replies Last reply
      0
      • N N a v a n e e t h

        Application.Restart()[^]

        All C# applications should call Application.Quit(); in the beginning to avoid any .NET problems.- Unclyclopedia How to use google | Ask smart questions

        A Offline
        A Offline
        asma_panjabi
        wrote on last edited by
        #3

        in C#.net 1.1 i dnt have Application.Restart();

        1 Reply Last reply
        0
        • N N a v a n e e t h

          Application.Restart()[^]

          All C# applications should call Application.Quit(); in the beginning to avoid any .NET problems.- Unclyclopedia How to use google | Ask smart questions

          L Offline
          L Offline
          leppie
          wrote on last edited by
          #4

          Wow, never seen that one before :) You learn something new everyday, thanks ;)

          xacc.ide - now with TabsToSpaces support
          IronScheme - 1.0 alpha 4a out now (29 May 2008)

          N A 2 Replies Last reply
          0
          • L leppie

            Wow, never seen that one before :) You learn something new everyday, thanks ;)

            xacc.ide - now with TabsToSpaces support
            IronScheme - 1.0 alpha 4a out now (29 May 2008)

            N Offline
            N Offline
            N a v a n e e t h
            wrote on last edited by
            #5

            leppie wrote:

            Wow, never seen that one before

            :confused: do you really mean it ?

            All C# applications should call Application.Quit(); in the beginning to avoid any .NET problems.- Unclyclopedia How to use google | Ask smart questions

            L 1 Reply Last reply
            0
            • N N a v a n e e t h

              leppie wrote:

              Wow, never seen that one before

              :confused: do you really mean it ?

              All C# applications should call Application.Quit(); in the beginning to avoid any .NET problems.- Unclyclopedia How to use google | Ask smart questions

              L Offline
              L Offline
              leppie
              wrote on last edited by
              #6

              N a v a n e e t h wrote:

              do you really mean it ?

              Yes, no joke. I have never needed that ;P

              xacc.ide - now with TabsToSpaces support
              IronScheme - 1.0 alpha 4a out now (29 May 2008)

              N 1 Reply Last reply
              0
              • L leppie

                N a v a n e e t h wrote:

                do you really mean it ?

                Yes, no joke. I have never needed that ;P

                xacc.ide - now with TabsToSpaces support
                IronScheme - 1.0 alpha 4a out now (29 May 2008)

                N Offline
                N Offline
                N a v a n e e t h
                wrote on last edited by
                #7

                Ohh then I am delighted that I could able to help you. Thanks. :)

                All C# applications should call Application.Quit(); in the beginning to avoid any .NET problems.- Unclyclopedia How to use google | Ask smart questions

                1 Reply Last reply
                0
                • L leppie

                  Wow, never seen that one before :) You learn something new everyday, thanks ;)

                  xacc.ide - now with TabsToSpaces support
                  IronScheme - 1.0 alpha 4a out now (29 May 2008)

                  A Offline
                  A Offline
                  asma_panjabi
                  wrote on last edited by
                  #8

                  http://msdn2.microsoft.com/en-us/library/system.windows.forms.application.restart(VS.80).aspx[^] Note: This method is new in the .NET Framework version 2.0.

                  1 Reply Last reply
                  0
                  Reply
                  • Reply as topic
                  Log in to reply
                  • Oldest to Newest
                  • Newest to Oldest
                  • Most Votes


                  • Login

                  • Don't have an account? Register

                  • Login or register to search.
                  • First post
                    Last post
                  0
                  • Categories
                  • Recent
                  • Tags
                  • Popular
                  • World
                  • Users
                  • Groups