Print Page | Close Window

using ImageManager icon as form icon

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Command Bars
Forum Description: Topics Related to Codejock Command Bars
URL: http://forum.codejock.com/forum_posts.asp?TID=8485
Printed Date: 18 June 2025 at 7:33pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: using ImageManager icon as form icon
Posted By: nighthawk
Subject: using ImageManager icon as form icon
Date Posted: 21 October 2007 at 10:07pm
I want to use icons stored in my ImageManager control and set them to be used in the Icon property of other controls such as the standard VB form.  However, the form.Icon property requires an image of type "IPictureDisp".  The only image type I seem to be able to get out of the ImageManager is a "StdPicture". 

So, how do I set my form icon to use an icon from the ImageManager control?  Right now I have to store the icon in a Microsoft ImageList control in order to get an image of type "IPictureDisp".



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.04 - http://www.webwizforums.com
Copyright ©2001-2021 Web Wiz Ltd. - https://www.webwiz.net