Click to See Complete Forum and Search --> : storing gifs in Resource File
ssajms
December 13th, 1999, 09:28 AM
Can anyone tell me how to store and retrieve
"gif" files, using the Resource File?
Using the normal methods of the Resource File does not work.
I believe custom code has to be written, using APIs, but I do not know how to do it.
Any help will be greatly appreciated.
Regards,
John Auston
Lothar Haensler
December 13th, 1999, 11:14 AM
to store it you need to use the resource compiler (rc.exe), to retrieve it use VB.LoadResData to load the binary data from the resource segment.
ssajms
December 13th, 1999, 12:58 PM
>to store it you need to use the resource compiler (rc.exe),
>to retrieve it use VB.LoadResData to load the binary data
>from the resource segment.
Perhaps I should have been more clear.
I have no trouble storing gifs in the Resource File. I simply
use the Resource Manager in the IDE. Problem is, I cannot get
the file back out using LoadResData. No matter how a reference
it, it keeps saying "no object found", or something similar.
Regards,
John Auston
codeguru.com
Copyright Internet.com Inc., All Rights Reserved.