Shell

This is a discussion on Shell within the C++ Programming forums, part of the General Programming Boards category; Im fairly new to c++ so i was wondering how to shell to like internet explorer ? what is the ...

  1. #1
    Registered User
    Join Date
    Mar 2003
    Posts
    3

    Shell

    Im fairly new to c++ so i was wondering how to shell to like internet explorer ?

    what is the header files need and whats the code for it ?

  2. #2
    Registered User
    Join Date
    Nov 2001
    Posts
    1,348
    One solution is ShellExec().

    ShellExecute (
    // Child process handle
    NULL,
    // Command
    "open",
    // Target
    "myfile.htm",
    // Parameters
    NULL,
    // Default directory
    NULL,
    // Display
    SW_SHOWNORMAL);

    Kuphryn

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Replies: 34
    Last Post: 05-27-2009, 12:26 PM
  2. What shell is more powerful?
    By xddxogm3 in forum Tech Board
    Replies: 10
    Last Post: 07-24-2004, 10:47 PM
  3. System.ini Shell Problems
    By (TNT) in forum Windows Programming
    Replies: 2
    Last Post: 08-26-2001, 01:05 PM

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