General Query about System Tray and Windows Service

Jul 29 2004 5:57 AM
Would someone please advise me as to whether they believe that I am tackling the following problem the best way: I have a windows service, which interacts with BizTalk Server. The service will run on the BizTalk Server, and needs to monitor certain directories in incoming XML files. The service is will monitor the directories, and when a new file is added, it will then pass the document onto the BizTalk Server for processing. The problem I have is that I want the service to run, independantly of whether a user is logged on. Hence, why I haven't used just a Form application. But I want the status to be displayed in the System Tray for every user that logs onto the server. I can get it to work fine when the application is a form type, but not with a service. I was hoping that I could start up the service, and it loads the system tray icon. And is displayed for any user that is logged on. Do you think the best way to solve the problem is to have the service running, and then have a separate form application, which loads on startup when a user logs on?

Answers (1)