Solved

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

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

Enterprise Mobility and BYOD For Dummies

Like “For Dummies” books, you can read this in whatever order you choose and learn about mobility and BYOD; and how to put a competitive mobile infrastructure in place. Developed for SMBs and large enterprises alike, you will find helpful use cases, planning, and implementation.

Question has a verified solution.

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

Suggested Solutions

This article explains how to create and use a custom WaterMark textbox class.  The custom WaterMark textbox class allows you to set the WaterMark Background Color and WaterMark text at design time.   IMAGE OF WATERMARKS STEPS Create VB …
Since .Net 2.0, Visual Basic has made it easy to create a splash screen and set it via the "Splash Screen" drop down in the Project Properties.  A splash screen set in this manner is automatically created, displayed and closed by the framework itsel…
Email security requires an ever evolving service that stays up to date with counter-evolving threats. The Email Laundry perform Research and Development to ensure their email security service evolves faster than cyber criminals. We apply our Threat…

832 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