Is using a taskbar icon in .exe combined with windows service a good idea as part of an alarm system?

My client wants an alert system and his focus is on the taskbar.  He wants the icon to change, (and ideally even blink) and also to have some beeping when a new work request comes in.  It needs to run constantly, and grab the attention of an operator
who may not be paying much attention to the screen.
I’m excited to develop this, but after years of web development, I feel paralyzed.  I must be making this harder than it needs to be, but here’s my plan…  I'll start with a windows form, which will run minimized, and have an icon that looks like
a hammer in the taskbar.  A timer would continually check for a new service requests.  When it sees one it would change the toolbar icon to a red x and sent a few dozen beeps out to the operator.  I think I need a windows service running that
checks periodically to see if my windows exe is running.  If not, it should start it up.  Perhaps this could be a scheduled task, rather than a service.  
Some of my questions are;
How do I change the taskbar icon on the fly?
Is this a good idea, or is there an easier way?
Snippets of code or related articles are most welcome!
Thanks!

So I created a windows form and added a timer to check for unacknowledged requests.  If it finds any, it changes the icon on for the taskbar, and makes a beep.  Simple, but it works.  However, I'm having a beep of a time trying to figure out
where to put the ico files so they are where they need when I publish it.  Others seem to suggest adding them using the properties of the application, under application / resources / Icon and manigest blah blah blah.  But I can only seem to add one
there.  I need the three different ones.  I'm confused!  Any suggestions?
        private bool iconBig = true;
        private Icon redcross = new Icon("..\\NewRequest.ico");
        private Icon redcross2 = new Icon("..\\NewRequest2.ico");
        private Icon hammer = new Icon("..\\Hammer.ico");
 private void timer1_Tick(object sender, EventArgs e)
            List<WorkRequest> myWorkRequests = WorkRequestData.WorkRequest_unAcknowledged();
            if (myWorkRequests.Count > 0)
                for (int i = 0; i < 5; i++)
                    SystemSounds.Beep.Play();
                    if (iconBig == true)
                        iconBig = false;
                        this.Icon = redcross;
                        this.Refresh();
                    else
                        iconBig = true;
                        this.Icon = redcross2;
                        this.Refresh();
            else
                this.Icon = hammer;
                this.Refresh();

