Click here to Skip to main content
15,910,603 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: regular expression - removing last character from result Pin
rp_suman16-Jul-08 2:04
rp_suman16-Jul-08 2:04 
QuestionHow to Associate a File Extension with a Program Pin
Bram van Kampen10-Jul-08 15:34
Bram van Kampen10-Jul-08 15:34 
AnswerRe: How to Associate a File Extension with a Program Pin
Nelek10-Jul-08 21:29
protectorNelek10-Jul-08 21:29 
GeneralRe: How to Associate a File Extension with a Program Pin
Bram van Kampen11-Jul-08 14:31
Bram van Kampen11-Jul-08 14:31 
GeneralRe: How to Associate a File Extension with a Program Pin
Bram van Kampen12-Jul-08 13:02
Bram van Kampen12-Jul-08 13:02 
AnswerRe: How to Associate a File Extension with a Program Pin
Mark Salsbery11-Jul-08 6:31
Mark Salsbery11-Jul-08 6:31 
GeneralRe: How to Associate a File Extension with a Program Pin
Bram van Kampen11-Jul-08 14:30
Bram van Kampen11-Jul-08 14:30 
GeneralRe: How to Associate a File Extension with a Program Pin
Bram van Kampen12-Jul-08 16:08
Bram van Kampen12-Jul-08 16:08 
Hi Mark,

My question was a bit more subtle. I never use the Document Interface, but actually what I was looking for (and since found) was 'CWinapp::RegisterShellFileTypes()'

I am hacking that now in order that my instalation program sets file asociations for rarely used utilities. For example, many european ISP's do not allow DLL's EXE's etc to be send as an e-mail attachment. No Problem, I wrote a utility which converts the binary into a text file, which I gave the extension say '.QXP' I also include in the release, a program that silently (no UI if things go Right) converts the QXP file back. The idea is also that double clicking by the usr on a 'QXP' file should start the conversion back

All this works, and fails gracefully on error. There is one issue remaining, and I'm running out of computers to test it, and that is, what does 'CWinApp::EnableShelOpen()'actually do.( This is subject to another posting).


Regards Smile | :) Smile | :)

Bram van Kampen

Questionwhy can't I print an icon? Pin
tataxin10-Jul-08 15:33
tataxin10-Jul-08 15:33 
AnswerRe: why can't I print an icon? Pin
Mark Salsbery11-Jul-08 6:34
Mark Salsbery11-Jul-08 6:34 
GeneralRe: why can't I print an icon? Pin
Bram van Kampen12-Jul-08 16:25
Bram van Kampen12-Jul-08 16:25 
GeneralRe: why can't I print an icon? Pin
tataxin13-Jul-08 14:43
tataxin13-Jul-08 14:43 
GeneralRe: why can't I print an icon? Pin
Bram van Kampen15-Jul-08 14:47
Bram van Kampen15-Jul-08 14:47 
QuestionUsing getenv Pin
rocktx10-Jul-08 8:17
rocktx10-Jul-08 8:17 
AnswerRe: Using getenv Pin
David Crow10-Jul-08 8:43
David Crow10-Jul-08 8:43 
GeneralRe: Using getenv [modified] Pin
Bram van Kampen12-Jul-08 16:42
Bram van Kampen12-Jul-08 16:42 
Questionget_anchors doesn't return all anchors Pin
Mohammad Tarik10-Jul-08 7:30
Mohammad Tarik10-Jul-08 7:30 
QuestionRe: get_anchors doesn't return all anchors Pin
David Crow10-Jul-08 7:32
David Crow10-Jul-08 7:32 
AnswerRe: get_anchors doesn't return all anchors Pin
Mohammad Tarik10-Jul-08 7:35
Mohammad Tarik10-Jul-08 7:35 
QuestionRe: get_anchors doesn't return all anchors Pin
David Crow10-Jul-08 7:45
David Crow10-Jul-08 7:45 
AnswerRe: get_anchors doesn't return all anchors Pin
Mohammad Tarik10-Jul-08 7:58
Mohammad Tarik10-Jul-08 7:58 
QuestionRe: get_anchors doesn't return all anchors Pin
David Crow10-Jul-08 8:16
David Crow10-Jul-08 8:16 
AnswerRe: get_anchors doesn't return all anchors Pin
Mohammad Tarik10-Jul-08 8:37
Mohammad Tarik10-Jul-08 8:37 
GeneralRe: get_anchors doesn't return all anchors Pin
David Crow10-Jul-08 8:41
David Crow10-Jul-08 8:41 
GeneralRe: get_anchors doesn't return all anchors Pin
Mohammad Tarik10-Jul-08 8:51
Mohammad Tarik10-Jul-08 8:51 

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.