C++: Displaying a webpage

This is a discussion on C++: Displaying a webpage within the C++ Programming forums, part of the General Programming Boards category; does any body know how I can load a WebPage in my app right when the app starts -ALSO- Does ...

  1. #1
    Registered User
    Join Date
    Oct 2002
    Posts
    4

    C++: Displaying a webpage

    does any body know how I can load a WebPage in my app right when the app starts
    -ALSO-
    Does any body know where I can get a de-compiler

  2. #2
    End Of Line Hammer's Avatar
    Join Date
    Apr 2002
    Posts
    6,231

    Re: C++: Displaying a webpage

    Originally posted by alcodes
    does any body know how I can load a WebPage in my app right when the app starts
    -ALSO-
    Does any body know where I can get a de-compiler
    ShellExecute() in Windows may help you open a URL in your default browser.

    de-compilers from your friendly search engine.
    When all else fails, read the instructions.
    If you're posting code, use code tags: [code] /* insert code here */ [/code]

  3. #3
    Registered User
    Join Date
    Oct 2002
    Posts
    4
    not what I needed, I wanted it to load in the app

  4. #4
    End Of Line Hammer's Avatar
    Join Date
    Apr 2002
    Posts
    6,231
    You have a web browser in your app then? Or you just want a socket call to go get you the raw data? What platform/compiler?
    When all else fails, read the instructions.
    If you're posting code, use code tags: [code] /* insert code here */ [/code]

  5. #5
    Registered User Diamonds's Avatar
    Join Date
    Oct 2002
    Posts
    68
    go look into the microsoft COM documentation. You'll have enough info to give you a headach 3 times over.

  6. #6
    Registered User Diamonds's Avatar
    Join Date
    Oct 2002
    Posts
    68
    you want the webpage to be displayed in your application? I hope you mean your window'ed application...and not a consol one.

    At any rate, the easiest way is using VB. If it's so important to use VC (or win32 equivalent), go look-up some MSDN stuff. Look for COM objects. Those are the guys that do all the work for you. Basically it loads IE into your app window. So it can only be run on a windows machine.
    Last edited by Diamonds; 10-14-2002 at 07:35 PM.

  7. #7
    Registered User
    Join Date
    Oct 2002
    Posts
    4
    My compiler is DEV-CPP

  8. #8
    Guest Sebastiani's Avatar
    Join Date
    Aug 2001
    Location
    Waterloo, Texas
    Posts
    5,600
    You'll need to use sockets. But what are you going to do? Display the HTML in the console?
    Code:
    if( numeric_limits< byte >::digits != bits_per_byte )
        error( "program requires bits_per_byte-bit bytes" );
    24bbs.cpp

  9. #9
    alcode
    Guest
    yes, what I got will do no good, I need it to open inside the file, with a specified height and width

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Replies: 15
    Last Post: 11-27-2007, 07:47 PM
  2. Need Help Displaying A Pattern.
    By slickwilly440 in forum C++ Programming
    Replies: 4
    Last Post: 10-05-2005, 11:01 AM
  3. Downloading a webpage onto the disk?
    By Edin in forum Windows Programming
    Replies: 3
    Last Post: 11-23-2004, 12:37 AM
  4. Displaying a webpage
    By Munkey01 in forum C++ Programming
    Replies: 2
    Last Post: 04-11-2003, 06:07 PM
  5. Need codes for displaying figures in descending mode.
    By rbaba in forum C++ Programming
    Replies: 0
    Last Post: 12-14-2001, 07:47 PM

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