Hello,
We are in the process of localizing our application and would like to use the WinRes.exe tool from Microsoft to allow a 3rd party to do our translation. However, the Actipro bar controls do not render in WinRes. If I load a form that has a bar manager with just a few commands created, I get the following message:
Error - The data name 'fileOpenBarButtonCommand' is invalid. Valid data names must be of the form 'Component.Property'.
Error - The data name 'newMenuNewMenuBarPopupButtonLink' is invalid. Valid data names must be of the form 'Component.Property'.
Error - The data name 'toolsOptionsBarButtonCommand' is invalid. Valid data names must be of the form 'Component.Property'.
Error - The control ActiproSoftware.UIStudio.Bar.BarDockArea has thrown an unhandled exception in the designer and has been disabled.
Exception:
Object reference not set to an instance of an object.
I noticed that the command objects do not have an entry in the .resx file that specifies their type like the other controls do. For example, the BarManager has this entry:
<data name=">>barManager1.Type" xml:space="preserve">
<value>ActiproSoftware.UIStudio.Bar.BarManager, ActiproSoftware.UIStudio.Bar.Net20, Version=2.0.93.0, Culture=neutral, PublicKeyToken=be939c973e8cb8a6</value>
</data>
which tells WinRes what type of object barManager1 is, but no such entries exist for the commands. Is there a way I can make WinRes work with the Actipro bar controls??
Thanks,
Lisa
We are in the process of localizing our application and would like to use the WinRes.exe tool from Microsoft to allow a 3rd party to do our translation. However, the Actipro bar controls do not render in WinRes. If I load a form that has a bar manager with just a few commands created, I get the following message:
Error - The data name 'fileOpenBarButtonCommand' is invalid. Valid data names must be of the form 'Component.Property'.
Error - The data name 'newMenuNewMenuBarPopupButtonLink' is invalid. Valid data names must be of the form 'Component.Property'.
Error - The data name 'toolsOptionsBarButtonCommand' is invalid. Valid data names must be of the form 'Component.Property'.
Error - The control ActiproSoftware.UIStudio.Bar.BarDockArea has thrown an unhandled exception in the designer and has been disabled.
Exception:
Object reference not set to an instance of an object.
I noticed that the command objects do not have an entry in the .resx file that specifies their type like the other controls do. For example, the BarManager has this entry:
<data name=">>barManager1.Type" xml:space="preserve">
<value>ActiproSoftware.UIStudio.Bar.BarManager, ActiproSoftware.UIStudio.Bar.Net20, Version=2.0.93.0, Culture=neutral, PublicKeyToken=be939c973e8cb8a6</value>
</data>
which tells WinRes what type of object barManager1 is, but no such entries exist for the commands. Is there a way I can make WinRes work with the Actipro bar controls??
Thanks,
Lisa