StrataFrame App Running As A Windows Service


Author
Message
Bill Cunnien
Bill Cunnien
StrataFrame VIP (1.2K reputation)StrataFrame VIP (1.2K reputation)StrataFrame VIP (1.2K reputation)StrataFrame VIP (1.2K reputation)StrataFrame VIP (1.2K reputation)StrataFrame VIP (1.2K reputation)StrataFrame VIP (1.2K reputation)StrataFrame VIP (1.2K reputation)StrataFrame VIP (1.2K reputation)
Group: Forum Members
Posts: 785, Visits: 3.6K
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.



Thanks!

Bill
Replies
Bill Cunnien
Bill Cunnien
StrataFrame VIP (1.2K reputation)StrataFrame VIP (1.2K reputation)StrataFrame VIP (1.2K reputation)StrataFrame VIP (1.2K reputation)StrataFrame VIP (1.2K reputation)StrataFrame VIP (1.2K reputation)StrataFrame VIP (1.2K reputation)StrataFrame VIP (1.2K reputation)StrataFrame VIP (1.2K reputation)
Group: Forum Members
Posts: 785, Visits: 3.6K
I found a nifty way of handling this using a NotifyIcon and a ThemedContextMenu: http://www.developer.com/article.php/3336751.

Greg McGuffey
Greg McGuffey
Strategic Support Team Member (4.8K reputation)
Group: Forum Members
Posts: 2K, Visits: 6.6K
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.
GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...





Similar Topics

Reading This Topic

Login

Explore
Messages
Mentions
Search