-
hi,
Iam on a project where I have 1000s of picture files which I call up from VB to show up in my application as certain times/stages.
I would like to know if anyone knows any way of putting those 1000s of pic files in a single block file of some sort and then being able to call that up from VB (calling the files up from inside the big file). That way its more efficent in disk space wise and also more manageble as there will be 1 big file instead of 1000s of small files.
I do not want to use a .res file (dll) as this is unefficent (coz the dll has to load up everytime then unload etc).
Can someone please shed any light into this? (anyone know any way? maybe some sort of indexing algorthum etc.)
many thanks
Abdul
-
Use a .res file and put it into your program. If you add it as a related file VB will automatically include it for you.
-
thanks, but would that not make my .exe file very big? it would be less efficent that way at it will take more memory coz it will need to load all the pics at a one go (as they are all in a .res which is in the main .exe file)
any ideas?
thanks,
Abdul
-
How about just making your own file format to hold them? Like storing the filename then the image data for all of them?
-
can you please tell me what you mean by that?
Abdul