Print Page | Close Window

Load Ico/Png from external DLL

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=17912
Printed Date: 06 October 2024 at 2:26am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Load Ico/Png from external DLL
Posted By: cliv66
Subject: Load Ico/Png from external DLL
Date Posted: 18 February 2011 at 3:01am
Hi..

I never develop using Codejock ActiveX until now (i'm using Studio control from DBi tech) ...but i indend to work with Codejock..
I download trial and i try to create a ribbon bar..but i need to load ico/png from an external dll resource...and i do not know how to do this....(i'm using VB6 SP6)

I found a class cResource here:
https://forum.codejock.com/forum_posts.asp?TID=9901&KW=

...but i'm not catch how to using this...

PLEASE SOMEONE POST A CODE SAMPLE IN VB6

THANK YOU





Replies:
Posted By: Oleg
Date Posted: 18 February 2011 at 7:26am
Just

CommandBars.Icons.LoadBitmapFromResource
or
CommandBars.Icons.LoadIconFromResource


-------------
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS


Posted By: cliv
Date Posted: 18 February 2011 at 4:10pm
Thank you for your quick answer....but here what i need to do...:

1. I want to create an resource dll file where i want to load separate ico or separate png (individual ico not one picture containing collection of  image)
2. Load ico/png from external dll (eventualy in image manager)
3. Create ribbon and use this ico/png

How can i do that..????

Can you post a little sample in vb6.
Thank you



Posted By: cliv66
Date Posted: 21 February 2011 at 2:41am
can you post a sample using
CommandBars.Icons.LoadIconFromResource

Thank you


Posted By: cliv
Date Posted: 07 March 2011 at 6:30am
I realized...
Thank you ....



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