Click here to Skip to main content
12,998,483 members (128,103 online)
Rate this:
Please Sign up or sign in to vote.
See more:

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 20-May-12 23:49pm
Pablo Aliskevicius 21-May-12 7:55am
Please define 'held'.

1 solution

Rate this: bad
Please Sign up or sign in to vote.

Solution 1

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.
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)

  Print Answers RSS
Top Experts
Last 24hrsThis month

Advertise | Privacy | Mobile
Web01 | 2.8.170622.1 | Last Updated 21 May 2012
Copyright © CodeProject, 1999-2017
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100