Results 1 to 5 of 5

Thread: Any ideas about file grouping? anyone know?

  1. #1

    Thread Starter
    Hyperactive Member Abdulrahman's Avatar
    Join Date
    Oct 2000
    Location
    Scotland
    Posts
    281
    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

  2. #2
    Monday Morning Lunatic parksie's Avatar
    Join Date
    Mar 2000
    Location
    Mashin' on the motorway
    Posts
    8,169
    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

  3. #3

    Thread Starter
    Hyperactive Member Abdulrahman's Avatar
    Join Date
    Oct 2000
    Location
    Scotland
    Posts
    281
    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

  4. #4
    Monday Morning Lunatic parksie's Avatar
    Join Date
    Mar 2000
    Location
    Mashin' on the motorway
    Posts
    8,169
    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

  5. #5

    Thread Starter
    Hyperactive Member Abdulrahman's Avatar
    Join Date
    Oct 2000
    Location
    Scotland
    Posts
    281
    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
  •  



Click Here to Expand Forum to Full Width