Click here to Skip to main content
15,886,518 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Yet another list view problem Pin
Waldermort27-Feb-06 2:05
Waldermort27-Feb-06 2:05 
GeneralRe: Yet another list view problem Pin
Waldermort27-Feb-06 3:11
Waldermort27-Feb-06 3:11 
QuestionImage in arc file Pin
rajeevktripathi27-Feb-06 1:24
rajeevktripathi27-Feb-06 1:24 
QuestionHow to check valid internet connection? Pin
Aryan S27-Feb-06 0:15
Aryan S27-Feb-06 0:15 
AnswerRe: How to check valid internet connection? Pin
Nibu babu thomas27-Feb-06 0:44
Nibu babu thomas27-Feb-06 0:44 
AnswerRe: How to check valid internet connection? Pin
David Crow27-Feb-06 2:46
David Crow27-Feb-06 2:46 
QuestionLaunching EXE Pin
Subramaniam s.V.27-Feb-06 0:14
Subramaniam s.V.27-Feb-06 0:14 
AnswerRe: Launching EXE Pin
Rage27-Feb-06 0:21
professionalRage27-Feb-06 0:21 
So what you want is register a file extension.

To do that, you need to update some registry keys :

Under HKEY_CLASSES_ROOT\ create a key with your extension, say .myapp, and assign it the value MyApp.

Then under HKEY_CLASSES_ROOT\ again, create a MyApp key, and create following structure HKEY_CLASSES_ROOT\MyApp\shell\open\command, and assign the path of your application to the command key.

Check ::RegOpenKey and associated functions for handling registry keys.

What you want to achieve is usually done by an install programm, since you need the path where the user will install your app. This is very easy to do using InnoSetup (Google for it).

Hope this helps

~RaGE();
AnswerRe: Launching EXE Pin
David Crow27-Feb-06 2:47
David Crow27-Feb-06 2:47 
QuestionProject files are compiling always Pin
BiswaR26-Feb-06 23:31
BiswaR26-Feb-06 23:31 
AnswerRe: Project files are compiling always Pin
Dennis Gourjii26-Feb-06 23:47
Dennis Gourjii26-Feb-06 23:47 
GeneralRe: Project files are compiling always Pin
Subramaniam s.V.27-Feb-06 0:19
Subramaniam s.V.27-Feb-06 0:19 
GeneralRe: Project files are compiling always Pin
Dennis Gourjii27-Feb-06 0:42
Dennis Gourjii27-Feb-06 0:42 
AnswerRe: Project files are compiling always Pin
Cedric Moonen27-Feb-06 1:15
Cedric Moonen27-Feb-06 1:15 
QuestionPrinting Pin
Subramaniam s.V.26-Feb-06 22:44
Subramaniam s.V.26-Feb-06 22:44 
AnswerRe: Printing Pin
Dennis Gourjii26-Feb-06 23:50
Dennis Gourjii26-Feb-06 23:50 
GeneralRe: Printing Pin
Subramaniam s.V.27-Feb-06 0:17
Subramaniam s.V.27-Feb-06 0:17 
GeneralRe: Printing Pin
Dennis Gourjii27-Feb-06 0:35
Dennis Gourjii27-Feb-06 0:35 
QuestionCounting number of files Pin
theprinc26-Feb-06 22:42
theprinc26-Feb-06 22:42 
AnswerRe: Counting number of files Pin
Nibu babu thomas26-Feb-06 22:45
Nibu babu thomas26-Feb-06 22:45 
AnswerRe: Counting number of files Pin
Dennis Gourjii26-Feb-06 23:55
Dennis Gourjii26-Feb-06 23:55 
AnswerRe: Counting number of files Pin
ThatsAlok26-Feb-06 23:56
ThatsAlok26-Feb-06 23:56 
AnswerRe: Counting number of files Pin
David Crow27-Feb-06 2:49
David Crow27-Feb-06 2:49 
QuestionDetecting change printer change settings Pin
loneadam200026-Feb-06 21:44
loneadam200026-Feb-06 21:44 
QuestionWhy gethostbyname(hostname) returns NULL ? Pin
fearless stallion26-Feb-06 20:59
fearless stallion26-Feb-06 20:59 

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.