Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion GroupsFormsForms ProgrammingQueriesModules / DAO / VBAReports / PrintingMacrosDatabase DesignSecurityConversionImporting / LinkingSQL Server / ADPMultiuser / NetworkingReplicationSetup / ConfigurationDeveloper ToolkitsActiveX ControlsNew UsersGeneral 1General 2
Access DirectoryToolsTutorialsUser Groups
Related Topics
SQL ServerOther DB ProductsMS OfficeMore Topics ...

MS Access Forum / ActiveX Controls / February 2006

Tip: Looking for answers? Try searching our database.

ImageList Control - Getting Images stored in Control

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Don - 13 Feb 2006 11:40 GMT
Hello, How can I get the pictures stored in an Image List control out and
back in their original bmp or ico files.

I'm converting my controls from Microsoft Common Controls 5.0 to 6.0.  I
need to pull out the images in the 5.0 control so I can add them to the 6.0
control.

Thanks

Dom
Alex Dybenko - 13 Feb 2006 18:04 GMT
Hi,
I also thought about this, but did not find any simple way, so I always keep
original images as files. Perhaps you can try to ask at VB newsgroup
Signature

Alex Dybenko (MVP)
http://alexdyb.blogspot.com
http://www.PointLtd.com

> Hello, How can I get the pictures stored in an Image List control out and
> back in their original bmp or ico files.
[quoted text clipped - 7 lines]
>
> Dom
Stephen Lebans - 13 Feb 2006 23:52 GMT
I remember helping someone a while back extract Icons from his Image List
control. The key was to convert a StdPicture handle into a Bitmap that could
be saved to disk. Further for Icons, the control exposes an ExtractIcon
handle if I remember correctly.
If one was using VB it would be a very simple matter to produce a disk based
Bitmap or Icon file because it has a PictureBox control that accepts a
StdPicture object and this control exposes a SaveAs method. With Access the
conversion process would all have to be done via the GDI.

There is code on my site to do all of the above but it is in a couple of
different projects.

Signature

HTH
Stephen Lebans
http://www.lebans.com
Access Code, Tips and Tricks
Please respond only to the newsgroups so everyone can benefit.

> Hi,
> I also thought about this, but did not find any simple way, so I always
[quoted text clipped - 10 lines]
>>
>> Dom
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.