Add-on running in BusinessOne

Hi
When BusinessOne launches my Add-on (after to install it), my Add-on stop on the Connect function of the UI (see code below). 
If i stop and starts again BusinessOne, BusinessOne run my Add-one correctly!!!
Do you have an idea? 
My Code :
Dim WithEvents msa_Application As SAPbouiCOM.Application
Dim dsa_SboGuiApi As SAPbouiCOM.SboGuiApi
Dim dst_ConnectionString As String
dsa_SboGuiApi = New SAPbouiCOM.SboGuiApi
dst_ConnectionString = Command()
dsa_SboGuiApi.AddonIdentifier = "4CCVGE69A68489E38CB42ZSEE8678CD23DCFC11C22706A54CBD2A5D5F6E4150A19B909FBA0FADFC"
dsa_SboGuiApi.Connect(dst_ConnectionString)
msa_Application = dsa_SboGuiApi.GetApplication()

Francis,
If your are using Business One 6.5 or 2004, this behavior is correct.  After you install your add-on, you must exit SAP Business One after the add-on installation is complete and then re-start SAP Business One for your add-on to work.  This is normal functionality for these versions of Business One.  With the release of SAP Business One 2005, when logged in as administrator on a workstation, and installing your add-on, you will not need to re-start SAP Business One.
Hope this helps,
Eddy

