Click here to Skip to main content
16,005,473 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: opening a file in defalut application -II Pin
_AnsHUMAN_ 13-Jun-06 1:41
_AnsHUMAN_ 13-Jun-06 1:41 
GeneralRe: opening a file in defalut application -II [modified] Pin
iLL eFFect13-Jun-06 1:42
iLL eFFect13-Jun-06 1:42 
GeneralRe: opening a file in defalut application -II Pin
Viorel.13-Jun-06 1:58
Viorel.13-Jun-06 1:58 
GeneralRe: opening a file in defalut application -II Pin
toxcct13-Jun-06 2:22
toxcct13-Jun-06 2:22 
GeneralRe: opening a file in defalut application -II Pin
_AnsHUMAN_ 13-Jun-06 2:30
_AnsHUMAN_ 13-Jun-06 2:30 
GeneralRe: opening a file in defalut application -II Pin
toxcct13-Jun-06 2:32
toxcct13-Jun-06 2:32 
GeneralRe: opening a file in defalut application -II Pin
_AnsHUMAN_ 13-Jun-06 2:34
_AnsHUMAN_ 13-Jun-06 2:34 
AnswerRe: opening a file in defalut application -II Pin
Laxman Auti13-Jun-06 1:42
Laxman Auti13-Jun-06 1:42 
iLL eFFect wrote:
in this case i can only launch mp3s... or sond files. but wat incase winamp is not insatlled. or the u want to launch .doc... then wat?

wat i see as a solution is to look in registry as to wat is the default applcation is for the type of file and then launch that application(that too after searching for its path in registry) with the file name as parameter.


HKEY_CLASSES_ROOT\mp3file\shell\open\command

here you get the application associated with your MP3 File so simply search for other file types for launching the files.


Knock out 't' from can't,
You can if you think you can
Cool | :cool:
AnswerRe: opening a file in defalut application -II Pin
Laxman Auti13-Jun-06 1:36
Laxman Auti13-Jun-06 1:36 
QuestionRe: opening a file in defalut application -II Pin
David Crow13-Jun-06 3:46
David Crow13-Jun-06 3:46 
AnswerRe: opening a file in defalut application -II Pin
ThatsAlok13-Jun-06 1:35
ThatsAlok13-Jun-06 1:35 
AnswerRe: opening a file in defalut application -II Pin
Hamid_RT13-Jun-06 1:36
Hamid_RT13-Jun-06 1:36 
AnswerRe: opening a file in defalut application -II Pin
toxcct13-Jun-06 2:23
toxcct13-Jun-06 2:23 
QuestionRe: opening a file in defalut application -II Pin
David Crow13-Jun-06 3:29
David Crow13-Jun-06 3:29 
Questionusing delete operator Pin
namaskaaram13-Jun-06 1:10
namaskaaram13-Jun-06 1:10 
AnswerRe: using delete operator [modified] Pin
_AnsHUMAN_ 13-Jun-06 1:12
_AnsHUMAN_ 13-Jun-06 1:12 
AnswerRe: using delete operator Pin
Laxman Auti13-Jun-06 1:13
Laxman Auti13-Jun-06 1:13 
AnswerRe: using delete operator [modified] Pin
Ganesh_T13-Jun-06 1:13
Ganesh_T13-Jun-06 1:13 
AnswerRe: using delete operator Pin
ThatsAlok13-Jun-06 1:32
ThatsAlok13-Jun-06 1:32 
Generalusing delete operator- part II Pin
namaskaaram13-Jun-06 1:19
namaskaaram13-Jun-06 1:19 
GeneralRe: using delete operator- part II Pin
_AnsHUMAN_ 13-Jun-06 1:22
_AnsHUMAN_ 13-Jun-06 1:22 
QuestionRe: using delete operator- part II Pin
namaskaaram13-Jun-06 1:28
namaskaaram13-Jun-06 1:28 
AnswerRe: using delete operator- part II Pin
Laxman Auti13-Jun-06 1:31
Laxman Auti13-Jun-06 1:31 
GeneralRe: using delete operator- part II Pin
namaskaaram13-Jun-06 1:37
namaskaaram13-Jun-06 1:37 
AnswerRe: using delete operator- part II Pin
_AnsHUMAN_ 13-Jun-06 1:35
_AnsHUMAN_ 13-Jun-06 1:35 

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.