After Navigate() webbrowser properties are invalid

From: elisabete (liscerq_at_gmx.ch)
Date: 11/23/04


Date: 23 Nov 2004 07:05:46 -0800

Hello,

I will describe the problem with which i am fighting with :]

Scenario 1:
-----------
I have a VC++ project that at some point must POST an HTTP request to
a server (not using controls). I am using IWebBrowser Navigate()
function to POST an HTTP request to a server.

Problem 1:
-----------
The Navigate() function works fine, but afterwards, if I check the
value of the webbrowser properties get_LocationURL() and
get_LocationName() I get an empty string...

             ----------------------- // -----------------------

Scenario 2:
-----------
I implemented sink class to handle events of DWebBrowserEvents2 (like
BeforeNavigate, NavigateComplete2).

Problem 2:
----------
No events are fired... except if I call the function Stop() from
IWebBrowser...
Before Navigate function is called Busy property is true... and after
Navigate is false.

Does some one have any idea of what might be happening?

Thank you,
Elisabete



Relevant Pages

  • Re: Page Load event is called....
    ... > the life cycle of every page, ... > instructing it (the client) to open a different page instead of the one ... > server and skips the additional HTTP request but neither method will ... >> always happen when I navigate to the next page. ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: DHCP & DNS
    ... on a local server on our network. ... He would not be able to navigate to it because your machine ... I've modified my hosts file and put in the IP of my router and then ... But modifying one's host file can be convenient. ...
    (Fedora)
  • Exchange 2000 to Exchange 2003 swing migration - DCOM errors
    ... I have added an Exchange 2003 FE server which accepts POP and HTTP ... navigate to the following registry value ... Double-click Administrative Tools and then double-click Component Services. ... Config. ...
    (microsoft.public.exchange.setup)
  • Re: Ghosting Win 2003 -- Cant log-in
    ... Run regedit and open the server registry. ... If you already have a value DosDevices\C:, rename it to something else. ... Navigate to HKLM/Software/Microsoft/Windows NT/Current Version/ ...
    (microsoft.public.windows.server.general)
  • PageRequestManagerServerErrorException when using server.transfer
    ... 1- navigate to a page containing a UpdatePanel using SERVER.TRANSFER ... (Consequently a 404 server response is returned by the server. ... Partial Class restricted_beta2Test ... Protected Sub lnkBtnText_Click(ByVal sender As Object, ...
    (microsoft.public.dotnet.framework.aspnet)