Opening a file in a different program...

This is a discussion on Opening a file in a different program... within the Windows Programming forums, part of the Platform Specific Boards category; I'm making a HTML/Text editor as I've said before :P. I want the user to be able to preview their ...

  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

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, 04: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, 11:04 PM

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