Thread: Making a Console Application open a webpage?

  1. #1
    Registered User
    Join Date
    Mar 2013

    Making a Console Application open a webpage?


    I know how to make a console application open a browser say like by entering
    system("start iexplore.exe");
    but that just goes to the browsers default start up page. If someone could supply me with
    the code to make it open a website of my choice (if its possible to on a console app) I would be really grateful .
    Thank you for any help or advice given,


    (BTW I'm using Microsoft Visual C++ 2010 Express)
    Last edited by Joewbarber; 03-23-2013 at 12:38 PM. Reason: Text on one line

  2. #2
    and the hat of int overfl Salem's Avatar
    Join Date
    Aug 2001
    The edge of the known universe
    Did you try
    system("start iexplore.exe");

    Internet Explorer Command-Line Options
    If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut.
    If at first you don't succeed, try writing your phone number on the exam paper.

  3. #3
    Algorithm Dissector iMalc's Avatar
    Join Date
    Dec 2005
    New Zealand
    Try typing "Start /?" in at the command line and see if that gives you any useful information.
    My homepage
    Advice: Take only as directed - If symptoms persist, please see your debugger

    Linus Torvalds: "But it clearly is the only right way. The fact that everybody else does it some other way only means that they are wrong"

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Open a WebPage
    By epi_jimenez in forum C Programming
    Replies: 14
    Last Post: 04-12-2010, 10:27 PM
  2. Making a mac application ?
    By FrederikPot in forum Tech Board
    Replies: 2
    Last Post: 12-18-2007, 07:14 PM
  3. Open a new program from a C++ application
    By axr0284 in forum C++ Programming
    Replies: 9
    Last Post: 12-29-2004, 12:29 PM
  4. making a stealthy win32 console application?
    By killdragon in forum C++ Programming
    Replies: 3
    Last Post: 09-08-2004, 02:50 PM
  5. Replies: 1
    Last Post: 11-23-2001, 10:01 AM

Tags for this Thread