Cwebbrowser2 , cannot find the internet path

This is a discussion on Cwebbrowser2 , cannot find the internet path within the C++ Programming forums, part of the General Programming Boards category; Cwebbrowser2 , cannot find the internet path when i use this Code: m_webbrowser.Navigate("yahoo.com", NULL, NULL, NULL, NULL); the program gave ...

  1. #1
    Registered User
    Join Date
    Mar 2004
    Posts
    114

    Cwebbrowser2 , cannot find the internet path

    Cwebbrowser2 , cannot find the internet path

    when i use this

    Code:
    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 : http://i8.tinypic.com/6byefcy.jpg
    http://i8.tinypic.com/6byefcy.jpg

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

  2. #2
    Registered User
    Join Date
    Mar 2004
    Posts
    114
    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, 05: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

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21