Hi Everyone,
I have written a service that works perfectly on my desktop and my test machine both of which are Windows XP Pro, however when I install it on a Windows 2K3 server it has a problem.
The service does the following;
When the service starts it checks to see if my application is running, if it is running it does nothing. Otherwise it starts the application it also has a timer that checks every X minutes to see if the application is still running and restarts it if it is not running. This is all fine.
The problem is that when the service calls the application on the 2K3 server the user interface is not displayed. I have read about this occuring with Vista and the only solution mentioned was using the function CreateProcessAsUser, which is a VC function.
The question is, is there any similar function in VB.net or some other solution to this problem.
regards
adrian74
I have written a service that works perfectly on my desktop and my test machine both of which are Windows XP Pro, however when I install it on a Windows 2K3 server it has a problem.
The service does the following;
When the service starts it checks to see if my application is running, if it is running it does nothing. Otherwise it starts the application it also has a timer that checks every X minutes to see if the application is still running and restarts it if it is not running. This is all fine.
The problem is that when the service calls the application on the 2K3 server the user interface is not displayed. I have read about this occuring with Vista and the only solution mentioned was using the function CreateProcessAsUser, which is a VC function.
The question is, is there any similar function in VB.net or some other solution to this problem.
regards
adrian74