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 Systemtray notification

how to Systemtray notification

Scheduled Pinned Locked Moved C#
helptutoriallearning
15 Posts 4 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.
  • F foysal mamun

    thanks u.i want that it can auto notify by birthday.

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

    Then you must have a checking function 1 time / day. If birthday == DateTime.Now, then show notifyIcon.

    F 1 Reply Last reply
    0
    • L Lost User

      Then you must have a checking function 1 time / day. If birthday == DateTime.Now, then show notifyIcon.

      F Offline
      F Offline
      foysal mamun
      wrote on last edited by
      #6

      sorry, i forgate to tell u that, my program is not run all time.. so how it possible.help me.

      L 1 Reply Last reply
      0
      • F foysal mamun

        sorry, i forgate to tell u that, my program is not run all time.. so how it possible.help me.

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

        If your program is not running, then it is impossible to show notify icon. Just like outlook. If your outlook not running, then you cannot get message whether you get a new message or not.

        F 1 Reply Last reply
        0
        • L Lost User

          If your program is not running, then it is impossible to show notify icon. Just like outlook. If your outlook not running, then you cannot get message whether you get a new message or not.

          F Offline
          F Offline
          foysal mamun
          wrote on last edited by
          #8

          how can i run a process when windows is start.thank for help.

          L 1 Reply Last reply
          0
          • F foysal mamun

            how can i run a process when windows is start.thank for help.

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

            Use System.Diagnostics.Process.Start(string filename); for example : System.Diagnostics.Process.Start(@"C:\WINNT\NOTEPAD.EXE");

            L 1 Reply Last reply
            0
            • L Lost User

              Use System.Diagnostics.Process.Start(string filename); for example : System.Diagnostics.Process.Start(@"C:\WINNT\NOTEPAD.EXE");

              L Offline
              L Offline
              lifo net
              wrote on last edited by
              #10

              sorry here windows means operating system. so how can i run my program when os start.thanks.

              L 1 Reply Last reply
              0
              • L lifo net

                sorry here windows means operating system. so how can i run my program when os start.thanks.

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

                You must copy your application to this directory : C:\Documents and Settings\All Users\Start Menu\Programs\Startup That directory is for all users. If you want to specific user only, then you must change "All User" to other user, for example (MyAccount): C:\Documents and Settings\MyAccount\Start Menu\Programs\Startup

                F 2 Replies Last reply
                0
                • L Lost User

                  You must copy your application to this directory : C:\Documents and Settings\All Users\Start Menu\Programs\Startup That directory is for all users. If you want to specific user only, then you must change "All User" to other user, for example (MyAccount): C:\Documents and Settings\MyAccount\Start Menu\Programs\Startup

                  F Offline
                  F Offline
                  foysal mamun
                  wrote on last edited by
                  #12

                  can i use windows service for that.thankxs.

                  1 Reply Last reply
                  0
                  • L Lost User

                    You must copy your application to this directory : C:\Documents and Settings\All Users\Start Menu\Programs\Startup That directory is for all users. If you want to specific user only, then you must change "All User" to other user, for example (MyAccount): C:\Documents and Settings\MyAccount\Start Menu\Programs\Startup

                    F Offline
                    F Offline
                    foysal mamun
                    wrote on last edited by
                    #13

                    can i use windows service for that than how. thanks.

                    L 1 Reply Last reply
                    0
                    • F foysal mamun

                      can i use windows service for that than how. thanks.

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

                      It depends on your application. If you application is a service, then you must install it in services, set to automatic, then if you start your windows, it will be started automatically. But I don't know how to install a service. Sorry.

                      F 1 Reply Last reply
                      0
                      • L Lost User

                        It depends on your application. If you application is a service, then you must install it in services, set to automatic, then if you start your windows, it will be started automatically. But I don't know how to install a service. Sorry.

                        F Offline
                        F Offline
                        foysal mamun
                        wrote on last edited by
                        #15

                        thanks a lot.he happy.

                        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