on 12-09-2005 2:57 PM
I am getting the following error: Run-time error -117. This language is not supported in this version. This is returning from the setSBOLoginContext(strConn) method. I have no idea why this is happening. Any suggestions?
Dim SboGuiApi As New SAPbouiCOM.SboGuiApi
Dim sConnectionString As String
Dim strConn As String
Dim sCookie As String
Dim ret As Long
'//Connect to the GUI API Application Object
Set SboGuiApi = New SAPbouiCOM.SboGuiApi
sConnectionString = Command
'// connect to a running SBO Application
SboGuiApi.Connect sConnectionString
'// get an initialized application object
Set SBO_Application = SboGuiApi.GetApplication()
'//Single sign on to DI Api Company Object
'//Acquire the connection context cookie from the DI API.
Set vCompany = New SAPbobsCOM.Company
sCookie = vCompany.GetContextCookie
'//Retrieve the connection context string from the UI API using the 'acquired cookie.
strConn = SBO_Application.Company.GetConnectionContext(sCookie)
'// ensure company is not connected
If vCompany.Connected = True Then
vCompany.Disconnect
End If
'Set the connection context information to the DI API.
ret = vCompany.SetSboLoginContext(strConn)
Hi, ive gotten this error before.
It occurs on certain patch levels. Go into SBO to general settings->diplay and make sure your language option is NOT on Development Language. change it to english...or whatever desired language.
Let me know if this helps?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Right again. Thanks so much!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
110 | |
12 | |
11 | |
6 | |
5 | |
4 | |
4 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.