?
Solved

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

Posted on 2009-04-02
3
Medium Priority
?
245 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 2000 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: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering 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

Article by: Kraeven
Introduction Remote Share is a simple remote sharing tool, enabling you to see, add and remove remote or local shares. The application is written in VB.NET targeting the .NET framework 2.0. The source code and the compiled programs have been in…
Creating an analog clock UserControl seems fairly straight forward.  It is, after all, essentially just a circle with several lines in it!  Two common approaches for rendering an analog clock typically involve either manually calculating points with…
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 anti-spam), the admin…
When cloud platforms entered the scene, users and companies jumped on board to take advantage of the many benefits, like the ability to work and connect with company information from various locations. What many didn't foresee was the increased risk…
Suggested Courses
Course of the Month17 days, 12 hours left to enroll

831 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