Groups | Blog | Home
all groups > asp.net webcontrols > november 2005 >

asp.net webcontrols : issues using webbrowser in a service


ScottLR
11/30/2005 12:01:40 PM
Hello,

I am using the Webrowser control in an mfc application. It succeeds when run
as an application but not when run from a service that allows the user to
interact with the desktop:

I invoke Navigate.

I catch the DownloadComplete event.

I successfully call get_LocationURL and retreive the url. When run as an
application, the url is valid. When run as a service, the call
get_LocationURL returns an empty url.

--

Thank you,

Scott

ScottLR
11/30/2005 8:48:51 PM
Terry,

It is invoked by the service control manager. Do you have the ability to
invoke an exe from a service? Is so, I could provide simplified source for
an exe.

--

Thank you,

Scott


[quoted text, click to view]

v-terryf NO[at]SPAM online.microsoft.com (
12/1/2005 12:00:00 AM
Hi Scott,
Welcome to MSDN Newsgroup!

Based on your description, please help me to confirm the following
information. What does the "Service" mean? Is it a web service or a windows
service program controlled by SCM (Service Control Manager)? I would
appreciate you if you could provide me a simplified sample to reproduce
your problem on our side. I think it will help me to get closer to
resolving your issue.
I am looking forward to you. Have a nice day!

Best Regards,

Terry Fei[MSFT]
Microsoft Community Support
Get Secure! www.microsoft.com/security
(This posting is provided "AS IS", with no warranties, and confers no
rights.)
ScottLR
12/1/2005 8:44:07 PM
Terry,

If the source were for an exe and not an nt service, would that be
sufficient?

--

Thank you,

Scott
Software995 Support

[quoted text, click to view]

v-terryf NO[at]SPAM online.microsoft.com (
12/2/2005 12:00:00 AM
Hi Scott,

Since the source as an application runs well, I hope you could provide me
source code as NT Service, which will reflect this issue directly and help
me get closer to resolving it. Thanks for your understanding!

Best Regards,

Terry Fei[MSFT]
Microsoft Community Support
Get Secure! www.microsoft.com/security
(This posting is provided "AS IS", with no warranties, and confers no
rights.)
v-terryf NO[at]SPAM online.microsoft.com (
12/2/2005 12:00:00 AM
Hi Scott,
Thanks for your quick response!

You could send a simplified source code for me so that I could debug this
issue on my side. I will be happy to be of further assistance. Thanks for
you understanding!

Best Regards,

Terry Fei[MSFT]
Microsoft Community Support
Get Secure! www.microsoft.com/security
(This posting is provided "AS IS", with no warranties, and confers no
rights.)
AddThis Social Bookmark Button