Click here to Skip to main content
Sign Up to vote bad
good
See more: C++/MFC
hi all
have a good time
 
i want to know how can i get path and name of a file that user is double clicking on that.
i mean i want to load a file in myself application with do double click on that with explorer in windows.
 
thanks a lot
Posted 14 Nov '12 - 20:42


1 solution

You are talking about file association, meaning that based on the file extension a program is used to open it.
This article: Associate File Extension with Shell OPEN command and Application[^] should get you started.
  Permalink  
Comments
Mahdi Nejadsahebi - 17 Nov '12 - 6:25
dear andre i looked at that but i couldn't get usefull things. maby i'm begginer. can you explainfor me? thanks in advance

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
Your Filters
Interested
Ignored
     
0 Sergey Alexandrovich Kryukov 405
1 OriginalGriff 315
2 Maciej Los 240
3 Slacker007 240
4 Aarti Meswania 210
0 Sergey Alexandrovich Kryukov 8,953
1 OriginalGriff 7,134
2 CPallini 3,758
3 Rohan Leuva 3,066
4 Maciej Los 2,528


Advertise | Privacy | Mobile
Web04 | 2.6.130516.1 | Last Updated 15 Nov 2012
Copyright © CodeProject, 1999-2013
All Rights Reserved. Terms of Use
Layout: fixed | fluid