Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Mobile Development
  3. Mobile
  4. DTM_NAVIGATE returns "Bad Request"

DTM_NAVIGATE returns "Bad Request"

Scheduled Pinned Locked Moved Mobile
htmldatabasesysadminquestion
4 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • S Offline
    S Offline
    slomoman
    wrote on last edited by
    #1

    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

    J 1 Reply Last reply
    0
    • S slomoman

      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

      J Offline
      J Offline
      Joao Paulo Figueira
      wrote on last edited by
      #2

      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

      S 2 Replies Last reply
      0
      • J Joao Paulo Figueira

        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

        S Offline
        S Offline
        slomoman
        wrote on last edited by
        #3

        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

        1 Reply Last reply
        0
        • J Joao Paulo Figueira

          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

          S Offline
          S Offline
          slomoman
          wrote on last edited by
          #4

          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

          1 Reply Last reply
          0
          Reply
          • Reply as topic
          Log in to reply
          • Oldest to Newest
          • Newest to Oldest
          • Most Votes


          • Login

          • Don't have an account? Register

          • Login or register to search.
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • World
          • Users
          • Groups