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

Similar Messages

  • TS1646 hello  I have problem with regist my visa and I cannot buy from store the message came in the end of form is says the phone number must be a 7-digit number and I have writed but not accepted iam from saudi arabia my mobile is 966504850992 pls answe

    hello 
    I have problem with regist my visa and I cannot buy from store
    the message came in the end of form is says
    the phone number must be a 7-digit number
    and I have writed but not accepted
    iam from saudi arabia
    my mobile is 966504850992
    pls answer
    thanks
    dfr aldossary

    Wow, Karan Taneja, you've just embarrassed yourself on a worldwide support forum.  Not only is your post ridiculous and completely inappropriate for a technical support forum, but it also shows your ignorance as to whom you think the audience is.  Apple is not here.  It's users, like you. 
    If you would have spent half the time actually reading the Terms of Use of this forum that YOU agreed to by signing up to post, as you did composing that usesless, inappropriate post, you (and the rest of us on this forum) would have been much better off.

  • After updating to Firefox 4, I have lost 4 plugins/add ons due to their NOT being compatible. I can no longer play my bejewelled game. Please help me here. Can I get Firefx 3.6 back? Will that help me?

    Firefox 3.6 allowed me to play games, Firefox 4 upgrade doesn't.Question
    After updating to Firefox 4, I have lost 4 plugins/add ons due to their NOT being compatible. I can no longer play my bejewelled game. Please help me here. Can I get Firefx 3.6 back? Will that help me?

    http://support.mozilla.com/en-US/kb/Installing+a+previous+version+of+Firefox
    http://www.mozilla.com/en-US/firefox/all-older.html

  • I have problem with this add-one "down them all" , Recently it doesn't show me Size of files !!

    I have problem with this add-one "down them all" , Recently it doesn't show me Size of files !!
    also regular download doesn't show my any thing !! and I can not even resume my files ....
    i know these are direct links and i should be able to resume my downloads any time ( i have this option before )

    If an extension isn't working properly then you need to take this up with its developer.
    *http://www.downthemall.net/

  • I have installed about 35 add-ons in my firefox 4 , and it got very slow in brosing sites like facebook and youtube and others..always at scrolling through the page or clicking on buttons...etc

    i have installed about 35 add-ons in my firefox 4 , and it got very slow in browsing sites like facebook and youtube and others. at scrolling through the page or clicking on buttons...etc
    this is nit occuring in google chrome in the same degree

    http://support.mozilla.com/en-US/kb/troubleshooting+extensions+and+themes

  • I have a few important add-ons that will not work, yet, with Firefox 4. How easy is it for me to downgrade to 3.6 temporarily until these issues have been resolved?

    I really need to downgrade to the previos Firefox version just until a couple of add-ons have been upgraded. How easily can I do this without losing my current settings?

    There is no guarantee that the add-ons that currently do not work with Firefox 4 will ever be updated, they may have been discontinued.
    To downgrade to Firefox 3.6 first uninstall Firefox 4, but do not select the option to "Remove my Firefox personal data". If you select that option it will delete your bookmarks, passwords and other user data.
    You can then install the latest version of Firefox 3.6 available from http://www.mozilla.com/en-US/firefox/all-older.html - it will automatically use your current bookmarks, passwords etc.
    To avoid possible problems with downgrading, I recommend going to your profile folder and deleting the following files if they exist - extensions.cache, extensions.rdf, extensions.ini, extensions.sqlite and localstore.rdf. Deleting these files will force Firefox to rebuild the list of installed extensions, checking their compatibility, and reset toolbar customizations.
    For details of how to find your profile folder see https://support.mozilla.com/kb/Profiles

  • Why have many of my add-ons and extensions been disabled after switching to firefox 6

    Many of my add-ons and extensions have been disabled after switching to Firefox 6.
    None of the Java extensions can be used;
    my Microsoft frame is disabled;
    my media player is gone;
    and my google toolbar with all of my important bookmarks is missing.
    How can Firefox 6 be considered an "upgrade"?
    How can I '''retrieve Firefox 4 or 5'?''--there's no point in using a browser that limits so many necessary add-on sites!

    Hi, mhaoo7--
    Tried your plugins updating suggestion; no go.
    Then tried updating to FF7.
    This time the Yahoo! toolbar was no longer compatible with FF.
    Scoured sites discussing problems with versions 6 & 7
    and decided to retire to version 3.6.19.
    Now both Google and Yahoo! toolbars are re-installed and
    working....Only deficit may be that FF no longer supports or
    soon will not support this version.
    I have stashed all of my necessary bookmarks on Google's toolbar;
    I like its drop-down menu as it doesn't change the page/window I'm
    in the process of using;
    I don't want to see that menu listed separately in a new window (too chaotic).
    Same for the Google dictionary and Thesaurus, which are straightforward
    and easy to use, again requiring nothing more complicated than a drop-down menu
    to search for words and concepts.
    --I checked Firefox 6 and 7's Dictionary/Thesaurus options but unfortunately
    found none.
    So if Firefox continues to upgrade with diminished returns, I'll likely have to go
    to Google Chrome.
    Would rather not do that.
    Maybe I can keep FF 3.6.19 without incurring nasty repercussions.
    Hope so.
    Have enjoyed being with Firefox for a few years.
    Thank you for your attention.
    marlem388

  • Problems with Dreamweaver Add-ons being installed in Adobe CC 2014 - OSX 10.9.5?

    I have tried to install two add-ons (Photo Gallery for DW and Adv CSS Menu Light) for Dreamweaver CC 2014, but I receive an error notification, stating that they are incompatible with installed Adobe applications.  Both of these add-ons state that they are compatible with Adobe CC 2014, which is what is installed.  I am logged in with an administrator account.  File Sync is turned on.  I have Adobe CC Desktop App 1.9.1.474 which appears to be the latest version.  This is on a iMac 27" Mid 2011 running OSX 10.9.5.  All available system updates have been applied.  I have tried uninstalling and reinstalling the add-ons several times with the same result, on seven different computers of the same build/image.  This is in a classroom environment.  Any recommendations on additional things to try?  Any help is much appreciated!

    More info:  I tried using the Extension Manager CC to get these extensions installed and they each failed out.  One stating that the extension required version 8 or greater of Dreamweaver and the other version 9 or greater.  It would seem to me that, for some reason, either Adobe or the system is not reading the version information correctly of Dreamweaver 2014 which is installed on these workstations.

  • I have been adding data to my prepaid phone but Verizon is telling me it is unable to process. Why not? I have a list of add ons but I don't have them on my phone. Now I can't use my phone because they won't add to my phone. What do I need to do?

    Why is Verizon not adding my data add ons when I sign in and try to use the service? I have been adding on since early November and I had to get another refill card. I don't have any data on my prepaid phone. Where is my data? I can't use my prepaid. I need help.

        2BNatural,
    I am so sorry to hear of the issues you are having with adding data. We definitely want you to be able to have access to your data added. I apologize as we are unable to access prepaid accounts. Please reach out to our prepaid department at 888-294-6804 for further assistance.
    LindseyT_VZW
    Follow us on Twitter @VZWSupport

  • My video keeps freezing and I want to know how to fix this problem or which add-ons / plugins need to be installed for improved performance of my video player

    I often like watching videos and movies, current affairs, clips on you tube nine msn, yahoo and other sites and my video player or movie freezes for short and long periods and sometimes doesn't start at all. I don't have much experience with add on's or plugins but have been told this may be the problem, I have tried disabling add on's leaving shock wave flash player 11.7.700.224, adobe acrobat PDF plug in, silver light plug in 5.1.20125.0, java deployment toolkit 7.0.210.11 10.21.2.11 and java (TM) platform SE 7 U21 10.21.2.11. as well as leaving all add on's and plug ins run but it still doesn't fix the freezing problem please help or advise what are best options for peak performance of videos, clips and movies. Thanks

    You can check for problems with current Flash plugin versions and try these:
    *disable a possible RealPlayer Browser Record Plugin extension for Firefox and update the RealPlayer if installed
    *disable protected mode in the Flash plugin (Flash 11.3+ on Windows Vista and later)
    *disable hardware acceleration in the Flash plugin
    *http://kb.mozillazine.org/Flash#Troubleshooting
    *http://helpx.adobe.com/flash-player/kb/flash-player-113-crash-mozilla.html
    Try to disable hardware acceleration in Firefox.
    *Tools > Options > Advanced > General > Browsing: "Use hardware acceleration when available"
    *https://support.mozilla.org/kb/Troubleshooting+extensions+and+themes
    *https://hacks.mozilla.org/2010/09/hardware-acceleration/
    Boot the computer in Windows Safe mode with network support (press F8 on the boot screen) as a test to see if that helps.

  • I am trying to set my Persona back to the Firefox default. I have followed the instructions and have gone to Tools-Add Ons-Themes but there is no selection for Default for Firefox. I've spent over an hour on this. Please help. Thanks!

    I want to remove the Persona I selected and return to the Firefox default. I have outlined the issue above. I have followed the instructions in the FAQ's. There is no selection for Default for Firefox.

    Do you see that persona on the Firefox/Tools > Add-ons > Appearance/Themes page?
    Does that persona have an uninstall button?
    If that doesn't help the reset the lightweightThemes on the <b>about:config</b> page
    lightweightThemes.isThemeSelected -> false
    lightweightThemes.usedThemes -> (empty string)
    To open the <i>about:config</i> page, type <b>about:config</b> in the location (address) bar and press the "<i>Enter</i>" key, just like you type the url of a website to open a website.<br />
    If you see a warning then you can confirm that you want to access that page.<br />
    You can use the Filter bar at to top of the about:config page to locate a pref more easily.

  • Problem loading the Add-ons and other personalization pages

    Whenever I try to bring up Firefox's "Add-ons" or "Personas" webpage I keep getting this error message: "The connection was interrupted" "The connection to addons.mozilla.org was interrupted while the page was loading." I am running the lastest version of Firefox. Anyone having this problem?
    == URL of affected sites ==
    http://addons.mozilla.org

    The result I received from using the first url was:
    "The connection was reset. The connection to the server was reset while the page was loading."
    The result I received using the second url the page loading, but without any formatting or background, it just didn't load correctly. When I refreshed the url to see if that would correct the page I received the same error message listed above.

  • Registering Add-ons on 6.5

    Has someone installed an add-on on 6.5?
    Has someone followed the procedure explained in the help file?
    How do you start the add-on automatically when the user start SAP BO?

    Add-ons are started automatically by SAP Business One Client when a registry key exists in "HKEY_LOCAL_MACHINE\SOFTWARE\SAP\SAP Manage\AddOns" for the add-on, and the add-on software is located in the appropriate directory.
    This registry key should be created by your add-on installer (ie. setup.exe for your own add-on) by means of calling the functions in the SBOAddonReg.dll as documented in the help file.
    The SBOAddonReg.dll function GetInstallPath tells you where to put your add-on executable, and the function RegisterAddOn will create the registry key.
    John

  • Problems withvideo ripping add ons both Dowloader Helper and RealPlayer Ripping do not work with current version of Mozilla, what can be done?

    None of the video ripping add ons work anymore with the current version of Mozilla, neither do Download Helper nor RealPlayer, why?
    == After the latest automatic browser update just today.

    RealPlayer>tools>preferences>download&recording>Firefox3.6

  • Need flash downloader, have tried all the add ons I can find and none of the work.. .please advise?

    I have downloaded most of the addons/extensions that say they will download flash. I have double checked my adobe flash plugin, downloaded any video converter, and real time player and I still can not download a flash movie from the web. It is NOT on you tube or any other video site. When I right click on the ad it says it is a flash movie.
    Please help/advise, assist

    This is the first thing I did and I already have flash but now what I want to do is download the flash movies from obscure sites to access later, put on ipod, cell, etc...these are NOT YOU TUBE VIDEOS OR VIMEO OR any of the more common which download easily. Have Photoshop, real time player and quick time player (free versions) and none of those seem able to do it either. Also downloaded several video converters but they don't help me gain access to the flash movie online. Plus many addons/extensions for firefox and those don't work either

Maybe you are looking for

  • How do I move content from one file to another ?

    Hi, I have two separate DVD Studio Pro files that I created a while back (single-sided DVD). Now I want to put them both on a dual layer DVD. However, I can't figure out for the life of me how to copy content between files. I don't want to "recreate"

  • My Ipod 5 wont play purchased or downloaded music

    Recently bought my daughter the new Ipod touch 5 and it wont play her downloaded or purchased music. When you go to play it just loops back to main music screen. Anyone else having this problem or know of a fix.

  • How to call Java class from Forms 6i?

    Hi friends, I need to call a Java class from my Forms 6i application. (It runs under WIndows XP. It's a client/server application and I have only the client and the Form builder installed on my PC) I don't know almost anything about Java's world so y

  • Can't upload photo

    I can't upload my photo to FB after i using v3.2. When i click "photo" is doesn't working? Please help me solve this problem... Solved! Go to Solution.

  • Encrypt data

    I would like to encrypt some ids on my web page in hidden fields with sessionId as private key. So that they appear different everytime. Please help with with the type of encryption that i should use to complete my task.