I've made a program using C# and I want know how to associate file which output to open by using this program. this program made files with an extension .fct I want this files with that extension open in my program when it double clicked
Asked
Active
Viewed 172 times
2
-
2possible duplicate of [How to programmatically create a file association that works in XP, Vista and Windows 7](http://stackoverflow.com/questions/1807742/how-to-programmatically-create-a-file-association-that-works-in-xp-vista-and-wi) – M4N Mar 06 '12 at 22:17
-
@SteveB: Yep, that works for your computer. Not so much for a customer's. – Ed S. Mar 06 '12 at 22:18
-
check this one: http://stackoverflow.com/questions/2681878/associate-file-extension-with-application – Davide Piras Mar 06 '12 at 22:18
-
This is definitely a "real question". OP, follow M4N's link (he voted for dup) – Ed S. Mar 06 '12 at 22:18
-
@EdS.: I was a bit ironic... the question did not give details, so I answer with an undetailled answer – Steve B Mar 06 '12 at 22:23
-
@SteveB: Fair enough :-) – Ed S. Mar 06 '12 at 22:28
1 Answers
0
You might want to look into this: http://mel-green.com/2009/04/c-set-file-type-association/

MilkyWayJoe
- 9,082
- 2
- 38
- 53
-
@M4N I modify my question to understand and answer this is problem and there are solve if you can answer this question – Ahmed Kady Mar 06 '12 at 22:46
-
@usr I modify my question to understand and answer this is problem and there are solve if you can answer this question – Ahmed Kady Mar 06 '12 at 22:49