Print Page | Close Window

Software upgrade message???

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: ActiveX COM
Forum Description: Topics related to Codejock ActiveX COM products
URL: http://forum.codejock.com/forum_posts.asp?TID=14604
Printed Date: 28 April 2024 at 9:16am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Software upgrade message???
Posted By: garyhenson
Subject: Software upgrade message???
Date Posted: 23 June 2009 at 5:24pm
Upgrading our app also upgrades the CJ ActiveX COM components from 10.4.1 to 13.
 
When we load an MIDChild windows with a ribbon bar we're getting a dialog that says "Due to a software update the toolbar 'Menu' has changed. Woudl you like to reset your customized toolbar and load the new one?"
 
I believe this is coming from the CJ com component(s).
 
If NOT please let me know! I need to find the 'culprit' and deal with it, possibly 'silently' (without the dialog).
 
Can we supress thsi dialog and make the 'Yes' changes (or 'No' if that's what we decide is best) in code?
 
I believe pressing 'Yes' will remove any quick access button on the toolbar. That's ok. We just need to document this if we cannot suppress the dialog.
 
Thanks!


-------------
Software Developer
Product: Xtreme SuitePro (ActiveX) version 13.0
Platform: Windows XP (32bit) - SP 3
Language: Visual Basic 6.0



Replies:
Posted By: SuperMario
Date Posted: 23 June 2009 at 5:40pm
Look at "StateOptions" object in the help file, it has a page of example code.  You use this when you load your commandbars layout.


Posted By: garyhenson
Date Posted: 23 June 2009 at 6:10pm
OK. The sample code looks like its valid when saving to /loading from an XML string.
I use CB.SaveCommandBars to save CB settings to the registry and CB.LoadCommandBars to save/load CB setting to the registry.
Will creating a StateOptions object from the CB on my form and then setting CB.StateOptions.LoadSilent to TRUE surpress the messagebox?
Seems like it shoudl be the same idea ;-)
 


-------------
Software Developer
Product: Xtreme SuitePro (ActiveX) version 13.0
Platform: Windows XP (32bit) - SP 3
Language: Visual Basic 6.0



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