Similar Messages

  • TS1702 Hello I would like to report game loft order and chaos that's I but rune stones buy my visa around 300 usd and runes was on sale but thy don't add the rune stones it's 5700 Rune stones  I report to game loft 6 time and thy ignore me I'm here to Com

    Hello I would like to report game loft order and chaos that's I but rune stones buy my visa around 300 usd and runes was on sale but thy don't add the rune stones it's 5700 Rune stones  I report to game loft 6 time and thy ignore me I'm here to Complaint that to iTunes I wish you help me for this complaint cause this game loft always ignore people only take moony and no replay . Ty

    You are not addresing Apple here. Were are all just users like yourself. Contact Apple/iTunes by:
    How to report/refund an issue with your iTunes Store, App Store, Mac App Store, or iBooks Store purchase

  • Need to add TEST RUN in the Z  Program (URGENT)

    Dear All,
    I have to add a TEST RUN check Box in the Selection screen,same as Tcode:MRRL.
    Current Functionality: When we run this Z program,this will update the Local file data into DATABASE,will create a list stating the number of records updated and so.
    Required Functionality is: Before updating the data into DATABASE,want a preview of list with the details of number of records will update and so.
    Once user confirms the message,will back to the Selection-Screen and Uncheck the Check box and execute.Now data will update in the DATABASE.
    I hope You understand what i mean to say.
    Thanks & Regards,
    Seshadri G

    Hello Seshadri
    If the DB table is updated from an itab having the same structure then you could simply display the data in an ALV list, e.g.:
      IF ( p_test = 'X' ).
        CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY_LVC'
          EXPORTING
            I_STRUCTURE_NAME = <name of DB tabe>
         TABLES
            t_outtab = <your itab with updated data>.
      ELSE.
    * ... update DB table
      ENDIF.
    Regards
      Uwe

  • Resources getting deleted when trying to add at run time

    Hi All,
    When i am trying to add resources to another file at run time, some of the earlier resources are getting deleted. Please find the source code below:
    void CResourceIncludeSampleDlg::OnBnClickedButton1()
    CString strInputFile = _T("C:\\SampleData\\FileToInsert.zip"); // This File is 100 MB
    HANDLE hFile = CreateFile(strInputFile, GENERIC_READ, 0, NULL, OPEN_EXISTING, FILE_ATTRIBUTE_NORMAL, NULL);
    DWORD FileSize = GetFileSize(hFile, NULL);
    BYTE *pBuffer = new BYTE[FileSize];
    DWORD dwBytesRead;
    ReadFile(hFile, pBuffer, FileSize, &dwBytesRead, NULL);
    for (int iIndex = 1; iIndex <= 4; iIndex++)
    InsertResource(FileSize, iIndex, pBuffer);
    CloseHandle(hFile);
    void CResourceIncludeSampleDlg::InsertResource(DWORD FileSize, int iIndex, BYTE *pBuffer)
    CString strOutputFile = _T("C:\\SampleData\\ResourceIncludeSample_Source.exe");
    int iResourceID = 300 + iIndex;
    HANDLE hResource = BeginUpdateResource(strOutputFile, FALSE);
    if (INVALID_HANDLE_VALUE != hResource)
    if (UpdateResource(hResource, _T("VIDEOBIN"), MAKEINTRESOURCE(iResourceID), MAKELANGID(LANG_ENGLISH, SUBLANG_ENGLISH_US),
    (LPVOID)pBuffer, FileSize) == TRUE)
    EndUpdateResource(hResource, FALSE);
    After completion of the execution, i am expecting output as 301, 302, 303 and 304 added under "VIDEOBIN" category. But only 2 (sometimes 3) resources are present. One resource
    is always deleted.
    Could you please let me know what could be wrong or any fix for the same ?
    Any help or sample source code is greatly appreciated.
    Thanks and Regards,
    Kishor Reddy
     

    Make sure that all precautions mentioned in the
    docum are met.
    "Before you call this function, make sure all file handles other than the one returned by
    BeginUpdateResource are closed." and also regarding LN and MUI files.
    -- pa

  • How to stop the Add-on running the process

    Hi All
             I have created an Add-on using C# and it starts and stops correctly. when it is stopped the add-on menu disappear from the main menu, but when I open the Task  Manager and check the processes running the add-on process also appears as running. I want to stop this process running when the add on is stopped.
    regards
    Padma

    Hi Padma,
    all i use in my c# code is
        private void SBO_Application_AppEvent( SAPbouiCOM.BoAppEventTypes EventType ) {
            switch ( EventType ) {
                case SAPbouiCOM.BoAppEventTypes.aet_ShutDown:
                    System.Windows.Forms.Application.Exit();
                    break;
                case SAPbouiCOM.BoAppEventTypes.aet_CompanyChanged:
                    break;
                case SAPbouiCOM.BoAppEventTypes.aet_LanguageChanged:
                    break;
    and it works...
    there's no other place where i Exit my Application, thats why i guess that this should help you
    lg David

  • Oracle 10.2 Predictive Analytics Spreadsheet Add-In - Run-time error 429

    Hi,
    I installed the "Oracle 10.2 Predictive Analytics Spreadsheet Add-In" for Excel. When I'm running Excel, and I click the OraclePA menu option "connect", I get the error:
    Run-time error 429:
    ActiveX component can't create object
    I am running Win-2000, and I have the 10.2.0.1.0 (with Data Mining Options) DB installed locally.
    Any ideas on how to resolve this error?
    Thanks.

    Hello,
    this is the typical error seen when trying to activate a program after installing it without restarting your computer first.
    you it tried to restart your computer ????
    What is version of the excel ?

  • UI Add-on running ?

    Hi,
    Is it possible to know if a specific addon is currently running (and not frozen)  from another application ?
    More details :
    The addon that I want to know if it is running is not one of our addon (it is a third party add on).
    The Sap B1, Add-On Manager screen is not a valid solution in this case.
    Thanks

    Hello Joderick Picard
    you may check the task manager of the windows application which tells you the running applications and processed. If you see your addon filename there it means that it is running.
    if you do not know the addon filename, please look in
    C:Program FilesSAPSAP Business OneAddOns
    then select namespace who provied the addon (SAP, XLR, IHB, etc) then select the addon name, and locate the exe file. You should check the filename in the task manager.
    regards
    János

  • Flash9e.ocx add-on running

    I am getting the following message when I watch videos on
    youtube:
    "The following add-on was running when this problem occurred:
    Flash9e.ocx"
    I've uninstalled Flash, re-installed version 9 and previous
    versions. I've cleard cache, temp internet files, etc.
    Thanks,
    Jason

    What are your Security Internet options set to? If it is set
    to high you may prevent the Flash Player installation.
    You can check this by selecting Tools > Internet Options
    > Security.
    In addition, here are Instructions for uninstalling and
    reinstalling the Flash Player:
    1. First download the uninstaller to your desktop from here
    http://kb.adobe.com/selfservice/view...4157&sliceId=2
    2. Before running this uninstaller be sure to read the
    instruction and close all running programs.
    3. Open the following folder
    C:\WINDOWS\system32\Macromed\Flash
    4. Run the uninstaller
    5. What files are left in this folder?
    C:\WINDOWS\system32\Macromed\Flash
    6. If there are files left, delete the Flash folder.
    7. Install the Flash Player from here..
    http://www.adobe.com/shockwave/downl...ShockwaveFlash
    8. Test the Flash Player here..
    http://www.adobe.com/products/flash/about/

  • How to add a running value from external field in a repeating table of SharePoint list

    I'me creating an infopath form that will display a SharePoint list. I want to add a link control in a repeating table using the value of the first column per row but I'm getting an issue. the link control displays only the first row. thanks in advance.

    Hi,
    I found a similar thread posted by you here:
    http://social.technet.microsoft.com/Forums/en-US/e1fa36c1-cb5c-456d-ba40-2f26301913d2/how-to-loop-through-each-row-in-a-repeating-table-using-sharepoint-workflows?forum=sharepointgeneralprevious
    I suppose both the threads are reuqesting the method to get values from repeating table via workflow, so we can focus on the issue on the other case. If there is more requestment here, let me know.
    Regards,
    Rebecca Tu
    TechNet Community Support

  • Firefox allows random adds to run on my phone in the background.

    Maybe it's the upgrade I installed a few days ago, but now Firefox is allowing random adds to play in the background on my Android phone, and I can't stop them. The particular add that's been flaying is a commercial for Verison Wireless.
    I recall having the same problem on the desktop version of Firefox for Windows, and I had to go through some procedure I found online to get that to stop. Can't find any information related to Android. Anyway, I've uninstalled it from my Android until someone tells me how to stop these things or until there is a fix to stop them. How is that even allowed? Why would Firefox even allow adds to play which can't be seen or turned off, especially on a phone where data is often limited. It's bad enough it just start playing out of nowhere.

    HI bozjidar,
    That is strange, so there are some add ons in Desktop that also have Android versions such as Ad block plus. I have seen edge cause a crash.
    You can also do not track. Please see: [[How do I use Do-not-track on Firefox for Android?]]
    Please post back with your results, we are happy to help.

  • Why does ff add a running icon on my win 7 taskbar in addition to the pinned icon that is used to launch it?

    As shown:
    The ff icon on the left is what is used to launch
    The icon(s) on the right are the running instance of ff with tabs.
    These all used to run under the same icon that is used to launch.
    http://mweaver2k.com/taskbar.jpg

    I solved it by uninstalling Firefox Version 3.6 that was still on my computer. Afterwards I reinstalled Firefox Version 4.0 and now it works fine.

  • Is it possible to add a running time clock to a project?

    I have a clinet who want the time that the project was shot to be displayed at all times. And there doesn't seem to be a plug-in that does this. Is there a way for me to do this that I am not aware of?
    Thanks

    Could I start the timecode at something that looks like this: 3:00  And it would function like a regular time clock?

  • Is it possible to run Add-On application seperately from Windows?

    Hi,
    Is anyone know if it is possible to run the Add-On from Windows with SAP B1 client ? For some reasons, i can't install the Add-On my server now during my development, but i need my QA tester to test these existing finished Add-Ons. Can I just pass all compiled binary files to my tester and let him run the Add-On from his PC and test it in his SAP B1 client? I tried, but it always gives me application crash error. But the add-on runs very well after installed in the the SAP B1 or under visual studio developping mode.
    Thanks,
    Lan

    Hello
    Yes it is possible. You can run the addon the same parameters as you run in the development environment. You can use the same connectionstring used during development.
    1. Copy you addon into a folder
    2. Create a bacth file (start.bat) with notepad, and enter there your addon name and the connectionstring
    3. Run the batch file.
    It will start and connect to sap b1.
    I am also using this method to test the addons .
    Regards
    J

  • Add-on Failure

    Hey Gurus,
    We have developed an Add-on using the Add-on code generator wizard from the B1DE. The Add-on runs fine on machines, where Microsoft Visual Studio .Net 2005 is installed. But it crashes on the PCs, where .Net Framework 2.0 is installed properly and do not have Microsoft Visual Studio .Net installed.
    Below are the few information that can help you to track down the issue.
    System: SAP Business One 2005 A (6.80.318) SP:01 PL:10
    SQL: SQL 2005
    .Net Framework: 2.0
    Add-on created using: B1DE Add-on Wizard
    Error Message:
    System.Reflection.ReflectionTypeLoadException
    Message: "Unable to load one or more of the requested types. Retrieve the LoaderExceptions property for more information."
    Source: "mscorlib"
    I did rebuilt the add-on using B1DE, copied my code in the new solution file and the Add-on worked for few days, now it started giving me the problem again
    Any help in this regards will be rewarded.. I mean will be highly appreciated..:)
    Thanks & Regards,
    ~Bibs

    Hi Edward,
    I have upgraded the system to PL 44 and did build the add-on but the error still persists&#61516;, after a detailed research I came to the solution that it is because of the crystal report used in my solution.
    After removing the crystal report and all its reference I was able to build my add-on and it is working fine. Now I don’t understand how to include the crystal report in my solution
    Any help in this regards will be appreciated
    Thanks & Regards,
    Bibish
    PS: I have used Visual Studio 2005 for my solution and have used the inbuilt crystal report of .Net for my reports.

  • B1DE Add-on Failure

    Hey Gurus,
    We have developed an Add-on using the code generator wizard from the B1DE. The Add-on runs fine on machines, where Microsoft Visual Studio .Net 2005 is installed. But it crashes on the PCs, where .Net Framework 2.0 is installed properly and do not have Microsoft Visual Studio .Net installed.
    Below are the few information that can help you to track down the issue.
    System: SAP Business One 2005 A (6.80.318) SP:01 PL:10
    SQL: SQL 2005
    .Net Framework: 2.0
    Add-on created using: B1DE Add-on Wizard
    Error Message:
    System.Reflection.ReflectionTypeLoadException
    Message: "Unable to load one or more of the requested types. Retrieve the LoaderExceptions property for more information."
    Source: "mscorlib"
    I did rebuilt the add-on using B1DE, copied my code in the new solution file and the Add-on worked for few days, now it started giving me the problem again
    Any help in this regards will be rewarded.. I mean will be highly appreciated..:)
    Thanks & Regards,
    ~Bibs

    Hey Rob,
    Thanks for the reply.
    I did use the B1DE Add-on generator for my Add-on code and the wizard generated the correct and the latest dll i.e., B1WizardBase.dll.
    My Add-on works if i rebuilt a new solution and move the code from the old solution file to the latest solution.. But the problem persist after some days..
    I think I have mistakenly unmarked my post as normal post and no one wants to help for a post which will not give any rewards...???
    Regards,
    ~Bibs

