Thread: Web browser based program

  1. #1
    Registered User
    Join Date
    Mar 2007
    Location
    Kaunas, Lithuania
    Posts
    14

    Question Web browser based program

    Hi. I'm making one program with C++ builder 6. Program objectives are to get info from specific web pages and to do it fast, also to show results and web pages to user as fast as posible and program has to navigate in web pages using links. Pictures in all pages are basicly the same. So my idea is to download all pictures to one place and to browse in text mode only, so program would be able to do it fast. And later to text mode html body add pictures from computer and show it to user.

    So main question would be how to get htmt body from some url adress, and after editing and reading it would be able to save it in *.html and open in CppWebBrowser like normal web page

    Would be posible to do that or something like it?

    Examples would be very helpfull.

    P.S. sorry for my broken english

  2. #2
    Kernel hacker
    Join Date
    Jul 2007
    Location
    Farncombe, Surrey, England
    Posts
    15,677
    Is there any particular reason you couldn't just set up a caching proxy server? Squid is one such.

    --
    Mats
    Compilers can produce warnings - make the compiler programmers happy: Use them!
    Please don't PM me for help - and no, I don't do help over instant messengers.

  3. #3
    Unregistered User Yarin's Avatar
    Join Date
    Jul 2007
    Posts
    2,158
    Check out WinINet; it works really great for me.

  4. #4
    Registered User
    Join Date
    Mar 2007
    Location
    Kaunas, Lithuania
    Posts
    14
    maybe someone can give some real example? becouse this is my firs time when I try to write program in c++ builder which has to get data from internet. Till now I was able to open page and not a step more using CppWebBrowser. CppWebBrowser would be enought if it is posible to save page in text mode and would be able to control which pictures download and which to load fom specific location.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Program Plan
    By Programmer_P in forum C++ Programming
    Replies: 0
    Last Post: 05-11-2009, 01:42 AM
  2. How use a Web Interface with a C command line program
    By vmehta211 in forum C Programming
    Replies: 3
    Last Post: 01-18-2006, 12:19 PM
  3. Web Browser
    By kwake40 in forum C++ Programming
    Replies: 19
    Last Post: 01-02-2006, 02:03 AM
  4. C++ Programming - stack based calculator program
    By tinkerbelle in forum C++ Programming
    Replies: 9
    Last Post: 10-13-2003, 03:49 PM
  5. MFC Web Browser
    By Unregistered in forum Windows Programming
    Replies: 3
    Last Post: 09-11-2001, 02:03 PM