Click here to Skip to main content
15,917,633 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Reading file backwards... Pin
Achim Klein30-Aug-05 5:33
Achim Klein30-Aug-05 5:33 
Questionhide standard toolbar and create new button Pin
sarliza29-Aug-05 21:58
sarliza29-Aug-05 21:58 
Questionpassing structure as parameter in ActiveX control Pin
rajesh_kapure29-Aug-05 21:50
rajesh_kapure29-Aug-05 21:50 
QuestionHow can I shutdown my computer in my VC++ program? Pin
pantao55129-Aug-05 21:36
pantao55129-Aug-05 21:36 
AnswerRe: How can I shutdown my computer in my VC++ program? Pin
Barm29-Aug-05 22:24
Barm29-Aug-05 22:24 
AnswerRe: How can I shutdown my computer in my VC++ program? Pin
Marc Soleda29-Aug-05 22:27
Marc Soleda29-Aug-05 22:27 
AnswerRe: How can I shutdown my computer in my VC++ program? Pin
sunit530-Aug-05 1:57
sunit530-Aug-05 1:57 
QuestionCommand for executing files..... Pin
Ravi Sankar S29-Aug-05 21:25
Ravi Sankar S29-Aug-05 21:25 
Hello All

Is there any command in SDK / MFC on passing the file name can execute with appropriate application.

For Example command ("a.wav") should open "a.wav" file in Real Player or what user has installed / configured to open the *.WAV files.

I can use, WinExec but it needs the executable path to be passed. User can install any type of player and configure different type of file format to open in different players.

One Clue is in the Command Prompt if we type the file name it automatically finds the application to be used and opens the file. If the file extension is not mapped with any applicaiton it automatically open the "Open With" dialog box.

So I there is any command which executes the string passed as in command line it will do.

Is There any command?

Thanks for your time
Ravi
AnswerRe: Command for executing files..... Pin
toxcct29-Aug-05 22:05
toxcct29-Aug-05 22:05 
AnswerRe: Command for executing files..... Pin
Nishad S29-Aug-05 22:13
Nishad S29-Aug-05 22:13 
GeneralRe: Command for executing files..... Pin
Ravi Sankar S29-Aug-05 22:52
Ravi Sankar S29-Aug-05 22:52 
GeneralRe: Command for executing files..... Pin
toxcct29-Aug-05 23:26
toxcct29-Aug-05 23:26 
Questionhelp....... Pin
moodsey21129-Aug-05 21:05
moodsey21129-Aug-05 21:05 
QuestionSyntax error....... Pin
29-Aug-05 20:43
suss29-Aug-05 20:43 
AnswerRe: Syntax error....... Pin
toxcct29-Aug-05 20:55
toxcct29-Aug-05 20:55 
AnswerRe: Syntax error....... Pin
Eytukan29-Aug-05 23:04
Eytukan29-Aug-05 23:04 
Question How to set Tab stop in VC++6.0 Mannually? Pin
G Haranadh29-Aug-05 20:02
G Haranadh29-Aug-05 20:02 
AnswerRe: How to set Tab stop in VC++6.0 Mannually? Pin
Marc Soleda29-Aug-05 20:18
Marc Soleda29-Aug-05 20:18 
AnswerRe: How to set Tab stop in VC++6.0 Mannually? Pin
Jose Lamas Rios29-Aug-05 21:07
Jose Lamas Rios29-Aug-05 21:07 
QuestionOne more link error __argc/__argv Pin
Christian Graus29-Aug-05 18:47
protectorChristian Graus29-Aug-05 18:47 
AnswerRe: One more link error __argc/__argv Pin
Rick York29-Aug-05 20:13
mveRick York29-Aug-05 20:13 
GeneralRe: One more link error __argc/__argv Pin
Christian Graus30-Aug-05 13:12
protectorChristian Graus30-Aug-05 13:12 
AnswerRe: One more link error __argc/__argv Pin
KaЯl29-Aug-05 21:22
KaЯl29-Aug-05 21:22 
GeneralRe: One more link error __argc/__argv Pin
Christian Graus30-Aug-05 13:00
protectorChristian Graus30-Aug-05 13:00 
QuestionParent Window Pin
Nishad S29-Aug-05 18:36
Nishad S29-Aug-05 18:36 

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.