problem windows service with process.start()

U

uuyytt

I have a Windows service from which I want to start Internet Explorer with a
particular URL as an argument. It can work well except when I run it on
windows 2003

I allowed services explicitly to interact with the desktop and
I tested with imporsonation but still not work.

I don't know why my code (shown below) doesn't work.
I know that IExplore.exe starts as I can see it in my task manager, but it
is not visible.
Can anyone explain what is happening?

My code:

protected override void OnStart(string[] args) {
Process p = Process.Start(@"C:\Program Files\Internet
Explorer\IEXPLORE.EXE", m_strURL);
}
 
G

Guest

Remember when you use Services into Windows 2003 and interact with IE you
must check before IE settings because i know that in win 2003 IE is in part
locked for non trusted web sites.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top