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. exe in the system tray

exe in the system tray

Scheduled Pinned Locked Moved Visual Basic
csharpsysadminquestionworkspace
19 Posts 5 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.
  • C Christian Graus

    I already answered that. you were talking about startup, so I answered that, too. To put your app in the startup tray, you need to write it to be there, your installer can't do that ( like I said ).

    Christian Graus - Microsoft MVP - C++ Metal Musings - Rex and my new metal blog "I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )

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

    Hi Christian, I am not getting ur point. My question was based on , how to pogramically put the application in the sys tray before the complition of the installation.I know the diffeence between startup and systray.Can u provide some steps to accomplish this task. Thanks and Regards Pankaj Garg

    C D 2 Replies Last reply
    0
    • A amaneet

      Hi Christian, I am not getting ur point. My question was based on , how to pogramically put the application in the sys tray before the complition of the installation.I know the diffeence between startup and systray.Can u provide some steps to accomplish this task. Thanks and Regards Pankaj Garg

      C Offline
      C Offline
      Christian Graus
      wrote on last edited by
      #9

      I'm sorry, I'm afraid if you can't understand English, there's not much I can do to help. You cannot write an installer which pushes your app onto the system tray. You need to write your app to do this. And, if you google it, you'll see how to do that. Installation has nothing to do with it.

      Christian Graus - Microsoft MVP - C++ Metal Musings - Rex and my new metal blog "I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )

      A J 2 Replies Last reply
      0
      • C Christian Graus

        I'm sorry, I'm afraid if you can't understand English, there's not much I can do to help. You cannot write an installer which pushes your app onto the system tray. You need to write your app to do this. And, if you google it, you'll see how to do that. Installation has nothing to do with it.

        Christian Graus - Microsoft MVP - C++ Metal Musings - Rex and my new metal blog "I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )

        A Offline
        A Offline
        amaneet
        wrote on last edited by
        #10

        I am not afraid too , that how somebody select u as a Microsoft MVP C++

        C 1 Reply Last reply
        0
        • A amaneet

          I am not afraid too , that how somebody select u as a Microsoft MVP C++

          C Offline
          C Offline
          Christian Graus
          wrote on last edited by
          #11

          I assume they did that because I answer people's questions, as I answered yours some time ago. The fact that you couldn't understand the answer, says nothing about me.

          Christian Graus - Microsoft MVP - C++ Metal Musings - Rex and my new metal blog "I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )

          1 Reply Last reply
          0
          • A amaneet

            Hi Christian, I am not getting ur point. My question was based on , how to pogramically put the application in the sys tray before the complition of the installation.I know the diffeence between startup and systray.Can u provide some steps to accomplish this task. Thanks and Regards Pankaj Garg

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

            There is no such thing as "putting an .EXE in the System Tray". An ICON can show up in the System Tray. This icon has to be supplied by your application (look up the NotifyIcon class). Your application must be specifically written to do this itself. The installer has absolutely NOTHING to do with the System Tray, what-so-ever.

            Dave Kreskowiak Microsoft MVP Visual Developer - Visual Basic
                 2006, 2007

            A 1 Reply Last reply
            0
            • D Dave Kreskowiak

              There is no such thing as "putting an .EXE in the System Tray". An ICON can show up in the System Tray. This icon has to be supplied by your application (look up the NotifyIcon class). Your application must be specifically written to do this itself. The installer has absolutely NOTHING to do with the System Tray, what-so-ever.

              Dave Kreskowiak Microsoft MVP Visual Developer - Visual Basic
                   2006, 2007

              A Offline
              A Offline
              amaneet
              wrote on last edited by
              #13

              Hi Dave, I wanted my application icon to come into the sys tray. I am installing my program after then...,I am able to do it on double clicking my exe . But this is not required. I wanted to invoke the icon into the sys tray during the installation process.I meant into the System Configuration Utility (msconfig) Can U help me. Thank You.

              D 1 Reply Last reply
              0
              • A amaneet

                Hi Dave, I wanted my application icon to come into the sys tray. I am installing my program after then...,I am able to do it on double clicking my exe . But this is not required. I wanted to invoke the icon into the sys tray during the installation process.I meant into the System Configuration Utility (msconfig) Can U help me. Thank You.

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

                amaneet wrote:

                wanted to invoke the icon into the sys tray during the installation process

                There is no such thing!

                amaneet wrote:

                I meant into the System Configuration Utility (msconfig

                Do you even know what MsConfig is? The problem is that you don't understand the process why an icon is in the tray. OK, so you want an icon in the tray. What do you want it to do when it's there? The only way you can get an icon in the system tray is if your APPLICATION is written to put one there. It's not the job of the installation to do that! All the installation can do is launch your application after it's installed into Program Files. After that, it can launch your application and your application puts the icon (again, the NotifyIcon class) in the system tray. That icon will only appear when your application runs! Like I, and Christian, have already said, repeatedly, the installation has absolutely nothing to do with putting an icon in the system tray and never will.

                Dave Kreskowiak Microsoft MVP Visual Developer - Visual Basic
                     2006, 2007

                C 1 Reply Last reply
                0
                • C Christian Graus

                  I'm sorry, I'm afraid if you can't understand English, there's not much I can do to help. You cannot write an installer which pushes your app onto the system tray. You need to write your app to do this. And, if you google it, you'll see how to do that. Installation has nothing to do with it.

                  Christian Graus - Microsoft MVP - C++ Metal Musings - Rex and my new metal blog "I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )

                  J Offline
                  J Offline
                  jhoga
                  wrote on last edited by
                  #15

                  check this out. http://blogs.msdn.com/oldnewthing/archive/2003/09/10/54831.aspx[^] Maybe we are all wrong.:)

                  1 Reply Last reply
                  0
                  • D Dave Kreskowiak

                    amaneet wrote:

                    wanted to invoke the icon into the sys tray during the installation process

                    There is no such thing!

                    amaneet wrote:

                    I meant into the System Configuration Utility (msconfig

                    Do you even know what MsConfig is? The problem is that you don't understand the process why an icon is in the tray. OK, so you want an icon in the tray. What do you want it to do when it's there? The only way you can get an icon in the system tray is if your APPLICATION is written to put one there. It's not the job of the installation to do that! All the installation can do is launch your application after it's installed into Program Files. After that, it can launch your application and your application puts the icon (again, the NotifyIcon class) in the system tray. That icon will only appear when your application runs! Like I, and Christian, have already said, repeatedly, the installation has absolutely nothing to do with putting an icon in the system tray and never will.

                    Dave Kreskowiak Microsoft MVP Visual Developer - Visual Basic
                         2006, 2007

                    C Offline
                    C Offline
                    Christian Graus
                    wrote on last edited by
                    #16

                    You're a brave man, Dave, stepping into this mess. I see it didn't really help, tho.

                    Christian Graus - Microsoft MVP - C++ Metal Musings - Rex and my new metal blog "I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )

                    D 1 Reply Last reply
                    0
                    • C Christian Graus

                      You're a brave man, Dave, stepping into this mess. I see it didn't really help, tho.

                      Christian Graus - Microsoft MVP - C++ Metal Musings - Rex and my new metal blog "I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )

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

                      Yeah, I thought maybe, just maybe, if he heard it from another person, it would sink in. :~ Guess not...

                      Dave Kreskowiak Microsoft MVP Visual Developer - Visual Basic
                           2006, 2007

                      C 1 Reply Last reply
                      0
                      • D Dave Kreskowiak

                        Yeah, I thought maybe, just maybe, if he heard it from another person, it would sink in. :~ Guess not...

                        Dave Kreskowiak Microsoft MVP Visual Developer - Visual Basic
                             2006, 2007

                        C Offline
                        C Offline
                        Christian Graus
                        wrote on last edited by
                        #18

                        Maybe if you were not also an MVP....

                        Christian Graus - Microsoft MVP - C++ Metal Musings - Rex and my new metal blog "I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )

                        D 1 Reply Last reply
                        0
                        • C Christian Graus

                          Maybe if you were not also an MVP....

                          Christian Graus - Microsoft MVP - C++ Metal Musings - Rex and my new metal blog "I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )

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

                          Christian Graus wrote:

                          Maybe if you were not also an MVP....

                          This could be one of those cases where I think we should change those lines to "Village Idiot". Maybe they'll listen then?

                          Dave Kreskowiak Microsoft MVP Visual Developer - Visual Basic
                               2006, 2007

                          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