File association

This is a discussion on File association within the Windows Programming forums, part of the Platform Specific Boards category; Hi, i used to save a file in my own format and extension. -Can you tell me, please, how can ...

  1. #1
    Registered User
    Join Date
    Jan 2008
    Posts
    42

    File association

    Hi,
    i used to save a file in my own format and extension.
    -Can you tell me, please, how can i associate the extension with my Application?

    -How do i need to change the Code so that when the User double clicks the file, it launches my App and my App starts parsing the File?


    Thanks in advance.

  2. #2
    Confused Magos's Avatar
    Join Date
    Sep 2001
    Location
    Sweden
    Posts
    3,145
    Enter regedit, go to HKEY_CLASSES_ROOT. Add/edit the keys here to change associations. It's usually some path under shell/shellex.
    MagosX.com

    Give a man a fish and you feed him for a day.
    Teach a man to fish and you feed him for a lifetime.

  3. #3
    Registered User Codeplug's Avatar
    Join Date
    Mar 2003
    Posts
    4,674
    http://msdn.microsoft.com/en-us/libr...04(VS.85).aspx

    Use the table of contents tree on the left in order to read all the documentation on it.

    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