Notification area

Notification area

Postby TimStone » Mon Jun 25, 2012 7:06 pm

Has anyone built a program and had it reside in the Notification area using Harbour/FWH ?

I have an autoupdater on my clients servers. I have it run and not display a screen, so to stop it we have to do an EndProcess under Task Manager.
I would actually like to have a link to it in the Notification Area of Windows so it could have a screen with options to force an update ( it now uses a time and checks the servers for updates every 6 hours, plus other functions ), or to end it.

It would also be nice if it could pop up notifications like other programs ( ie. Outlook when messages come in, AIM, etc. etc. )

Tim
Tim Stone
http://www.MasterLinkSoftware.com
http://www.autoshopwriter.com
timstone@masterlinksoftware.com
Using: FWH 23.10 with Harbour 3.2.0 / Microsoft Visual Studio Community 2022-24 32/64 bit
User avatar
TimStone
 
Posts: 2944
Joined: Fri Oct 07, 2005 1:45 pm
Location: Trabuco Canyon, CA USA

Re: Notification area

Postby Antonio Linares » Tue Jun 26, 2012 1:33 am

Tim,

Please review FWH/samples/TestTray.prg
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 42089
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Re: Notification area

Postby TimStone » Tue Jun 26, 2012 4:13 pm

Thank you ... I'm working with it now ...

Tim
Tim Stone
http://www.MasterLinkSoftware.com
http://www.autoshopwriter.com
timstone@masterlinksoftware.com
Using: FWH 23.10 with Harbour 3.2.0 / Microsoft Visual Studio Community 2022-24 32/64 bit
User avatar
TimStone
 
Posts: 2944
Joined: Fri Oct 07, 2005 1:45 pm
Location: Trabuco Canyon, CA USA

Re: Notification area

Postby TimStone » Wed Jun 27, 2012 7:09 pm

This has worked out beautifully ... just like I wanted.

I now have an application for updating files. It resides in the tray, and when I right click and get the menu, I can select a series of options, ie view ( or clear ) the log, update an authorization, force an update check ( and download ), and more. It also uses a timer so it will automatically query our servers every 3 hours to see if there is an update, upload certain files to vendors if required, and perform a backup each night after midnight.

This eliminates a lot of problems with my clients.

Thanks Antonio for having both the tray class and the timer class.

Tim
Tim Stone
http://www.MasterLinkSoftware.com
http://www.autoshopwriter.com
timstone@masterlinksoftware.com
Using: FWH 23.10 with Harbour 3.2.0 / Microsoft Visual Studio Community 2022-24 32/64 bit
User avatar
TimStone
 
Posts: 2944
Joined: Fri Oct 07, 2005 1:45 pm
Location: Trabuco Canyon, CA USA


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: Google [Bot] and 104 guests