Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Storing images etc. in DLL's

Status
Not open for further replies.

wanmaster

Programmer
Nov 20, 2000
94
NL
What's a good way to store images etc. in an ActiveX-DLL.
Including images in the application itself makes it bigger and slower, and I don't want users get to see a directory full of pictures, so they can open/modify/delete them.
 
Put them in a image list control. You can't put them in a dll as far as I know. Unless you stored them in binary format.
 
Thanx, it works.
Meanwhile a found a stupid trick to 'hide' your images: simply change the file extension of images to something like .dat and vb is still able to do:
Picture1.picture= LoadPicture("mypic.dat")
You don't even have to rename them first. This obviously isn't very useful if the program needs a lot of images. I'll go for the DLL option...
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top