Hi
Instead of creating a windows service.
Is it possible to create a windows application that runs in the windows taskbar and if it is possible for the application to have pop up notifications when something happens.
What i basically want to do is whenever a new entry is written into the database, a popup appears telling you that there is activity.
Then you can open the application and check whats going on.
The application is already written and everything works 100%. I just need this functionality
Kind Regards.
12 1366
You could .Hide() and .Show() your application as needed.
You could use a NotifyIcon in the tasktry, that has its own ContextMenu so you could select common features like "Show History", "Show Configuration" or whatever you need.
In Windows 7 development they are encouraging you to not use the tasktry.
They are encouraging you to use icons to communicate with the user instead.
-Frinny
Then again, towards the end of WinXP they started telling developers to not use the Registry. But I see that THEY haven't stopped using it themselves. If they can't reasonably make a change they are asking others to make then I'm not going to pressure myself into doing it.
By "use icons to communicate with the user" do you mean the icon in the program button on the taskbar?
It's still a good idea to avoid the registry. Especially now that there are several different registries (the "user registry" and the "global registry"....) It could get quite confusing to use it now-a-days.
I don't know what they are called....the icons that appear on the taskbar yes...the opened program icons. They light up and "fill up" and do things (using WPF) to indicate "stuff" to the user.
Taskbar | Properties
[x] Use small icons
If you do this, those icons are a lot less meaningful to give a status.
hey light up and "fill up" and do things (using WPF)
Are they still as useful if you are not developing in WPF ?
I don't know.
I just found out about this during the last .NET user group meeting I went to...it doubled as a Windows7 party. I haven't played with it at all (I'm still developing on an XP box) but I figured I should pass it on :)
What the solution basically does is.
When a new campaign is loaded onto the system, the user needs to be notified that there is a new campaign to be approved.
Would it be best to create a service, drag a timer onto the design and set it to check the database for new campaigns every 1 hour.
Could this be done ? and how would the service notify the user that he/she needs to go and approve a campaign.
So i was thinking instead of a service just a little app that runs in the background.
So i created a form and added the notifyIcon and the contextMenu.
And when a new campaign comes in then the user can be notified with a popup ?
Is this possible, pop up etc.
So i was thinking instead of a service just a little app that runs in the background.
So i created a form and added the notifyIcon and the contextMenu.
And when a new campaign comes in then the user can be notified with a popup ?
Is this possible, pop up etc.
Seems reasonable and very straight forward.
ok i found a perfect example of a popup notifier.
Now just need to integrate that with my app that I have already created. Check here
Thanks guys.
Cool. I was just figuring that you would make a new form, size it, then make the location the lower right corner of the screen, minus the width and height. 10 minutes tops - but not as 'nifty' or polished as the one you mentioned.
For some reason this project is not editable..
if i delete or change anything and debug it, the solution runs as it would normally. Even if i delete the main form from the project and then debug it, the main form still loads...
could i maybe give u link and u can check it out for me please.
Dunno whats wong here, confused.
Kind Regards.
Maybe cause its a demo project....
Sign in to post your reply or Sign up for a free account.
Similar topics
by: Michael |
last post by:
Hi,
I have a windows service developed using c# and it needs to lunch another
windows application. I have been trying to use Process class to do it but the
problem is becase windows service...
|
by: Rajat Tandon |
last post by:
Hello there,
I am relatively new to the newsgroups and C#. I have never been disappointed
with the groups and always got the prompt replies to my queries.This is yet
another strange issue, I am...
|
by: SP |
last post by:
Hi All,
I wrote a windows service which is supposed to stop after specified amount
of time. I am calling OnStop() after specified time. OnStop() methods
executed but I dont see the service...
|
by: Kristof Despiere |
last post by:
Suppose you have one domain, filled with a couple of users. What needs to be
done now is I need to start a windows application from a webform by pressing
a button on the webform (for example).
...
|
by: tshad |
last post by:
What would be a good way to check programmatically whether a service was
running?
We have a service that dies periodically and I need to check to see if this
service is running. I know how to...
|
by: =?Utf-8?B?TVNU?= |
last post by:
To demonstrate my problem, I have a very simple VB Windows application. It
has a text box that is used to display a counter, a button to reset the
counter, and a timer that increments the counter...
|
by: =?Utf-8?B?dmlzaHJ1dGg=?= |
last post by:
Hi,
I have 2 applications running, one Windows application project and the other
windows services project.
I want to call my Windows application in my windows services.
I want to run them as...
|
by: =?Utf-8?B?dmlzaHJ1dGg=?= |
last post by:
Hi,
I have 2 applications running, one Windows application project and the other
windows services project.
I want to call my Windows application in my windows services.
I want to run them as...
|
by: AmberJain |
last post by:
Windows Autorun FAQs: List of autostart locations
Linked from the Original article- "Windows Autorun FAQs: Description".
Que: Can you list all the autostart locations for windows?
Ans: Here is...
|
by: taylorcarr |
last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
|
by: Charles Arthur |
last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
|
by: aa123db |
last post by:
Variable and constants
Use var or let for variables and const fror constants.
Var foo ='bar';
Let foo ='bar';const baz ='bar';
Functions
function $name$ ($parameters$) {
}
...
|
by: emmanuelkatto |
last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud.
Please let me know.
Thanks!
Emmanuel
|
by: BarryA |
last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
|
by: Sonnysonu |
last post by:
This is the data of csv file
1 2 3
1 2 3
1 2 3
1 2 3
2 3
2 3
3
the lengths should be different i have to store the data by column-wise with in the specific length.
suppose the i have to...
|
by: Hystou |
last post by:
There are some requirements for setting up RAID:
1. The motherboard and BIOS support RAID configuration.
2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
|
by: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
|
by: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
| |