issues using webbrowser in a service

S

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.
 
T

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.)
 
S

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.
 
T

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.)
 
S

ScottLR

Terry,

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

--

Thank you,

Scott
Software995 Support
 
T

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.)
 

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

Members online

No members online now.

Forum statistics

Threads
473,769
Messages
2,569,580
Members
45,054
Latest member
TrimKetoBoost

Latest Threads

Top