issues using webbrowser in a service

Discussion in 'ASP .Net Web Controls' started by ScottLR, Nov 30, 2005.

  1. ScottLR

    ScottLR Guest

    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, Nov 30, 2005
    #1
    1. Advertising

  2. ScottLR

    TerryFei Guest

    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.)
     
    TerryFei, Dec 1, 2005
    #2
    1. Advertising

  3. ScottLR

    ScottLR Guest

    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"" <> wrote in message
    news:...
    > 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, Dec 1, 2005
    #3
  4. ScottLR

    TerryFei Guest

    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.)
     
    TerryFei, Dec 2, 2005
    #4
  5. ScottLR

    ScottLR Guest

    Terry,

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

    --

    Thank you,

    Scott
    Software995 Support

    ""TerryFei"" <> wrote in message
    news:F8%...
    > 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.)
    >
     
    ScottLR, Dec 2, 2005
    #5
  6. ScottLR

    TerryFei Guest

    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.)
     
    TerryFei, Dec 2, 2005
    #6
    1. Advertising

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

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Daniel Frede

    ASPNET and Webbrowser control

    Daniel Frede, May 17, 2004, in forum: ASP .Net
    Replies:
    1
    Views:
    4,602
    Ken Cox [Microsoft MVP]
    May 18, 2004
  2. ASP .NET Newbie
    Replies:
    10
    Views:
    14,802
    jojobouy
    Sep 28, 2007
  3. JP2006
    Replies:
    1
    Views:
    1,077
    Rick Strahl [MVP]
    Jan 7, 2007
  4. Dr. Benjamin David Clarke

    Saving a page loaded using the webbrowser library?

    Dr. Benjamin David Clarke, Mar 25, 2010, in forum: Python
    Replies:
    1
    Views:
    248
    Irmen de Jong
    Mar 25, 2010
  5. amolk
    Replies:
    0
    Views:
    300
    amolk
    Sep 4, 2006
Loading...

Share This Page