Thread: File association

  1. #1
    Registered User
    Join Date
    Dec 2004
    Posts
    38

    File association

    Is there a easy way to associate a file extension with an application?
    The only way I can think of doing it is exporting a .reg file with your program and using ShellExecute(), this is a horrible way and I know you there is another way because programs dont have a "Would you like to add this to registry.." dialog. Can someone please help me?Thanks.

  2. #2
    Software Developer jverkoey's Avatar
    Join Date
    Feb 2003
    Location
    New York
    Posts
    1,905
    Look in to the NSIS installer. It works very nicely and is very easy to use.

  3. #3
    Registered User Codeplug's Avatar
    Join Date
    Mar 2003
    Posts
    4,981
    >>The only way I can think of doing it is exporting a .reg file...
    http://msdn.microsoft.com/library/de...e/registry.asp

    gg

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. A development process
    By Noir in forum C Programming
    Replies: 37
    Last Post: 07-10-2011, 10:39 PM
  2. Can we have vector of vector?
    By ketu1 in forum C++ Programming
    Replies: 24
    Last Post: 01-03-2008, 05:02 AM
  3. Making a LIB file from a DEF file for a DLL
    By JMPACS in forum C++ Programming
    Replies: 0
    Last Post: 08-02-2003, 08:19 PM
  4. Hmm....help me take a look at this: File Encryptor
    By heljy in forum C Programming
    Replies: 3
    Last Post: 03-23-2002, 10:57 AM
  5. Need a suggestion on a school project..
    By Screwz Luse in forum C Programming
    Replies: 5
    Last Post: 11-27-2001, 02:58 AM