Click here to Skip to main content
15,897,187 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi. I wrote an application which is a agent and it should be installed on my private LAN clients. I put my application in start-up to run when user log in. I used a notifyIcon but i have this problem: when a user does "switch user" and logs in with another username , the application process is still running but in the current user does not display the notification icon.
I want to display it for all users and i don't want to run the program multiple times (one for for each user).
Please guide me.
thanks.
Posted
Comments
Sandeep Mewara 28-Oct-12 3:41am    
Probably at switch user case, you need to close first instance and then re-run on other account login.
mahdi87_gh 28-Oct-12 3:52am    
thanks.but in this case when the new user logs out. and the first user logs in again,the start up programs will not re run again, and the the result will be "there is no instance of my app"
do you have any solution for this?
Sandeep Mewara 28-Oct-12 4:06am    
Nopes. :(
mahdi87_gh 28-Oct-12 5:24am    
thanks buddy

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900