Thread: Opening a file in a different program...

  1. #1
    Rad gcn_zelda's Avatar
    Join Date
    Mar 2003
    Posts
    942

    Arrow Opening a file in a different program...

    I'm making a HTML/Text editor as I've said before :P.
    I want the user to be able to preview their site in IE, but I don't know how to open the file in a different program. What would I use?

  2. #2
    erstwhile
    Join Date
    Jan 2002
    Posts
    2,227
    ShellExecute.

    Search this board for examples of its use; there should be quite a few.
    CProgramming FAQ
    Caution: this person may be a carrier of the misinformation virus.

  3. #3
    Rad gcn_zelda's Avatar
    Join Date
    Mar 2003
    Posts
    942
    k thx

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Formatting a text file...
    By dagorsul in forum C Programming
    Replies: 12
    Last Post: 05-02-2008, 03:53 AM
  2. Totally confused on assigment using linked lists
    By Uchihanokonoha in forum C++ Programming
    Replies: 8
    Last Post: 01-05-2008, 04:49 PM
  3. Last program!!
    By buckwheat88 in forum C++ Programming
    Replies: 12
    Last Post: 01-17-2006, 12:31 PM
  4. Possible circular definition with singleton objects
    By techrolla in forum C++ Programming
    Replies: 3
    Last Post: 12-26-2004, 10:46 AM
  5. My program, anyhelp
    By @licomb in forum C Programming
    Replies: 14
    Last Post: 08-14-2001, 10:04 PM