Click here to Skip to main content
11,795,848 members (79,686 online)
Rate this: bad
Please Sign up or sign in to vote.
See more: VC6 VC++

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 at 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 at 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 at 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
0 Maciej Los 410
1 Abhinav S 368
2 OriginalGriff 300
3 Sergey Alexandrovich Kryukov 266
4 KrunalRohit 249
0 OriginalGriff 1,852
1 Maciej Los 1,465
2 KrunalRohit 1,300
3 CPallini 840
4 Richard MacCutchan 828

Advertise | Privacy | Mobile
Web04 | 2.8.151002.1 | Last Updated 21 May 2012
Copyright © CodeProject, 1999-2015
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