DTM_NAVIGATE returns "Bad Request"
-
i use to show HTML from a file. Now I tried to navigate to a web-page with the following line.
::SendMessage(m_hwndHtml, DTM_NAVIGATE, 0, (LPARAM)(LPTSTR)TEXT("http://www.web.de"));
However, htmlview always return "Bad Request. Your Browser sent a query this server could not understand.". Does anybody know what could be the reason for that? It cannot be the internet-connection, because pocketIE works fine with this page. thx, Daniel -
i use to show HTML from a file. Now I tried to navigate to a web-page with the following line.
::SendMessage(m_hwndHtml, DTM_NAVIGATE, 0, (LPARAM)(LPTSTR)TEXT("http://www.web.de"));
However, htmlview always return "Bad Request. Your Browser sent a query this server could not understand.". Does anybody know what could be the reason for that? It cannot be the internet-connection, because pocketIE works fine with this page. thx, DanielCheck your connection settings. Disable any firewall application on the desktop. I just had the same problem and it boiled down to using the router IP address as the proxy: got the same error. Regards, João Paulo
-
Check your connection settings. Disable any firewall application on the desktop. I just had the same problem and it boiled down to using the router IP address as the proxy: got the same error. Regards, João Paulo
could be. my pda is connected to the internet via ActiveSync. However, I just tried to an Windows CE SDK-example called "browse". It displays "file://\start.htm". if i change it to "http://www.web.de" it will also show the web-page. the sampe uses DTM_NAVIGATE and not much more except a simple htmlview-window. I don't know why the sample works, but my onw program not.... thx, Daniel
-
Check your connection settings. Disable any firewall application on the desktop. I just had the same problem and it boiled down to using the router IP address as the proxy: got the same error. Regards, João Paulo
could be. my pda is connected to the internet via ActiveSync. However, I just tried to an Windows CE SDK-example called "browse". It displays "file://\start.htm". if i change it to "http://www.web.de" it will also show the web-page. the sampe uses DTM_NAVIGATE and not much more except a simple htmlview-window. I don't know why the sample works, but my own program not.... thx, Daniel