Click here to Skip to main content
15,891,513 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Basically i have created a single doc MFC application with html view. When i run the application for visual studio using F5, it runs as expected. But when i double click the file(like *.txt) in windows in launches my MFC application but doesnt run as expected. it doesnt read the file properly. Can you help giving the trace where i should take care of this situation. As in where can i load the browser with the file i m double clicking.

Thanks in advance
Posted
Updated 19-Jun-15 0:53am
v2

1 solution

You have to parse the command line[^].
 
Share this answer
 
Comments
Member 11777509 19-Jun-15 7:03am    
Can u explain..
Thanks in advance

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900