Hi,
I use this code to "see" when the user changes language:
Private Sub SBO_Application_AppEvent(ByVal EventType As SAPbouiCOM.BoAppEventTypes) Handles SBO_Application.AppEvent
Select Case EventType
Case SAPbouiCOM.BoAppEventTypes.aet_LanguageChanged
MsgBox(oCompany.language.ToString)
...
End Select
but,
MsgBox(oCompany.language.ToString) always shows the same language.
Do someone has the same problem? Or, may someone try this code?
Thanks,
Ribeiro Santos
Hi Ribeiro,
You may use SBO_Application.Language also.
I'm not 100% sure, but the company language is only set when you connect while the Application languageis set when you change the language when you connect or when you set a change it.
Sebastien
Add a comment