Skip to Content
author's profile photo Former Member
Former Member

UI 6.7 2004 - Change Language

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

Add a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on Feb 10, 2005 at 10:09 AM

    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
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.