Inferno122
Newcomer
I'm kinda new to vb.net programming and i'm currently getting my feet wet
My situation is this: I needed to create a windows service that is user-interactive and I managed to create one. When I start the service, a notify icon appears in the system tray area and the context menus are accessible. Everything works well except for a few problems:
1. The service is run by the system automatically,if I start the service manually, it interacts, but when I log-off and log-on again, it doesn't.
2. The service is supposed to ID the user currently logged and I have tried using all variations of retrieving the current user name but the service always returns "Local System" as the current user
There is a forum somewhere that I came across telling that the notify icon should be placed in a WinForms project not belonging the service project. I tried doing this by creating a project group but I can't seem to make the service refference the WinForms project
Can anybody help me with this??? I only have 2wks to work on this project so please help!!!
My situation is this: I needed to create a windows service that is user-interactive and I managed to create one. When I start the service, a notify icon appears in the system tray area and the context menus are accessible. Everything works well except for a few problems:
1. The service is run by the system automatically,if I start the service manually, it interacts, but when I log-off and log-on again, it doesn't.
2. The service is supposed to ID the user currently logged and I have tried using all variations of retrieving the current user name but the service always returns "Local System" as the current user
There is a forum somewhere that I came across telling that the notify icon should be placed in a WinForms project not belonging the service project. I tried doing this by creating a project group but I can't seem to make the service refference the WinForms project
Can anybody help me with this??? I only have 2wks to work on this project so please help!!!