Click here to Skip to main content
15,881,204 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
hi,

Here my intention is when i double click on exe it explore the files which it has held.

How can i achieve this through vc++ source code.
Posted
Comments
Pablo Aliskevicius 21-May-12 7:55am    
Please define 'held'.

1 solution

You could add the files dynamically into a list and then access them as required. You could add them as resources into your executable. You could search a directory for them. There are lots of options, but without some more specific details it is difficult to be clear about what you are trying to do.
 
Share this answer
 
Comments
rajesh482 7-Jun-12 10:53am    
Thank you sir.
Suppose take an example of zip file, When we double click on it ,it will explores or creates n number of files in it. How can i do this through my program.
Richard MacCutchan 7-Jun-12 11:04am    
You need to write the various files to one single file, with an index that your program can then interpret and split the archive into its constituent parts.

Your first step needs to be to write an outline design for your program. Next define the various classes and actors that are needed to process your file types. Finally convert that into source code, compile and test until it works.

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