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. General Programming
  3. C / C++ / MFC
  4. Cwebbrowser2 , cannot find the internet path

Cwebbrowser2 , cannot find the internet path

Scheduled Pinned Locked Moved C / C++ / MFC
comhelpc++testingbeta-testing
3 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.
  • A Offline
    A Offline
    awah
    wrote on last edited by
    #1

    Cwebbrowser2 , cannot find the internet path when i use this m_webbrowser.Navigate("yahoo.com", NULL, NULL, NULL, NULL); the program gave me the following error as shown in the picture the upper message box is the first to come. followed by the lower messagebox link to picture : [url]http://i8.tinypic.com/6byefcy.jpg\[/url\] [IMG]http://i8.tinypic.com/6byefcy.jpg\[/IMG\] it was working perfectly fine on my computer with compiler. When i brought it to another computer, this happened! i tried redoing a new testing project and creating the webbrowser in the same manner and it was good some information: - using MFC - created webbrowser2 by going to dialog editor, right click and select "insert activeX" - disabled firewall on both computer - both computers definitely have internet connection with IE 7 - m_webbrowser.Navigate runs in a worker thread - the target website yahoo.com is definitely up. i checked with my firefox and IE browser - no delay, noticed. which means webbrowser2 did not neven attempt to contact the site can anyone please help?

    A M 2 Replies Last reply
    0
    • A awah

      Cwebbrowser2 , cannot find the internet path when i use this m_webbrowser.Navigate("yahoo.com", NULL, NULL, NULL, NULL); the program gave me the following error as shown in the picture the upper message box is the first to come. followed by the lower messagebox link to picture : [url]http://i8.tinypic.com/6byefcy.jpg\[/url\] [IMG]http://i8.tinypic.com/6byefcy.jpg\[/IMG\] it was working perfectly fine on my computer with compiler. When i brought it to another computer, this happened! i tried redoing a new testing project and creating the webbrowser in the same manner and it was good some information: - using MFC - created webbrowser2 by going to dialog editor, right click and select "insert activeX" - disabled firewall on both computer - both computers definitely have internet connection with IE 7 - m_webbrowser.Navigate runs in a worker thread - the target website yahoo.com is definitely up. i checked with my firefox and IE browser - no delay, noticed. which means webbrowser2 did not neven attempt to contact the site can anyone please help?

      A Offline
      A Offline
      awah
      wrote on last edited by
      #2

      i have narrowed the problem down to the navigate member function being run in a worker thread. however i cannot find the root cause to the problem

      1 Reply Last reply
      0
      • A awah

        Cwebbrowser2 , cannot find the internet path when i use this m_webbrowser.Navigate("yahoo.com", NULL, NULL, NULL, NULL); the program gave me the following error as shown in the picture the upper message box is the first to come. followed by the lower messagebox link to picture : [url]http://i8.tinypic.com/6byefcy.jpg\[/url\] [IMG]http://i8.tinypic.com/6byefcy.jpg\[/IMG\] it was working perfectly fine on my computer with compiler. When i brought it to another computer, this happened! i tried redoing a new testing project and creating the webbrowser in the same manner and it was good some information: - using MFC - created webbrowser2 by going to dialog editor, right click and select "insert activeX" - disabled firewall on both computer - both computers definitely have internet connection with IE 7 - m_webbrowser.Navigate runs in a worker thread - the target website yahoo.com is definitely up. i checked with my firefox and IE browser - no delay, noticed. which means webbrowser2 did not neven attempt to contact the site can anyone please help?

        M Offline
        M Offline
        Michael Dunn
        wrote on last edited by
        #3

        You need to pass a valid URL, such as http://yahoo.com

        --Mike-- Visual C++ MVP :cool: LINKS~! Ericahist | PimpFish | CP SearchBar v3.0 | C++ Forum FAQ Dunder-Mifflin, this is Pam.

        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