FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour Notification area
Posts: 3022
Joined: Fri Oct 07, 2005 01:45 PM
Notification area
Posted: Mon Jun 25, 2012 07: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
Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
Re: Notification area
Posted: Tue Jun 26, 2012 01:33 AM

Tim,

Please review FWH/samples/TestTray.prg

regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 3022
Joined: Fri Oct 07, 2005 01:45 PM
Re: Notification area
Posted: Tue Jun 26, 2012 04: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
Posts: 3022
Joined: Fri Oct 07, 2005 01:45 PM
Re: Notification area
Posted: Wed Jun 27, 2012 07: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

Continue the discussion