Skip to Content
0
May 22, 2014 at 08:01 AM

Add-on Connection

26 Views

Hi Expert

I have some problem with to load an Add-on

At my customer SB1 8.81 PL09 I load few add-on in order:

  • B1UP,
  • CoreSuite
  • ,Intrastat,
  • FixedAsset,
  • My Addon

when i start SAp Business One .All add-on are loaded Automatically.

SAP Business One stop the load of my add-on by a message (Restart add-on, Continue without add-on ,Deonnect of society) as long as B1Up isn't load totally.

have you an idea to know this problem?

To connect my Add-on i use the follow code:

Dim sConnectionString As String

SboGuiApi = New SAPbouiCOM.SboGuiApi

'// by following the steps specified above, the following

'// statment should be suficient for either development or run mode

If Environment.GetCommandLineArgs.Length > 1 Then

sConnectionString = Environment.GetCommandLineArgs(1)

Else

sConnectionString = "0030002C0030002C00530041005000420044005F00440061007400650076002C0050004C006F006D0056004900490056"

End If

'// connect to a running SBO Application

SboGuiApi.Connect(sConnectionString)

'// get an initialized application object

SBOAppli = SboGuiApi.GetApplication()

If you have a solution to resolve my problem I Buy it ( free naturally)!

Regards