﻿<?xml version="1.0" encoding="UTF-8"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/"><channel><title>StrataFrame Forum » StrataFrame Application Framework - V1 » WinForms (How do I?)  » StrataFrame App Running As A Windows Service</title><generator>InstantForum 2017-1 Final</generator><description>StrataFrame Forum</description><link>http://forum.strataframe.net/</link><webMaster>StrataFrame Forum</webMaster><lastBuildDate>Mon, 14 Sep 2026 12:43:10 GMT</lastBuildDate><ttl>20</ttl><item><title>StrataFrame App Running As A Windows Service</title><link>http://forum.strataframe.net/FindPost26544.aspx</link><description>Is it possible to have the main application running as (or like?) a windows service?  I'd like to have a menu in the system tray pop up a list of modules that can be opened--showing and hiding an item based on security access.  Each module would basically represent a department and its corresponding functions.&lt;br&gt;
&lt;br&gt;
Thanks!&lt;br&gt;
Bill</description><pubDate>Tue, 23 Mar 2010 10:08:58 GMT</pubDate><dc:creator>Bill Cunnien</dc:creator></item><item><title>RE: StrataFrame App Running As A Windows Service</title><link>http://forum.strataframe.net/FindPost26596.aspx</link><description>Ya...everything is easy for Trent.  Except for curling.  He just can't seem to get that sweeping thing down.&lt;br&gt;
&lt;br&gt;
:D&lt;br&gt;</description><pubDate>Tue, 23 Mar 2010 10:08:58 GMT</pubDate><dc:creator>Bill Cunnien</dc:creator></item><item><title>RE: StrataFrame App Running As A Windows Service</title><link>http://forum.strataframe.net/FindPost26587.aspx</link><description>Yep, you can totally use SF to build a service, Trent does it&amp;nbsp;all the time. I&amp;nbsp;never have, myself, but he tells me it is&amp;nbsp;very easy (granted, he always says that ;).)&lt;/P&gt;&lt;P&gt;However, based on Bill's description, I think the important part he was looking for was getting an icon to appear in the system tray, which he has already figured out by using .NET's standard NotifyIcon.</description><pubDate>Tue, 23 Mar 2010 09:14:49 GMT</pubDate><dc:creator>Dustin Taylor</dc:creator></item><item><title>RE: StrataFrame App Running As A Windows Service</title><link>http://forum.strataframe.net/FindPost26554.aspx</link><description>Based on my very limited knowledge of windows services, I'd say that there is no reason you couldn't use the SF framework to build a service. However, since it doesn't necessarily run on the UI thread, you wouldn't have an program.cs to work with. I.e. you'd have to set datasources in the OnStart event of the service, and do any tear down in the OnStop.  I guess what I'm saying is that the paradigm is different, but the tools could certainly be used.</description><pubDate>Fri, 19 Mar 2010 18:08:27 GMT</pubDate><dc:creator>Greg McGuffey</dc:creator></item><item><title>RE: StrataFrame App Running As A Windows Service</title><link>http://forum.strataframe.net/FindPost26549.aspx</link><description>I found a nifty way of handling this using a NotifyIcon and a ThemedContextMenu: http://www.developer.com/article.php/3336751.&lt;br&gt;</description><pubDate>Fri, 19 Mar 2010 12:18:30 GMT</pubDate><dc:creator>Bill Cunnien</dc:creator></item></channel></rss>