0

I am making a theme builder for iPhone/iPod touch. Usually the folders are suffixed with .theme. For my application, could I possible make an file extension, .iTheme, and associate my application with the .iTheme extension?

Mohit Deshpande
  • 53,877
  • 76
  • 193
  • 251

1 Answers1

1

Certainly. This question's first answer lists the steps for doing so. It's for Delphi instead of C#, but the steps are the same either way.

Community
  • 1
  • 1
Ken White
  • 123,280
  • 14
  • 225
  • 444
  • How do I do this in Visual Studio 2008-2010. – Mohit Deshpande Dec 24 '09 at 15:48
  • There are dozens of posts here on using the Windows registry from C#. A quick search on "Registry C#" turned up http://stackoverflow.com/questions/1082889/how-to-change-filetype-association-in-the-registry - the second answer to that shows you the exact .NET classes and sample use for adding a file association to the registry. – Ken White Dec 24 '09 at 16:40