Click here to Skip to main content
15,912,329 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: proxy and SSL? Pin
rrrado8-Dec-02 22:05
rrrado8-Dec-02 22:05 
Generalshellexec and dos ping Pin
jimNLX8-Dec-02 10:01
jimNLX8-Dec-02 10:01 
GeneralRe: shellexec and dos ping Pin
Dudi Avramov8-Dec-02 20:40
Dudi Avramov8-Dec-02 20:40 
GeneralRe: shellexec and dos ping Pin
Anonymous9-Dec-02 3:34
Anonymous9-Dec-02 3:34 
GeneralRe: shellexec and dos ping Pin
Dudi Avramov9-Dec-02 22:59
Dudi Avramov9-Dec-02 22:59 
Generalhelp gina dll Pin
imran_rafique8-Dec-02 9:28
imran_rafique8-Dec-02 9:28 
GeneralRe: help gina dll Pin
Christian Graus8-Dec-02 10:52
protectorChristian Graus8-Dec-02 10:52 
Questionhow to set the file association for extention Pin
pnpfriend8-Dec-02 9:01
pnpfriend8-Dec-02 9:01 
Hi all,
I used FindExecute() to check whether the user given filename ( eg. c:\abc.ttp ) has an associated file/application (.exe file) to open/print with.

How can I set or tell the OS system to open/print this extention ( eg- .ttp ) to open/print with this associate application ( eg- notepad.exe )??

Like setting register key in register table.. but I want to done in programmatically.
I was trying RegOpenKey, RegCloseKey, RegCreateKey but dont really know how to use them.

Can someone kind enough to give me sample code of how to use those functions please if they are the right functions to use for setting associate files for given file extention?


thanks
AnswerRe: how to set the file association for extention Pin
Ted Ferenc8-Dec-02 9:30
Ted Ferenc8-Dec-02 9:30 
GeneralRe: how to set the file association for extention Pin
pnpfriend8-Dec-02 10:25
pnpfriend8-Dec-02 10:25 
GeneralRe: how to set the file association for extention Pin
Ted Ferenc8-Dec-02 22:04
Ted Ferenc8-Dec-02 22:04 
GeneralHelp with Doc/View Pin
Steven M Hunt8-Dec-02 8:50
Steven M Hunt8-Dec-02 8:50 
GeneralRe: Help with Doc/View Pin
Ravi Bhavnani8-Dec-02 9:23
professionalRavi Bhavnani8-Dec-02 9:23 
GeneralHidden Processes Pin
Arsalan Malik8-Dec-02 8:23
Arsalan Malik8-Dec-02 8:23 
GeneralRe: Hidden Processes Pin
S O S8-Dec-02 9:12
S O S8-Dec-02 9:12 
GeneralRe: Hidden Processes Pin
Le centriste8-Dec-02 13:29
Le centriste8-Dec-02 13:29 
GeneralRe: Hidden Processes Pin
pranavamhari8-Dec-02 14:29
pranavamhari8-Dec-02 14:29 
GeneralRe: Hidden Processes Pin
RicoH9-Dec-02 1:13
RicoH9-Dec-02 1:13 
GeneralRe: Hidden Processes Pin
Joe Woodbury9-Dec-02 19:26
professionalJoe Woodbury9-Dec-02 19:26 
GeneralList Box(simple Question) Pin
Paddy8-Dec-02 8:06
Paddy8-Dec-02 8:06 
GeneralRe: List Box(simple Question) Pin
Dave Bryant8-Dec-02 8:18
Dave Bryant8-Dec-02 8:18 
GeneralRe: List Box(simple Question) Pin
Paddy8-Dec-02 10:04
Paddy8-Dec-02 10:04 
GeneralRe: List Box(simple Question) Pin
Dave Bryant8-Dec-02 10:09
Dave Bryant8-Dec-02 10:09 
GeneralRe: List Box(simple Question) Pin
Paddy8-Dec-02 22:32
Paddy8-Dec-02 22:32 
GeneralRe: List Box(simple Question) Pin
Thomas Lau8-Dec-02 15:37
Thomas Lau8-Dec-02 15:37 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.