problem with WindowService and InternetExplorer Object
C#
1
Posts
1
Posters
0
Views
1
Watching
-
hello, i have made a window service for my some xyz purpose and its working fine.but the problem is that
InternetExplorerClass IE = new InternetExplorerClass(); IE.Visible = true; IE.DocumentComplete += new DWebBrowserEvents2_DocumentCompleteEventHandler(IE_DocumentComplete); isDocumentComplete = false; object empty = ""; IE.Navigate("www.google.com", ref empty, ref empty, ref empty, ref empty);
when i'm using this Code with Window Service this code is not working even IE.navigate function is not navigating the site or not openning the IE browser..while when i use use this code with simple asp.net with c# project its working fine. suggestion are most welcome. thanks and regards Amit AgarwalDotnet