>>I'm working with an application that reads temperatures from an array of >>sensors. The temperatures are read every five minutes, and stuffed into a >>database.
>>
>>I want the application to be totally invisible to the user, except for a little flashing icon in the system tray, indicating that everything is OK.
>>
>>I also want a pop-up menu to appear, when I right-click the icon in the >>system tray. When selecting a menu-item, let us say 'Preferences', my >>'Preferences'-form will pop up on the desktop.
>>
>>How can I achieve the above in Visual Foxpro 5.0?
>>
>>Regards,
>>
>>Werner Vesteraas
>>Simguard AS
>
>IMHO, system tray is out of (or should be out of) VFP reach. You can write VFP >interface consisiting of one visible button (icon,label,etc) and then do >whatever you want from button.rightclick.
As Star Trek's Mr. Scott used to say, "The right tool for the right job." In this case I think you would be better served using Visual C++ as your development language. Your primary concern here is taking temperatures in real-time and saving the results. You aren't really doing any data manipulation, so VFP's power won't be of any use. What
will be of benefit to your application, however, will be the faster speed and a smaller footprint that VC++ can provide.