Solved

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

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

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

I think the Typed DataTable and Typed DataSet are very good options when working with data, but I don't like auto-generated code. First, I create an Abstract Class for my DataTables Common Code.  This class Inherits from DataTable. Also, it can …
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…
This video gives you a great overview about bandwidth monitoring with SNMP and WMI with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're looking for how to monitor bandwidth using netflow or packet s…
You have products, that come in variants and want to set different prices for them? Watch this micro tutorial that describes how to configure prices for Magento super attributes. Assigning simple products to configurable: We assigned simple products…

707 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

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now