Thread: Cwebbrowser2 , cannot find the internet path

  1. #1
    Registered User
    Join Date
    Mar 2004

    Cwebbrowser2 , cannot find the internet path

    Cwebbrowser2 , cannot find the internet path

    when i use this

    m_webbrowser.Navigate("", 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 :

    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 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?
    Last edited by hanhao; 06-30-2007 at 09:31 PM.

  2. #2
    Registered User
    Join Date
    Mar 2004
    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

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Using string operations to save part of a file path
    By JackR in forum C++ Programming
    Replies: 4
    Last Post: 05-31-2007, 03:48 PM
  2. Replies: 3
    Last Post: 11-07-2006, 06:41 AM
  3. Internet Problems
    By SirCrono6 in forum Tech Board
    Replies: 3
    Last Post: 04-26-2004, 09:47 PM
  4. Replies: 5
    Last Post: 04-16-2004, 01:29 AM