Thanks Larry.
Ivan,
Thanks for the suggestion, however my problem turned out to be self inflicted (as usual ). The solution I’m working on is broken up into three projects; a BO library, Windows Forms, and Active Reports. I originally placed the localization files in the Windows Forms project. Moving them to the BO project resolved the problem. I’m assuming that the weird result I was getting was due to the fact that the BO project doesn’t reference the Windows Forms project and therefore the localization files weren’t visible to the business objects. Since the Windows Forms project references the BO project, placing the files there made them visible to both projects. I’m not clear on why that caused the Role Based Security messages to vanish, but right now I’m too tired to worry about it.
By the way, I saw the main form that you designed and posted. Looks good
-Larry
MicroFour.StrataFrame.UI.Localization.MessageLocaleID = MicroFour.StrataFrame.UI.Localization.GetActiveLanguage(
MicroFour.StrataFrame.UI.Localization.RegisterEmbeddedXmlFile(Reflection.Assembly.GetExecutingAssembly(),
And then all was fine.
So, I might can see where you would be getting just the security localized messages and not your own messages, but not the other way around... you might try hard-coding your LocaleID and see what happens.
MicroFour.StrataFrame.UI.Localization.MessageLocaleID = 1033;
I’ve just started using the Localization feature so I’m probably missing something, but here’s my problem. My localization project works fine in SQL or external XML mode, but when I try to use Embedded XML files I loose the messages for Role Based Security. I know that Role Based Security is using embedded files and also contains a Messages_1033.XML file. How do I embed my projects files without messing up Role based Security?