Solved

What service to write to display data at pre-determined time?

Posted on 2009-04-02
3
228 Views
Last Modified: 2012-05-06
Hello,

The client wants that I display reminder to the user by reading the database. The table has datetime of reminder and the description of reminder. So when the user starts his computer, this service should start on its own. The user should also have option to disable and enable this service when required. So which service should I write in VB.Net 3.5? The database would be on the SQL Server and the service needs to be installed on every client PC which is Windows XP. Can be windows service with notify icon, etc? Please guide me.

Regards,
MI
0
Comment
Question by:vj_mi
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
3 Comments
 
LVL 48

Expert Comment

by:jpaulino
ID: 24047893
Hi,
Since the users should be able to start and stop the service and you need to show a information to the user, I think you should bet on a regular windows forms application, that starts automatically when the computer starts and you just need to have a timer to check the information on the database.
You can also start in the system tray (since will not be visual)
0
 

Author Comment

by:vj_mi
ID: 24048816
couple of queries on this:
1. How can windows forms application start automatically when the user starts computer?
2. how can I send this windows application to windows tray?
3. Once the application is in system tray, the user should be able to double the application icon in the system tray which will display options to disable this application i.e. in other words, there will be no reminders.

Regards,
MI
0
 
LVL 48

Accepted Solution

by:
jpaulino earned 500 total points
ID: 24049009

 1) You just need to add an entry to Registry
http://www.dreamincode.net/forums/showtopic21106.htm
2) You can use the NotifyIcon Class
http://www.startvbdotnet.com/controls/notifyicon.aspx
3) In your form add a contextmenustrip and associate that to the form
 
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Parsing a CSV file is a task that we are confronted with regularly, and although there are a vast number of means to do this, as a newbie, the field can be confusing and the tools can seem complex. A simple solution to parsing a customized CSV fi…
It was really hard time for me to get the understanding of Delegates in C#. I went through many websites and articles but I found them very clumsy. After going through those sites, I noted down the points in a easy way so here I am sharing that unde…
Exchange organizations may use the Journaling Agent of the Transport Service to archive messages going through Exchange. However, if the Transport Service is integrated with some email content management application (such as an antispam), the admini…

730 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question