SBO 2004 and ActiveX

I heard, that SBO 2004 now supports ActiveX at the UI API. Where can I find an ActiveX sample ? We want to use ActiveX forms, instead of only a control, by this way we will want to be able to use .Net components directly via a WinForm as ActiveX form in a SBO UI form.
I have also read about .Net connectors. Are they available in SBO 2004 ?
Greetz
Kristian

Here is a link in the forums "SAP Business ONE" where they talk about this:
SBO 2004
Perhaps posting your message there will give you a better response.
Message was edited by: Craig Cmehil

Similar Messages

  • DI API  6.5 to SBO 2004 and SBO 2005

    Can a custom software, say built in VB, that uses the DI API (v.6.5) that works with SB1 2004 be deployed in SB1 2005 and SB1 2007?

    Hi Rodney,
    Yes, the software can work, but should be tested because in 2005/2007 more events are available for example before form load is available starting in 2005.
    Regards
    Ad

  • SBO 2004 and column custom

    Hi all, i have a question:
    in SBO2004, when i add the new column in the system matrix, the custom column is put like last column.
    Can I Change the order of the columns?
    Thank's
    Best regards
    Serema

    Hi Serema,
    You can change the order of the columns in SAP Business One - unfortunately not yet via DI API...
    Maybe this feature will be exposed in DI API in the course of the next time.
    Regards,
    Frank

  • SBO 2004

    Hi all:
    I have just recieved the version SBO 2004, and in reference of the UI, I want to know when they will be available the tree control and Hierarchical's tables, because I need this structure to  make a project.
    Thanksssssss

    Heard too, that B1 2004 supports ActiveX using B1 UI forms. How to use ActiveX component on a form ? Is it possible to host an ActiveX form on a B1 UI form ?
    The idea is, the component palatte from B1 is not that rich and the UI components (for example Matrix) are not that smart. We want to make an ActiveX form and place the whole ActiveX form on the UI form of B1. By this way, we still using B1 forms with their layout and keeping the MDI child order, instead of using a normal WinForm, which will be hidden from the B1 client, when activating it and loosing the Z-order of the MDI.

  • SBO 2004 Installation

    Hello All,
    Can I install SBO 2004 and 6.5 in one system?
    John

    yes, if you go to the service marketplace and search SAP Notes for #765303 or you can search under the Application Area SBO-BC.
    Craig.

  • SBO 2004 & Framework 2.0

    Hi,
    My environment of development is SBO 2004, and .net 2005.
    Any body knows if there are any problem working in this scenario?
    Thanks

    Hector,
    There are no problems that I am aware of.  Are you experiancing any?
    Eddy

  • Can I install SBO 2005 and 2004 in the same OS(Win XP)

    Hi, there
    Can I install SBO 2005 and 2004 in the same OS(Win XP)?
    Thanks for any help.
    Lanjun

    Hi Lanjun,
    I know you can install both of them together on one computer. I had a document specifying the steps, but cannot find it now. The problem is that you cannot create a new 2004 company or upgrade your 2004 version.
    I will look for the document and let you know.
    Adele

  • Rightclick and context menu functionality in SBO 2004

    hi guys...
    how to capture the right click event and the context menu event. I have seen the right click example in the SBO 2005 examples but how to get that functionality in SBO 2004, there r no SAPbouiCOM.ContextMenuInfo and SBO_Application.RightClickEvent
    thanx in advance..
    regards,
    Vasu..

    Hi,
    I don't think you can achieve this in the 2004 version as it was an entirely new feature in the 2005A SDK.
    Regards,
    Owen

  • Need Help with Crystal viewer and ActiveX

    Hi !!
    I have a problem that i cant seem to be able to solve. I had alot of help from the forum but i think i got everything mixtup now...
    From my addon i can print with CrystalReport Viewer or i cant print a Crystal report directly to my default printer, so thats good and working well. The problem is with Crystal Viewer that drags on the SBO screen and stays on the task bar.
    It is strongly recommended to use an Activex to display my Crystal Viewer report. I tried so many differrent ways allways ending up with class id errors, or private class errors.
    My report is called c:\report.rpt
    My Working CrystalViewer form is called 'frmCRV'
    Can some one help me thru this last step...  I tried with the Activex sample in SDK but i think i dont have to use the Tree function ??? am i right ??
    I'm running on SBO 2005 SP1 PL3
    Crystal Report .net V10 and .net for code.
    Thanks you all for your patience.

    Hi Again !
    I can now open a form with an Activex part but i cant pass my CrystalViewer in it. Always says specified cast not valid.
    Thanks

  • [BUG] deploytk.dll file and activex control is NOT uninstalled

    deploytk.dll file and activex control is NOT uninstalled, when you uninstall the latest JRE.
    I have uninstalled the latest JRE, but the file deploytk.dll is still present in c:\windows\system32\ and the related activex control deploytk.dll 6.0.190.4 is loaded in IE8. Please fix this bug.
    Windows Vista SP2

    Unfortunately, it was *all* of my ActiveX controls that wouldn't load. That said, A user of the Info-LabVIEW list came up with the answer: reinstall the RunTime engine - wierd....
    thanks,
    Christopher
    Copyright © 2004-2015 Christopher G. Relf. Some Rights Reserved. This posting is licensed under a Creative Commons Attribution 2.5 License.

  • Version incompatibility issue with Interop.SAPbobsCOM.dll in SBO 2004

    Hi,
    I have encountered an incompatibility issue in DI API 2004 across different patch level-versions. Originally, I developed an application in SBO 2004 pl4 environment. Now, some of the customers who were installing the application, notified me that the application has a login problem. It turned out that the CompanyClass.connect() method returns an error message "object reference not set to an instance of an object", when the DI API version installed in the production environment is higher (in this case, pl7) than the DI API version which was used in the development environment.
    I figured out that the problem can be fixed by replacing the Interop.SAPbobsCOM.dll file in the application directory by a newer version that reflects the DI API that is installed in the system. However, it seems a rather lousy workaround, if the customer needs to manually replace the dll. Maybe the installer could be customized to "sniff" the correct DI API level, but this too would be a pretty kludgy solution.
    Does anyone know a better solution to this problem ?
    Regards,
    Henry

    normally this is not a problem as long as they don't change the signatures on the DI-API (which they said they wouldn't) but it appears in P5 they changed that signature... we noticed some enums that got added and a few minor changes.

  • How can I get license info using SBO 2004

    Hi, everyone
    I know there is a License API available in SBO 2005, but I'd like to detect the user license number etc. in SBO 2004, who  has experience about get license info in SBO 2004, please share your method.
    Thanks in advance!

    Hi Alexey,
    Thanks for your reply; actually I want to get the user buy SAP License Number, in other word I want to get the maximum count of user using SAP in the same time.
    I can see the license directory, do you know which file and entry point that I can get the license number.
    and also if my add-on does not run in the machine that license server running, I think may be there is none license directory in the machine which does not install server tools, if this is true, do I need use other way to get the SAP license info?
    Thanks again Alexey!

  • AddOnRegDataGen.exe of version 2004 and 2005

    Dear Experts/Gurus,
    Are there any differences between AddOnRegDataGen.exe of version 2004 and 2005 especially for add-on developed
    by partner or customer ? if yes, what should I do to my add-on ? I just did the following steps:
    1. Recompile the add-on after put identifier string generated using add-on identifier generator in SBO 2005A
    2. Creating registration file using AddOnRegDataGen.exe of version 2005 after created installer
    3. Regiter the add-on using add-on administration
    Did I miss something beside the above steps ? because the add-on can not run in the SBO 2005. The add-on is developed using SDK SBO 2004A. I appreciate your answers. TIA
    Rgds,

    Hi Steve,
    Some new fields were added between versions 2004 and 2005. But if you open the AddOnRegDataGen.exe window you will be able to see if something is not filled in your addon.
    Where are you having problems? While installing or when trying to run your addon? What is the error message?
    The steps you did are right:
    1. Recompile addon with 2005 references
    2. Create installer.exe
    3. Create .ard
    4. Register addon in B1
    AddOnInstallAPI.dll has also changed between 2004 and 2005 versions. It should work without any changes but you better change your installer to avoid problems in following versions.
    Are you using B1DE to generate your installer? You can download B1DE tools from B1 main page, SDK tools page.
    Hope it helps
    Trinidad.

  • I have problem to register add-ons to SBO 2004

    -. I am using sample HELLO WORLD providing for SDK 2004.
    -. I build the installer using packager default of Visual Basic 6.0.
    -. i builf file .ard
    -. when i register the add-on and restart SBO 2004, the system show the message error:
    "Command Line arguments..."
    Someone, have a procedure step by step to register add-ons to SBO?
    thanks

    You need to declare this functions from the SBOAddonReg.dll.
    I got this code from SAP, hope this works, it's VB .NET
    Also: To use the license key I go to Project/Project properties/Configuration properties/Command line arguments
    and I copy the license to this field, and it works.
    Did you try from command line something like this?
    c:\project.exe license_key
    2) Code for a useful application
    contact me, if you don't understand the example:
    [email protected]
    Option Strict Off
    Option Explicit On
    Friend Class Form1
         Inherits System.Windows.Forms.Form
    #Region "Windows Form Designer generated code "
         Public Sub New()
              MyBase.New()
              If m_vb6FormDefInstance Is Nothing Then
                   If m_InitializingDefInstance Then
                        m_vb6FormDefInstance = Me
                   Else
                        Try
                             'For the start-up form, the first instance created is the default instance.
                             If System.Reflection.Assembly.GetExecutingAssembly.EntryPoint.DeclaringType Is Me.GetType Then
                                  m_vb6FormDefInstance = Me
                             End If
                        Catch
                        End Try
                   End If
              End If
              'This call is required by the Windows Form Designer.
              InitializeComponent()
         End Sub
         'Form overrides dispose to clean up the component list.
         Protected Overloads Overrides Sub Dispose(ByVal Disposing As Boolean)
              If Disposing Then
                   If Not components Is Nothing Then
                        components.Dispose()
                   End If
              End If
              MyBase.Dispose(Disposing)
         End Sub
         'Required by the Windows Form Designer
         Private components As System.ComponentModel.IContainer
         Public ToolTip1 As System.Windows.Forms.ToolTip
         Public WithEvents CmdUnReg As System.Windows.Forms.Button
         Public WithEvents CmdReg As System.Windows.Forms.Button
         Public WithEvents CmdExit As System.Windows.Forms.Button
         Public WithEvents CmdAddOnStr As System.Windows.Forms.Button
         'NOTE: The following procedure is required by the Windows Form Designer
         'It can be modified using the Windows Form Designer.
         'Do not modify it using the code editor.
         <System.Diagnostics.DebuggerStepThrough()> Private Sub InitializeComponent()
            Me.components = New System.ComponentModel.Container
            Me.ToolTip1 = New System.Windows.Forms.ToolTip(Me.components)
            Me.CmdUnReg = New System.Windows.Forms.Button
            Me.CmdReg = New System.Windows.Forms.Button
            Me.CmdExit = New System.Windows.Forms.Button
            Me.CmdAddOnStr = New System.Windows.Forms.Button
            Me.SuspendLayout()
            'CmdUnReg
            Me.CmdUnReg.BackColor = System.Drawing.SystemColors.Control
            Me.CmdUnReg.Cursor = System.Windows.Forms.Cursors.Default
            Me.CmdUnReg.Font = New System.Drawing.Font("Arial", 8.0!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(0, Byte))
            Me.CmdUnReg.ForeColor = System.Drawing.SystemColors.ControlText
            Me.CmdUnReg.Location = New System.Drawing.Point(24, 112)
            Me.CmdUnReg.Name = "CmdUnReg"
            Me.CmdUnReg.RightToLeft = System.Windows.Forms.RightToLeft.No
            Me.CmdUnReg.Size = New System.Drawing.Size(153, 25)
            Me.CmdUnReg.TabIndex = 3
            Me.CmdUnReg.Text = "UnRegister"
            'CmdReg
            Me.CmdReg.BackColor = System.Drawing.SystemColors.Control
            Me.CmdReg.Cursor = System.Windows.Forms.Cursors.Default
            Me.CmdReg.Font = New System.Drawing.Font("Arial", 8.0!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(0, Byte))
            Me.CmdReg.ForeColor = System.Drawing.SystemColors.ControlText
            Me.CmdReg.Location = New System.Drawing.Point(24, 64)
            Me.CmdReg.Name = "CmdReg"
            Me.CmdReg.RightToLeft = System.Windows.Forms.RightToLeft.No
            Me.CmdReg.Size = New System.Drawing.Size(153, 25)
            Me.CmdReg.TabIndex = 2
            Me.CmdReg.Text = "Register"
            'CmdExit
            Me.CmdExit.BackColor = System.Drawing.SystemColors.Control
            Me.CmdExit.Cursor = System.Windows.Forms.Cursors.Default
            Me.CmdExit.Font = New System.Drawing.Font("Arial", 8.0!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(0, Byte))
            Me.CmdExit.ForeColor = System.Drawing.SystemColors.ControlText
            Me.CmdExit.Location = New System.Drawing.Point(24, 160)
            Me.CmdExit.Name = "CmdExit"
            Me.CmdExit.RightToLeft = System.Windows.Forms.RightToLeft.No
            Me.CmdExit.Size = New System.Drawing.Size(153, 25)
            Me.CmdExit.TabIndex = 1
            Me.CmdExit.Text = "Exit"
            'CmdAddOnStr
            Me.CmdAddOnStr.BackColor = System.Drawing.SystemColors.Control
            Me.CmdAddOnStr.Cursor = System.Windows.Forms.Cursors.Default
            Me.CmdAddOnStr.Font = New System.Drawing.Font("Arial", 8.0!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(0, Byte))
            Me.CmdAddOnStr.ForeColor = System.Drawing.SystemColors.ControlText
            Me.CmdAddOnStr.Location = New System.Drawing.Point(24, 16)
            Me.CmdAddOnStr.Name = "CmdAddOnStr"
            Me.CmdAddOnStr.RightToLeft = System.Windows.Forms.RightToLeft.No
            Me.CmdAddOnStr.Size = New System.Drawing.Size(153, 25)
            Me.CmdAddOnStr.TabIndex = 0
            Me.CmdAddOnStr.Text = "Create AddOn String As File"
            'Form1
            Me.AutoScaleBaseSize = New System.Drawing.Size(5, 13)
            Me.BackColor = System.Drawing.SystemColors.Control
            Me.ClientSize = New System.Drawing.Size(202, 206)
            Me.Controls.Add(Me.CmdUnReg)
            Me.Controls.Add(Me.CmdReg)
            Me.Controls.Add(Me.CmdExit)
            Me.Controls.Add(Me.CmdAddOnStr)
            Me.Cursor = System.Windows.Forms.Cursors.Default
            Me.Font = New System.Drawing.Font("Arial", 8.0!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(0, Byte))
            Me.Location = New System.Drawing.Point(4, 23)
            Me.Name = "Form1"
            Me.RightToLeft = System.Windows.Forms.RightToLeft.No
            Me.Text = "Form1"
            Me.ResumeLayout(False)
        End Sub
    #End Region
    #Region "Upgrade Support "
         Private Shared m_vb6FormDefInstance As Form1
         Private Shared m_InitializingDefInstance As Boolean
         Public Shared Property DefInstance() As Form1
              Get
                   If m_vb6FormDefInstance Is Nothing OrElse m_vb6FormDefInstance.IsDisposed Then
                        m_InitializingDefInstance = True
                        m_vb6FormDefInstance = New Form1()
                        m_InitializingDefInstance = False
                   End If
                   DefInstance = m_vb6FormDefInstance
              End Get
              Set
                   m_vb6FormDefInstance = Value
              End Set
         End Property
    #End Region
         'long GetInstallPath(const char *installDataFile,char *outStr,long len);
        Private Declare Function GetInstallPath Lib "SBOAddonReg.dll" (ByVal installDataFile As String, ByVal outStr As String, ByRef lLen As Integer) As Integer
         'BOOL RegisterAddOn(void);
        Private Declare Function RegisterAddOn Lib "SBOAddonReg.dll" () As Boolean
         'BOOL UnRegisterAddOn(const TCHAR *installDataFile);
        Private Declare Function UnRegisterAddOn Lib "SBOAddonReg.dll" (ByVal installDataFile As String) As Boolean
         Private g_sInstallPath As String
         Private g_sInstallFullPath As String
         Private g_sPreviousDir As String
         Private g_sAddOnExeName As String
         Private Sub CmdAddOnStr_Click(ByVal eventSender As System.Object, ByVal eventArgs As System.EventArgs) Handles CmdAddOnStr.Click
              Shell(VB6.GetPath & "\AddOnRegDataGen.exe", AppWinStyle.NormalFocus)
              CmdReg.Enabled = True
         End Sub
         Private Sub CmdExit_Click(ByVal eventSender As System.Object, ByVal eventArgs As System.EventArgs) Handles CmdExit.Click
              End
         End Sub
         Private Sub CmdReg_Click(ByVal eventSender As System.Object, ByVal eventArgs As System.EventArgs) Handles CmdReg.Click
              Dim sPath As String
              Dim lLen As Integer
              Dim InstallStrFile As String
              sPath = Space(1024)
              'Getting the sPath where I have to install the addon exe
            InstallStrFile = VB6.GetPath & "\SBOAddOnRegData.sld"
              lLen = GetInstallPath(InstallStrFile, sPath, Len(sPath))
              'Coping the addon exe into the path location I got
              MsgBox("Please copy your Addon exe file into: " & Trim(sPath))
              'Writing to the registry
              If RegisterAddOn = 1 Then
                   MsgBox("AddOn Was Registered Successfully")
                   CmdUnReg.Enabled = True
              Else
                   MsgBox("Failed To Register AddOn")
              End If
         End Sub
         Private Sub CmdUnReg_Click(ByVal eventSender As System.Object, ByVal eventArgs As System.EventArgs) Handles CmdUnReg.Click
              Dim InstallStrFile As String
            InstallStrFile = VB6.GetPath & "\SBOAddOnRegData.sld"
              If UnRegisterAddOn(InstallStrFile) = 1 Then
                   MsgBox("AddOn Was UnRegistered Successfully")
              Else
                   MsgBox("Failed To UnRegister AddOn")
              End If
         End Sub
    End Class

  • How many Licenses in SBO 2004 of trial version?

    hi all~
    How many Licenses in SBO 2004 of trial version?
    And when client access to server, License manager get the ID of window?

    1 full license.
    as for license server check sbo licensing doc downloadable from this site

Maybe you are looking for

  • ArchiveLink - Archiveserver

    Hi, i would like to test the sap-archivelink interface. now i must define an rfc-destination (sm59). the destination needs a program-id (archiveserver-rfc-program). could I test the archivelink-interface without any archiveserver, if yes, how? or cou

  • HFR Template issue

    Hi , I am trying to create a row and a column template out of a report but when I am trying to save the very first column containing only the dimensions, to save as a row template, its giving error. The same is the case when I am selecting the very f

  • Combining 2 graphics

    Hello, I have a logo of sorts that I am trying to put 2 pieces together.   The line shows where I have joined them. Can someone help a beginner with this? When I select the 2 pieces,  it will not let me join the paths. (Join does not light up). I hav

  • Using bar graph

    Hello, Using obiee 11g, I have a bar graph where i have put default height and weight. Now the problem is i have my x axis based on a prompt because of which i can have my width bit dynamic. My x axis is username Whenever it takes more values i have

  • Temporary system wide freezes

    I have a newish Mac Pro that has suddenly started freezing in a very strange way that I've never experienced in Mac's OS. Usually when a program freezes, other programs are responsive including the finder and it's lovely force quit command. In this c