LoadDesignerBars not work |
Post Reply |
Author | |
maza23
Newbie Joined: 18 November 2008 Status: Offline Points: 9 |
Post Options
Thanks(0)
Posted: 20 November 2008 at 8:16am |
Hi, I'm getting an exception when I try to call the LoadDesignerBars function:
CommandBars1.LoadDesignerBars "xxx\ribbon.xcb" I'm using the lastest version of CommandBars (12.1), in a previous version I had no problems when I called it What should I do? Thx |
|
Oleg
Admin Group Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
|
Hi. Do you have 12.1 beta or final release ? Beta had this problem.
|
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
maza23
Newbie Joined: 18 November 2008 Status: Offline Points: 9 |
Post Options
Thanks(0)
|
Xtreme SuitePro ActiveX 2008 Vol 1 (12.1.0) (30 Day Trial)
|
|
maza23
Newbie Joined: 18 November 2008 Status: Offline Points: 9 |
Post Options
Thanks(0)
|
On VB.NET when I call this form, it says me:
Overload resolution failed because no accessible 'LoadDesignerBars' accepts this number of arguments. What should I pass as 2nd argument? |
|
SuperMario
Admin Group Joined: 14 February 2004 Status: Offline Points: 18057 |
Post Options
Thanks(0)
|
Hi,
Just create new application, add commandbars, add
AxCommandBars1.LoadDesignerBars("C:\visio.xcb", Nothing) line and it works.
|
|
maza23
Newbie Joined: 18 November 2008 Status: Offline Points: 9 |
Post Options
Thanks(0)
|
I did that and...
"Attempted to read or write protected memory. This is often an indication that other memory is corrupt." It throws that exception |
|
Oleg
Admin Group Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
|
Hello, Can you attach this xcb file ?
|
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
Oleg
Admin Group Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
|
Hi,
Please as workaround add
CommandBars1.VisualTheme = xtpThemeRibbon
CommandBars1.DeleteAll before you load designer bar.
|
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
maza23
Newbie Joined: 18 November 2008 Status: Offline Points: 9 |
Post Options
Thanks(0)
|
It works!
Thank you very much! |
|
Post Reply | |
Tweet
|
Forum Jump | Forum Permissions You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |