Click here to Skip to main content
15,905,015 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
I am developing an windows application in which I want birthdays reminder of the clients. So what I want is, when my pc starts, a program file should run automatically(i.e without click on the icon of setup) and fetch the records from database and show it to notify icon. If you hae any idea regarding this please tell the flow.
Thanks in advance
Posted
Comments
phil.o 4-Nov-15 5:39am    
What have you tried? You are supposed to know how to write some pseudo-code to describe the flow of your program.
Rajal Pathak 4-Nov-15 7:37am    
I tried for windows service. But don't know how to start it without opening the application. Do you know any method to start the windows service when pc starts?

1 solution

Quote:
..show it to notify icon

It's not clear which notify icon, stll you can try implementing following approaches-
1. Write a program (May be a console application) to fetch date of births from DB and write a logic to filter bithdates with current system date and display the them. Put the exe file in Startup folder.

2. Write a windows service and on code the same logic and make sure that logic gets executed OnStart event. Design a windows form and display this form with data on this event call.

You can check the following article if your requirement matches with it.
Birthday Reminder in C#[^]

Hope, it helps :)
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900