CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 3 of 3
  1. #1
    Join Date
    Dec 1999
    Location
    Wisconsin
    Posts
    2

    storing gifs in Resource File

    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

  2. #2
    Join Date
    May 1999
    Posts
    3,332

    Re: storing gifs in Resource File

    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.


  3. #3
    Join Date
    Dec 1999
    Location
    Wisconsin
    Posts
    2

    Re: storing gifs in Resource File

    >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

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

Featured