How do you make file associations in C++

In C++ code, how would I customize an extension.

Page 1 of 1

2 Replies - 2522 Views - Last Post: 03 September 2009 - 02:59 PM Rate Topic: -----

#1 azjherben  Icon User is offline

  • D.I.C Head

Reputation: 1
  • View blog
  • Posts: 89
  • Joined: 25-March 09

How do you make file associations in C++

Posted 03 September 2009 - 01:22 PM

How do you make file assoications in C++
In C++ code, how would I customize an extension.

I'm using C++ and my program outputs files, if/when I make an installer for it, I'd like to know how to make a program that can assoicate a file extension ex. ".iazj" with a name, icon, and program to open.
Is This A Good Question/Topic? 0
  • +

Replies To: How do you make file associations in C++

#2 debjit625  Icon User is offline

  • D.I.C Regular
  • member icon

Reputation: 51
  • View blog
  • Posts: 446
  • Joined: 06-September 08

Re: How do you make file associations in C++

Posted 03 September 2009 - 01:33 PM

It is done with registry its a big topic.Its called "Creating a File Association" search this key word in MSDN you will find it right their.

Good Luck
Was This Post Helpful? 0
  • +
  • -

#3 nathanpc  Icon User is offline

  • SCIENCE!
  • member icon

Reputation: 112
  • View blog
  • Posts: 1,171
  • Joined: 31-July 09

Re: How do you make file associations in C++

Posted 03 September 2009 - 02:59 PM

Read my post in DaniWeb for your same post there, you can use the Windows registry, it's the easiest way!
Was This Post Helpful? 0
  • +
  • -

Page 1 of 1