Maybe you are looking for

  • Lightroom wont open due to catalog error

    I have been trying to open lightroom but I keep getting a catalog error and I read all of the forums to help my problem but I just dont understand how to fix it. I have uninstalled and installed almost three times and it still hasnt fixed it.  I was

  • IMac on Netgear X104 and Airport Extreme intermittently loses IP address

    We have a Netgear X104 plugged into an Airport Extreme Base Station. Another X104 (which carries network information through the household electrical wiring) is plugged in for a networked iMac with OS X v 10.5.4. The network works flawlessly, but eve

  • The Big Screen

    Premiere Pro v7 is what im running. So this is a first for me. I created a :30 spot for a local movie Theater. It's all just still pictures and text. When they show the spot up on the big screen all the pics are pixulated and jumpy. Is there a way to

  • Libraries and JAR files in netbeans... how to build and deploy a project??

    Hi guys, <p> I'm having a problem deploying my project. I have created a project structure as so: </p> <p> CLOGE 1.0 |_Source Packages |  |_rdemo |    |_ClogeGUI.java [main] |    |_ClogeRScript.java |_Libraries    |_Swing Layout Extensions - swing-la

  • What happened to the "oldies" option on the drop down menu located on iTunes home page under music ?

    What happened to the "Oldies" option on the drop down menu located on iTunes store home page under music ? I can not find songs in search using artist or song name. Thank you,   Martin