473,385 Members | 2,005 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

Windows Application

OuTCasT
374 256MB
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.
Nov 25 '09 #1
12 1366
tlhintoq
3,525 Expert 2GB
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.
Nov 25 '09 #2
Frinavale
9,735 Expert Mod 8TB
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
Nov 25 '09 #3
tlhintoq
3,525 Expert 2GB
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?
Nov 25 '09 #4
Frinavale
9,735 Expert Mod 8TB
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.
Nov 25 '09 #5
tlhintoq
3,525 Expert 2GB
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 ?
Nov 25 '09 #6
Frinavale
9,735 Expert Mod 8TB
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 :)
Nov 25 '09 #7
OuTCasT
374 256MB
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.
Nov 26 '09 #8
tlhintoq
3,525 Expert 2GB
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.
Nov 26 '09 #9
OuTCasT
374 256MB
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.
Nov 26 '09 #10
tlhintoq
3,525 Expert 2GB
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.
Nov 26 '09 #11
OuTCasT
374 256MB
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.
Nov 26 '09 #12
OuTCasT
374 256MB
Maybe cause its a demo project....
Nov 26 '09 #13

Sign in to post your reply or Sign up for a free account.

Similar topics

3
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...
9
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...
9
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...
4
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). ...
4
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...
15
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...
2
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...
1
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...
0
AmberJain
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...
0
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,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
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$) { } ...
0
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
0
BarryA
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...
1
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...
0
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...
0
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...
0
jinu1996
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...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.