hi,
So in first excuse my english. Im a french novice in strataframe.
i made a project named "hera"
in module localisation, i made en herastra and in this module, i made an message with de key "coucou"
after i generate xml in folder
"C:\Users\eric\Documents\xmlhera"
in appmain.vb module, its was the following code
Private Shared Sub InitApplication(ByVal e As InitializingApplicationEventArgs)'-- Add the main form type'-- If more than one form is added to the collection, they can be chosen by showing a "Gateway" form' and supplying the index of the form to show (At least 1 form type must be added to the collectione.Forms.Add(
GetType(hera.MENU))'-- ToDo: Add any extra application initializationMicroFour.StrataFrame.UI.Localization.MessageKeyType = MicroFour.StrataFrame.Messaging.MessageKeyDataType.XML
MicroFour.StrataFrame.UI.Localization.MessageLocaleID = MicroFour.StrataFrame.UI.Localization.GetActiveLanguage(
"hera")MicroFour.StrataFrame.UI.Localization.MessageXmlPath =
""
in my form test , i have a button and the code when cklick is :
Private
Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.ClickMe.ShowMessageByKey("coucou")End Sub
when i run this project i obtain the following error :
so in my project "solutions preference "
hi have
what is the problem ??
i test with in appmain the following code
MicroFour.StrataFrame.UI.Localization.MessageKeyType = MicroFour.StrataFrame.Messaging.MessageKeyDataType.XML
MicroFour.StrataFrame.UI.Localization.MessageLocaleID = MicroFour.StrataFrame.UI.Localization.GetActiveLanguage(
"hera")MicroFour.StrataFrame.UI.Localization.MessageXmlPath =
"C:\Users\eric\Documents\xmlhera"
and its same problem.
can you help me ?
Have you an idee ?
Thank's
Best regards
Eric LEISSLER