File association

This is a discussion on File association within the Windows Programming forums, part of the Platform Specific Boards category; Is there a easy way to associate a file extension with an application? The only way I can think of ...

  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
    University of Waterloo
    Posts
    1,903
    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,630
    >>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, 04: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, 09:57 AM
  5. Need a suggestion on a school project..
    By Screwz Luse in forum C Programming
    Replies: 5
    Last Post: 11-27-2001, 01:58 AM

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