|
-
Oct 6th, 2000, 04:04 PM
#1
Thread Starter
Hyperactive Member
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
-
Oct 6th, 2000, 05:09 PM
#2
Monday Morning Lunatic
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.
I refuse to tie my hands behind my back and hear somebody say "Bend Over, Boy, Because You Have It Coming To You".
-- Linus Torvalds
-
Oct 6th, 2000, 05:36 PM
#3
Thread Starter
Hyperactive Member
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
-
Oct 7th, 2000, 04:24 AM
#4
Monday Morning Lunatic
How about just making your own file format to hold them? Like storing the filename then the image data for all of them?
I refuse to tie my hands behind my back and hear somebody say "Bend Over, Boy, Because You Have It Coming To You".
-- Linus Torvalds
-
Oct 7th, 2000, 05:57 AM
#5
Thread Starter
Hyperactive Member
can you please tell me what you mean by that?
Abdul
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|