views:

38

answers:

0

I am editing a c# WinForm solution that shows a user-customized form for each separate user account. The solution includes two projects where one project runs in the background with a timer that calls the other project, and that project generates the user-customized form.

The problem is that the form only appears when I use the admin account. It doesn't appear on any other user account.

My questions: (1) How do I make the form appear on whichever account is currently being used? (2) Can anyone point me to a link with an easy-to-understand explanation of the difference between the 'user you are running as' and the 'user that is logged in' as my knowledge of how user accounts are structured is poor.

On a previous post of mine for a different question someone mentioned starting the program using 'runas'. Is this part of the answer to question (1)? I snooped around on google and the runas examples I found involve using the user account password, but my application does not know the user account password.

This application is to run on XP, Vista and 7.