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. Visual Basic
  4. HOT Key For Software

HOT Key For Software

Scheduled Pinned Locked Moved Visual Basic
help
7 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.
  • L Offline
    L Offline
    Lost User
    wrote on last edited by
    #1

    Hi All, My software is running in Background and i want to set Hot Key Setting for showing it.So please help me how can it resolve. Thanks

    If you can think then I Can.

    L D 2 Replies Last reply
    0
    • L Lost User

      Hi All, My software is running in Background and i want to set Hot Key Setting for showing it.So please help me how can it resolve. Thanks

      If you can think then I Can.

      L Offline
      L Offline
      Lost User
      wrote on last edited by
      #2

      There are multiple ways of creating this functionality. Here's one approach; There's a "hotkey" that you can define for a shortcut. Right-click on any icon in the quicklaunch-taskbar, and you'll see where you can enter a "shortcut key" to launch the application. If the application is launched, then check whether your application is already running. If it is, send it a message that it should restore it's main window :)

      I are troll :)

      1 Reply Last reply
      0
      • L Lost User

        Hi All, My software is running in Background and i want to set Hot Key Setting for showing it.So please help me how can it resolve. Thanks

        If you can think then I Can.

        D Offline
        D Offline
        DidiKunz
        wrote on last edited by
        #3

        Hi, you can set a keyboard hook see this[^] for a example, it is in C# but can easy be converted to VB.NET. Regards: Didi

        D 1 Reply Last reply
        0
        • D DidiKunz

          Hi, you can set a keyboard hook see this[^] for a example, it is in C# but can easy be converted to VB.NET. Regards: Didi

          D Offline
          D Offline
          Dave Kreskowiak
          wrote on last edited by
          #4

          This also requires that the app be running all of the time in order to work. Your solution is way too complex for the problem at hand, being overkill for something that can be done with a shortcut at installation time.

          A guide to posting questions on CodeProject[^]
          Dave Kreskowiak Microsoft MVP Visual Developer - Visual Basic
               2006, 2007, 2008

          D 1 Reply Last reply
          0
          • D Dave Kreskowiak

            This also requires that the app be running all of the time in order to work. Your solution is way too complex for the problem at hand, being overkill for something that can be done with a shortcut at installation time.

            A guide to posting questions on CodeProject[^]
            Dave Kreskowiak Microsoft MVP Visual Developer - Visual Basic
                 2006, 2007, 2008

            D Offline
            D Offline
            DidiKunz
            wrote on last edited by
            #5

            ...he sayed, that his app is running in the background. So, if I understand him right, he is looking for a hook and not just for a hot-key to start the app. But anyway, he has both methods showed to him now, so he can choose. Regards: Didi

            L D 2 Replies Last reply
            0
            • D DidiKunz

              ...he sayed, that his app is running in the background. So, if I understand him right, he is looking for a hook and not just for a hot-key to start the app. But anyway, he has both methods showed to him now, so he can choose. Regards: Didi

              L Offline
              L Offline
              Lost User
              wrote on last edited by
              #6

              Thank you DidiKunz.

              If you can think then I Can.

              1 Reply Last reply
              0
              • D DidiKunz

                ...he sayed, that his app is running in the background. So, if I understand him right, he is looking for a hook and not just for a hot-key to start the app. But anyway, he has both methods showed to him now, so he can choose. Regards: Didi

                D Offline
                D Offline
                Dave Kreskowiak
                wrote on last edited by
                #7

                Well, I don't know how I missed that. Sorry about that.

                A guide to posting questions on CodeProject[^]
                Dave Kreskowiak Microsoft MVP Visual Developer - Visual Basic
                     2006, 2007, 2008

                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