Click here to Skip to main content
Rate this: bad
good
Please Sign up or sign in to vote.
See more: VC6 VC++
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 21-May-12 0:49am
rajesh4821.1K
Comments
Pablo Aliskevicius at 21-May-12 7:55am
   
Please define 'held'.

1 solution

Rate this: bad
good
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.
  Permalink  
Comments
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 OriginalGriff 400
1 Jochen Arndt 200
2 Richard MacCutchan 135
3 DamithSL 95
4 Maciej Los 95
0 OriginalGriff 6,045
1 DamithSL 4,601
2 Maciej Los 4,032
3 Kornfeld Eliyahu Peter 3,480
4 Sergey Alexandrovich Kryukov 3,220


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