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. Application Focus

Application Focus

Scheduled Pinned Locked Moved C#
comdesignhosting
3 Posts 2 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.
  • K Offline
    K Offline
    Kayess Tech
    wrote on last edited by
    #1

    Hi All, I have an app which opens three other apps as the user requires them. What I would like to do is, if the app (process) is already running, give it the focus rather than open another instance of it. Can maybe someone point me in the right direction. TIA Web design and hosting http://www.kayess.com.au

    S 1 Reply Last reply
    0
    • K Kayess Tech

      Hi All, I have an app which opens three other apps as the user requires them. What I would like to do is, if the app (process) is already running, give it the focus rather than open another instance of it. Can maybe someone point me in the right direction. TIA Web design and hosting http://www.kayess.com.au

      S Offline
      S Offline
      Shajeel
      wrote on last edited by
      #2

      check out the following link. http://www.c-sharpcorner.com/FAQ/Create1InstanceAppSC.asp it show how to give focus to application if it is already running and uses its id to compare, in your case you can search process by name. Shajeel

      K 1 Reply Last reply
      0
      • S Shajeel

        check out the following link. http://www.c-sharpcorner.com/FAQ/Create1InstanceAppSC.asp it show how to give focus to application if it is already running and uses its id to compare, in your case you can search process by name. Shajeel

        K Offline
        K Offline
        Kayess Tech
        wrote on last edited by
        #3

        Thanks a lot Shajeel. It worked a treat :-D Web design and hosting http://www.kayess.com.au

        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