Print Page | Close Window

SOLVED: Saving Imagemanager icons during runtime

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Controls
Forum Description: Topics Related to Codejock Controls
URL: http://forum.codejock.com/forum_posts.asp?TID=14142
Printed Date: 22 November 2024 at 11:21pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: SOLVED: Saving Imagemanager icons during runtime
Posted By: Aaron
Subject: SOLVED: Saving Imagemanager icons during runtime
Date Posted: 26 April 2009 at 11:03am
Hi,
 
Is there a way to save Imagemanager icons, which are loaded during runtime, to a file?
 
Thanks in advance
 
 


-------------
Product: Xtreme SuitePro (ActiveX) version 15.0.2
Platform: Windows XP (32bit) - SP 2
Language: Visual Basic 6.0

Zero replies is not an option....



Replies:
Posted By: Oleg
Date Posted: 27 April 2009 at 1:56am

Hi,

Yes, use its DoPropExchange to save to binary or XML file.


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


Posted By: Aaron
Date Posted: 27 April 2009 at 3:39am
Hi Oleg,
 
That would be great
 
Do you have any sample code how to do this? I prefer a working sample
 
Thanks a lot in advance
 


-------------
Product: Xtreme SuitePro (ActiveX) version 15.0.2
Platform: Windows XP (32bit) - SP 2
Language: Visual Basic 6.0

Zero replies is not an option....


Posted By: Oleg
Date Posted: 28 April 2009 at 1:21am
Hi,
 
Something like
 
Dim pxWrite As PropExchange
Set pxWrite = CommandBars.GlobalSettings.CreatePropExchange

pxWrite.CreateAsXML False, "DesignerFile"
Icons.DoPropExchange pxWrite
pxWrite.SaveToFile "c:\ribbon.xml"


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


Posted By: Aaron
Date Posted: 28 April 2009 at 1:31pm
Hi Oleg
 
Thanks for sample. It works like a charm
This opens a new window with using images hehehe.
 
Thanks again
 
 
 
 


-------------
Product: Xtreme SuitePro (ActiveX) version 15.0.2
Platform: Windows XP (32bit) - SP 2
Language: Visual Basic 6.0

Zero replies is not an option....



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