Cwebbrowser2 , cannot find the internet path


DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

Results 1 to 2 of 2

Thread: Cwebbrowser2 , cannot find the internet path

  1. #1
    Join Date
    May 2004
    Posts
    70

    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


    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 11:30 PM.

  2. #2
    Join Date
    May 2004
    Posts
    70
    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

Similar Threads

  1. Breadth First Searc
    By sundar divas in forum C++
    Replies: 19
    Last Post: 06-01-2007, 03:44 PM
  2. Find Full Path from Indirect
    By Ron Weller in forum VB Classic
    Replies: 1
    Last Post: 05-31-2007, 09:44 PM
  3. Find file path?
    By alexandrusam in forum VB Classic
    Replies: 4
    Last Post: 04-08-2005, 03:41 PM
  4. Issue with VS.NET Find
    By Beginner in forum .NET
    Replies: 0
    Last Post: 01-27-2002, 05:35 PM
  5. java path
    By feroz in forum Java
    Replies: 1
    Last Post: 05-03-2001, 09:03 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center
 
 
FAQ
Latest Articles
Java
.NET
XML
Database
Enterprise
Questions? Contact us.
C++
Web Development
Wireless
Latest Tips
Open Source


   Development Centers

   -- Android Development Center
   -- Cloud Development Project Center
   -- HTML5 Development Center
   -- Windows Mobile Development Center