Results 1 to 2 of 2

Thread: dll and gif

  1. #1

    Thread Starter
    Hyperactive Member Dorothy's Avatar
    Join Date
    Feb 2001
    Posts
    310

    Question dll and gif

    I need to embed an image in my acx dll and call it this way:

    res://C:\WINDOWS\SYSTEM\mydll.DLL/img1.gif

    I tried using resource script file to add an gif image but it seems that gif cannot be added to res files.

    Similarly I need to store a rtf,html files inside my exe and call it the same way.


    Any solutions?

  2. #2
    Hyperactive Member
    Join Date
    May 2002
    Location
    Wisconsin, USA
    Posts
    279
    Like I stated in the other thread you posted about this problem:

    Ok, you can't call it that way, because if it is inside the dll then it is not a file and you can't reference it like a file.

    One solution would be to create a form in the dll with a picture box on it, and have the picture in the picture box. Then all you have to do is load the form and then get the picture from the picture box.

    If anyone has a better solution, I would like to know. That is the best one I can think of that would be fairly easy to do.

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