🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.lang.basic.misc
Article #165

Re: how can i store multiple pictures in same file

#165
From: Jason
Date: Thu, 18 Nov 1999 00:00
45 lines
2216 bytes
Sorry for the spam..

And i got it figured i just used a resource dll file and load from there.

Thank you for your responses..

Jason...

Jim Deutch <103134.3516@compuserve.com> wrote in article
<#qBhqedM$GA.227@cppssbbsa02.microsoft.com>...
> <irrelevant newsgroups snipped from follow-up: please don't spam your
> questions all over creation!>
> 
> Lots of ways.  Simplest is to make a collage: put all your pictures into
one
> single picture (line them up in a row or use rows and columns).  Load the
> collage into an invisible picturebox and use PaintPicture() to transfer
the
> parts of it you want to visible pictureboxes.
> 
> Next easiest is to make up your own file format, perhaps just a Long
telling
> the number of bytes in the next picture, then that many bytes of picture
and
> repeat.  To extract the first picture read the Long, dim a Byte array,
read
> the picture, save it to a file, and LoadPicture it.  Even better if you
do
> an index in your file header.  If the pictures are bitmaps it's not too
hard
> to load them without having to write them back out to disk first.
> 
> Jim Deutch
> MS Dev MVP
> 
> Jos� Leit�o wrote in message <810vlj$pgd$1@duke.telepac.pt>...
> >how can i store multiple pictures in same file with vb
> >
> >zleitao@wwdg.com
> >
> >
> >
> 
> 
> 
Technical Details
Message-ID: <01bf3252$c0664c60$63cd8aa4@cpu2>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <810vlj$pgd$1@duke.telepac.pt> <#qBhqedM$GA.227@cppssbbsa02.microsoft.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII
X-Google-Thread: 10c949,6cbfb49d07705fb8
X-Google-Attributes: gid10c949,public
X-Google-Thread: 102f44,6cbfb49d07705fb8
X-Google-Attributes: gid102f44,public
X-Google-Thread: 1053fc,6cbfb49d07705fb8
X-Google-Attributes: gid1053fc,public
From: "Jason" <Jason.hawryluk@wanadoo.fr>
Subject: Re: how can i store multiple pictures in same file
Date: 1999/11/18
Message-ID: <01bf3252$c0664c60$63cd8aa4@cpu2>
X-Deja-AN: 550271017
References: <810vlj$pgd$1@duke.telepac.pt> <#qBhqedM$GA.227@cppssbbsa02.microsoft.com>
X-Complaints-To: abuse@wanadoo.fr
X-Trace: wanadoo.fr 942958675 17555 164.138.205.99 (18 Nov 1999 20:57:55 GMT)
Organization: Wanadoo, l'internet avec France Telecom
NNTP-Posting-Date: 18 Nov 1999 20:57:55 GMT
Newsgroups: comp.lang.basic.misc,es.comp.lenguajes.visual-basic,microsoft.public.vb.winapi.graphics