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
Solved

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

Posted on 2009-04-02
3
227 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
  • 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

Free Tool: Postgres Monitoring System

A PHP and Perl based system to collect and display usage statistics from PostgreSQL databases.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Introduction As chip makers focus on adding processor cores over increasing clock speed, developers need to utilize the features of modern CPUs.  One of the ways we can do this is by implementing parallel algorithms in our software.   One recent…
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…
Two types of users will appreciate AOMEI Backupper Pro: 1 - Those with PCIe drives (and haven't found cloning software that works on them). 2 - Those who want a fast clone of their boot drive (no re-boots needed) and it can clone your drive wh…
A short tutorial showing how to set up an email signature in Outlook on the Web (previously known as OWA). For free email signatures designs, visit https://www.mail-signatures.com/articles/signature-templates/?sts=6651 If you want to manage em…

856 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