Similar Messages

  • Use of business partner functionality in combination with dual control

    Is there a generally agreed upon procedure to use the business partner functionality in combination with dual control? The problem is that when you block a business partner, the customer/ vendor master data aren't blocked automatically. You can then still use them in transactions, which leads to problems.
    So is there a way to make this work or a procedure to do this?
    Niels Vanwingh

    Thanks Masa,
    I did notice the 'Add external supplier from' in create supplier or bidder option. However there is a small catch and your experience may help.
    Let me explain the requirement and scenario here in SRM 7.
    We are implementing the Registration of Supplier scenario; both ROS and SRM are in same client. When a potential supplier registers themselves in the registration system, a BP number is created (an Internal number range is defined for this). After accepting the potential supplier in pre-select screen the purchaser has two options to transfer the potential supplier from the ROS system to SRM
    Option 1: He can select the accepted potential supplier from the supplier directory option and transfer the business partner to SRM. In this case the business partner number of the potential supplier is retained in SRM and a business partner with supplier and bidder tag is created. However the purchaser does not have any option to select which type of business partner he would like to create like supplier or bidder.
    Option 2: Purchase can go to create supplier or bidder option and choose the u2018Add external supplier formu2019 from the ROS system and create the business partner. The ROS business partner details are copied to the create supplier screen, but the purchaser have to provide an external business partner number for the supplier. This is because we have defined external number range for business partner for the vendors that are replicated from ERP to SRM.
    Objective is the ROS business partner should be retained in SRM with option to create as supplier and bidder and then manually create ERP supplier with same SRM BP number and map against SRM supplier.
    Is there any way we can achieve this?
    In SRM 5.5 with Manage business partner functionality we could achieve as system give us the option which business partner type we would like to create as well as retains the ROS BP number in SRM.
    Regards
    Sandeep

  • Can i use the trial version of Photoshop CS6 with Windows XP - if so, where can i download it?

    Can i use the trial version of Photoshop CS6 with Windows XP - if so, where can i download it?

    Hi,
    Yes you can, please check the minimum system requirements: System requirements | Photoshop
    Here is the download link for trail: Download CS6 products
    Thank You
    Arjun

  • Considering using 20" Imac with larger external monitor - good idea?

    I've just returned my 24" Imac for a refund due to the uneven brightness issue. I want a set up for my illustration work, but can't justify the price of a mac pro + monitor. Therefore I'm considering a 20" Imac 2.4 GHZ, and connecting an external 23/24" monitor that has better consistent brightness than the Imac screens, e.g. the Dell 2407WFP-HC or an 23" Apple cinema display. The idea is that, any problems with gradients on the Imac screen won't bother me as I'll be using it merely as a web browser.
    Is this a good idea? Will there be any problems running a larger monitor of the Imac - any compatibility issues etc. Can anyone recommend a good screen around the £500 mark or under? I basically want a screen that isn't obviously brighter on one side than the other, as the Imac appears to be.

    I know uneven lighting is a complaint among 24" iMac users - and I've seen two myself. But not all of them have the problem. You might want to consider trying another before giving up on them. Having said that - take a look at Samsung displays. I don't know what they run in the UK but I'm very impressed with the ones we have at work.

  • Lot of addons are not working even after uninstalling and reinstalling them. Using 3.6.12 version of firefox with windows

    I am using 3.6.12 version of firefox with windows OS. Recently, lot of addons not working and not showing in task bar like IE tab, RC Search, Answers, Better Privacy, AdBlock plus, etc. I have some 15-20 addons installed of which only 5-6 addons are working .Please help

    Update to 3.6.17 in the first instance by clicking '''Help '''| '''Check For Updates'''.
    The main reason for this is because there was a security breach at Comodo which is an SSL certificate provider recently whereby a number of fraudulent certificates were inadvertently issued. These allow a hacker to impersonate any site including online banking and the Firefox version you're running at the moment will not warn you that the site is a fake. The fraudulent certificates were blacklisted in v3.6.17 and beyond.
    See: http://blogs.comodo.com/category/it-security/data-security/
    It's not a good idea to install an ActiveX control in Firefox because you expose your machine to exploits which target that Microsoft technology. If you need to use Internet Explorer, then do that rather installing the IE Tab.
    You may find your other add-ons start working properly after you update Firefox, so do that first.

  • I am using Adobe Reader X on a laptop with Windows Vista OS and Adobe Reader XI on an older laptop with Windows XP OS.  While filling out the same form on each computer, I have found that I can save info on the older laptop, but not on the newer one.  Thi

    I am using Adobe Reader X on a laptop with Windows Vista OS and Adobe Reader XI on an older laptop with Windows XP OS.  While filling out the same form on each computer, I have found that I can save info on the older laptop, but not on the newer one.  This is a big problem.  I must be able to save on the newer computer.  Do I need to buy a new computer with a more up-to-date OS?  Please help.

    Adobe Reader X can only save reader-enabled forms. Adobe Reader XI can save all forms.

  • Can I use a Canon Power Shot SX210-IS with Windows 8?

    Can I use a Canon Power Shot SX210-IS with Windows 8? Is the software compatible or is there an update?
    Solved!
    Go to Solution.

    Hello mtjs13,
    You would be able to use your PowerShot SX210 IS camera with Windows 8.  We have a directory of software on our web site which includes a set of updates for Windows 8.  You can access them through this web link. 
    Did this answer your question? Please click the Accept as Solution button so that others may find the answer as well.

  • I created a partition on my iMac drive. I have trashed the files that were in the partition but I can not trash the icon. I tried with Disk Utility. Any ideas?

    I created a partition on my iMac drive. I have trashed the files that were in the partition but I can not trash the icon. I tried with Disk Utility. Any ideas?

    If I understand correctly,  the partition will still be on the disk and therefore mounted on the desktop. You would need to remove that partition to remove the icon.
    Be careful if you try this, don't upset the main Macintosh HD partition or you may lose the OS and your files.
    And always have a full tested backup of your system before modifing disk partitions.

  • May i use firefox in my Samsung SGH-i780 with windows mobile 6.0

    may i use firefox in my Samsung SGH-i780 with windows mobile 6.0

    Sorry, we are not developing Firefox for Windows Mobile.
    Firefox is available now for Nokia Maemo phones, and we are working on a version for Google Android phones.
    For more information, see:
    https://wiki.mozilla.org/Mobile/Platforms

  • When I use SGD4.4 on HP 8400 workstation with windows XP? The color is bad.

    When I use SGD4.4 on HP 8400 workstation with windows XP? The color is bad.
    The applications's color is only 8bit.
    The server is windows 2003 R2.
    When I use RDP to connect the windows server, everything is ok.
    Thanks.

    what color depth have you specified in the application attributes? Ideally it should match the color depth specified on the application server.
    Or, you could be running into the known MS issue with color depth and screen resolutions.
    From: http://docs.sun.com/source/820-4905/chapter2.html#Z40002611001810
    Microsoft Windows Server 2003 Applications Limited to 8-Bit Color Depth for Large Screen Resolutions
    Problem: For Microsoft Windows Server 2003 applications, the display color depth on the client device is limited to 8-bit for large screen resolutions. The issue is seen when screen resolutions are higher than 1600 x 1200 pixels.
    Cause: A known issue with Windows Server 2003 terminal services sessions.
    Solution: See Microsoft Hotfix 942610 for details of how to increase the color depth to 16-bit.

  • Need to create a PDF Portfolio programatically using the Adobe SDK in C# from a Windows Service.

    What classes/methods should I be using?
    We need to create a PDF portolio from a windows service written in C#.
    We need to merge several PDF documents into a single PDF portfolio from our windows service (programatically).
    I have seen documentation in the Adobe help on how to do it using the Adobe UI, but we need to do this step programatically from our windows servie.
    Thanks!

    You can't access Acrobat from a service - since we won't run in Service mode...only in standard Application mode.  In addition, we don't run on a server.
    But if you were doing this from a standard application - then you'll want to read the JavaScript documentation in the SDK as well as the documents about the .NET/JS bridge.

  • Using an Audigy Platinum Live Drive bay with Windows 7

    6Using an Audigy Platinum Li've Dri've bay with Windows 7` I bought this card/bay a long time ago:
    http://support.creative.com/Products/ProductDetails.aspx?catID=&subCatID=205&prodID=484 6&prodName=Audigy%20Platinum&subCatName=Audigy&Cat Name=Sound+Blaster&VARSET=prodfaq:PRODFAQ_4846,VARSET=CategoryID:
    Unfortunately the Li've Dri've panel, which was pretty much the entire reason I bought it, hasn't worked since I installed Windows XP years ago. Now I'm up to W7 64 bit and I'm wondering if there's any use trying to reinstall the hardware and make it work or if I should just get rid of it.
    In XP and possibly in Vista I could get basic functions out of the card, but the EAX control panel didn't really work anymore. I used to use the remote control, plug in my guitar and use effects, etc. I'd really like to be able to do that again. Anyone know?

    6Using an Audigy Platinum Li've Dri've bay with Windows 7` I bought this card/bay a long time ago:
    http://support.creative.com/Products/ProductDetails.aspx?catID=&subCatID=205&prodID=484 6&prodName=Audigy%20Platinum&subCatName=Audigy&Cat Name=Sound+Blaster&VARSET=prodfaq:PRODFAQ_4846,VARSET=CategoryID:
    Unfortunately the Li've Dri've panel, which was pretty much the entire reason I bought it, hasn't worked since I installed Windows XP years ago. Now I'm up to W7 64 bit and I'm wondering if there's any use trying to reinstall the hardware and make it work or if I should just get rid of it.
    In XP and possibly in Vista I could get basic functions out of the card, but the EAX control panel didn't really work anymore. I used to use the remote control, plug in my guitar and use effects, etc. I'd really like to be able to do that again. Anyone know?

  • Got message... you can't use this version of the application mail with this version of Max OS X, after i upgraded operating system to MAC OSA X Snow leopard.  How do I get my Mail?

    Hi ...just upgraded my Macbook pro to Mac OSX snow leopard and when I tried to look at my mail, I got this message "You can't use this version of the application mail with this version of MAC OS X".  What do I do now to look at my mail and receive new mail?

    After updating make sure you repair permissions and restart your computer.

  • Want to use SCCM 2007 to image thinkpad 10 with windows 7

    Hello,
    can someone tell me if
    SCCM 2007 can be used to build the thinkpad 10 tablet and if it can
    can I deploy a windows 7 x64 image to it and it I can
    where are the drivers as I can only find windows 8 drivers.
    I have build a Helix successfully in the past with windows 7 but I cannot get the thinkpad to work, what am I missing?????
    thanks
    Nazir

    Perhaps this page from Microsoft will help understand which versions of SCCM can deploy which versions of OS:
    http://support.microsoft.com/kb/2909893/en-us
    As for the ThinkPad 10, I believe it only supports Windows 8.1 so there will be no Windows 7 SCCM driver pack for it.

  • Using node manager to make adminserver run as windows service.....

    using:
    Oracle weblogic server 11g
    Oracle forms and Reports 11g
    jdk 1.7.0
    jre 7
    i found these articles and they helped me start my forms and reports as serices but when i try to make my adminserver a windows service, it does not get past the step for Using the "nmStart" command to start a server.
    the 2 articles:
    http://docs.oracle.com/cd/E15586_01/web.1111/e13715/manage_servers.htm
    http://wlsjavatips.blogspot.com/2009/09/how-to-install-node-manager-as-windows.html
    This is what i get when i try to start it after it successfully connects:
    http://i1281.photobucket.com/albums/a516/eortiz10/output_zps25fbf82f.png
    * It connects to node manager but it does not start. It does start normally if i use "weblogicstart.cmd" but i would like the adminserver to start autmatically when server is on. can u explain/help in anyway.
    Do i have to start the adminserver regularly then configure through there?

    Was a resolution found for this?
    We are having the same issue and investigating...
    Thanks!

Maybe you are looking for

  • (error code -50). Has anyone else dealt with this issue?

    When I try to copy something from my desktop to an external hard drive I keep getting this message: The operation can't be completed because an unexpected error occurred (error code -50). Has anyone else dealt with this issue?

  • Schedule report in BI

    Hi, I started to schedule a report in my BI publisher, it version is: 10.1.3.4.0, I installed schema and set the Security Model as BI Publisher Security. However when I try to submit a schedule job, server still returns an error oracle.apps.xdo.servl

  • Question about model driven dev and RDS configuring

    I am testing the model driven development that is brought up by Flash Builder4 and LCDS3 recently, and it went pretty well. However i've noticed that the configuration of the RDS for development mode is not recommanded for a production environment. M

  • Using Apple TV without a TV, just for Airplay

    Hey So i've just moved away from home to be closer to university and I don't have a TV just yet, but for my birthday I got an Apple TV that we used on the home TV. I was wondering if I'd still be able to use airplay from my IPhone to a set of speaker

  • Aftr 12 months use of LR 4 my serial number has been blocked/abandoned. How do  I regain it

    Aftr 12 months use of LR 4 my serial number has been blocked/abandoned. How do  I regain it