cancel
Showing results for 
Search instead for 
Did you mean: 

How to stop the Add-on running the process

Former Member
0 Kudos

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

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi

ur comany have any openings in B1 Technical consultants plz let me know.

regards

siva

Former Member
0 Kudos

Check out this thread, I just posted the complete code for the app_event.

[;

Regards,

WB

Nussi
Active Contributor
0 Kudos

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