Home All Groups Group Topic Archive Search About

issues using webbrowser in a service

Author
30 Nov 2005 8:01 PM
ScottLR
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

Author
1 Dec 2005 4:43 AM
TerryFei
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.)
Author
1 Dec 2005 4:48 AM
ScottLR
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


""TerryFei"" <v-ter***@online.microsoft.com> wrote in message
Show quoteHide quote
news:KLsjCHj9FHA.4028@TK2MSFTNGXA02.phx.gbl...
> 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.)
>
Author
2 Dec 2005 3:17 AM
TerryFei
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.)
Author
2 Dec 2005 4:44 AM
ScottLR
Terry,

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

--

Thank you,

Scott
Software995 Support

""TerryFei"" <v-ter***@online.microsoft.com> wrote in message
Show quoteHide quote
news:F8%23v87u9FHA.3764@TK2MSFTNGXA02.phx.gbl...
> 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.)
>
Author
2 Dec 2005 6:00 AM
TerryFei
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.)