SBO is not shutting down and MenuEvent getting fired repeatedly

Hi,
I have written an addon which has a event filter for et_MENU_CLICK.
I am having problem when i close SBO. The application MenuEvent is getting fired repeatedly and SBO and my addon does not shut down.
I am using SBO 2004B and my addon is written in VB6.
Following is my Application AppEvent
If EventType = aet_ShutDown Then
        End 'shut down
ElseIf EventType = aet_CompanyChanged Then
        End
ElseIf EventType = aet_ServerTerminition Then
        End 'shut down
End If
Please help.
Thanks
Satish.

If you specify an event filter for only the menu event, the UI Api will not be able to respond to any of the other events you have written in code. Try adding the application events to your event filter or remove the event filtering all together.
In my experience the filtering can be a painful process especially in bigger projects.
Gopal

Similar Messages

  • I-phone 4 froze after an update, will not shut down and sends all calls to voicemail. Apple logo is the only screen that I get, is there anything I can do?

    I-PHONE 4 FROZE AFTER AN UPDATE, WILL NOT SHUT DOWN AND SENDS ALL CALLS TO VOICEMAIL, IS THERE ANYTHING I CAN DO?

    Unplug it and let unit go dead. Then hold your Home button down and plug the USB power cord back in. iTunes should see it and then restore.
    Basic troubleshooting steps  
    17" 2.2GHz i7 Quad-Core MacBook Pro  8G RAM  750G HD + OCZ Vertex 3 SSD Boot HD 
    Got problems with your Apple iDevice-like iPhone, iPad or iPod touch? Try Troubleshooting 101
     In Memory of Steve Jobs 

  • Photoshop immediately shuts down and I get an error.

    When I open Photoshop it immediately shuts down and I get an error.  Is there an issue with CC?  I also had the same problem with Illustrator and InDesign.

    Photoshop CC2014 opens up and a minute later I get a message from windows saying the program has stopped running and windows is looking for a solution then a minute later message reads A problem has caused the program to stop working correctly Windows will close the program and notify you if a solution is available
    I am operating Windows 7 Ultimate
    Photoshop CC 2014
    However Fireworks and Adobe premiere pro have no trouble staying open I have rebooted computer and also have uninstalled and re installed program

  • Hi. I recently discovered my iMac not shutting down and stalls. Everything seems to disappear except my wallpaper. If I Then go to setting on my Dock the apple sign at the top appears for me to shutdown the second time. I asked one technician's what might

    Hi. I recently discovered my iMac not shutting down and stalls. Everything seems to disappear except my wallpaper. If I Then go to setting on my Dock the apple sign at the top appears for me to shutdown the second time. I asked one technician’s what might be the problem. He said that maybe it is Flash Player that runs in the background and avoid the computer to shutdown. I uninstalled Flash Player and the problem was fixed. Now I can’t watch any YouTube videos. Is there something else I can do to use Flash Player again to avoid the shutdown problem?

    If YouTube is your only worry, you could instruct it to use HTML5 in stead of Flash:https://www.youtube.com/html5
    Be advised though that Flash is used for other web stuff too.

  • While on Macbook Pro went to line bars now will not shut down and the only thing on the screen is the line bars. Help

    While on mac the screen went to line bars and now that is all that you can see. It will not shut down. Pulled battery ans left it out for 3 hours. put it back in and it is still on the line bars.

    http://support.apple.com/kb/HT1808

  • Macbook Pro will not shut down AND other issues...

    Macbook Pro will not shut down. Not using the POWER button, not using control/alt/command/esc, not using force quit, and obviously not by selecting Sleep or Shut down from the Apple menu.
    Force quit will not even pop up when selected.
    Top row keys do not work either, have gone into settings and switched them to F keys and back again, no luck.
    iPhoto will not import photos and will not shut down, gives me a message stating it is importing photos (nothing is connected to computer though). Baffling.
    HELP! Computer is only a month old
    Thank you everyone xx

    Please make a Genius Appointment and take it in for service.

  • HT4528 My iPhone 4s will not shut down and wont play sound on you tube

    My iPhone 4s is experiencing two issues.
    1.  it will not shut down, restarts on its own after a few seconds,
    2. and it loses sound on videos and apps intermittently - even when sound on apps comes back, there is no sound on any you tube videos
    I have tried hard reset, software upgrade, and various setting changes I read about in a thread online for the sounds issue, nothing has worked.

    We tried the home sleep button several times with the same, that is, no result.
    The thing with the WiFi apparently is not that uncommon a problem as the Apple web site mentionen the method I described to remedy the problem.  Again, it did not fix the issue.
    Thanks for the reply but ee still are at sea.
    GrantZ

  • Screen icons become very large and wont reset. restarting is very difficult as slider is off screen. eventually shutting down and restaring gets screen back to normal .however this is happening more often

    my iphone 4s icons suddenly magnify on screen. 2 or 3 fill the screen. shutting down and restating fixes the problem as icons are back to normal size. however shutting down is very difficult as red slider is off screen and this is happenong more often. any cures?

    Take a look at this link, http://support.apple.com/kb/ts3129

  • DELL Inspiron N5110 does not Shut Down and does not wake up from Sleep

    Hello.
    I have Dell Inspiron N5110 which cannot shut down neither in Windows 7 nor in Ubuntu Linux. I specifically booted Ubuntu Live from the CD to eliminate the possibility that  the problem is in the Windows 7. Shutdown in Ubuntu does not work either. This proves that the reason in not a BACKGROUND application in Windows that remains hanging and does not allow the laptop to shut down.
    The laptop cannot wake up after Sleep or Hibernate either.
    I have tried every solution that you advised to all the other people in the forum that have the same issue.
    1. The laptop cannot shut down in Safe Mode either.
    2. It cannot shut down even after Clean Boot Mode - all non-MS services disabled and all Startups disabled.
    3. I tried changing the Advanced Power Options of "Allow Hybrid Sleep" - both ON for "On AC Power" and "Running on battery" - no change.
    4. I tried installing the latest video drivers for Nvidia. This did not help either.
    5. Running only on battery does not change anything - still cannot shutdown.
    6. Running only on AC adapter without battery - still cannot shutdown.
    7. I tried removing the AC adapter and battery and holding the POWER button for 30 seconds to RESET the laptop - did not work.
    ATTENTION: I've been reading your forums all day and saw at least 10-15 reports of the same problem and not a single fixed case.
    8. This is why I have not tried Flashing the BIOS to the latest version - I read other people tried that and it didn't work either.
    9. I loaded BIOS default settings (F9) - still cannot shutdown.
    REMARK: Changing something in the BIOS and trying to Exit once caused the laptop to freeze and I had to Power Off by holding the button for longer.
    10. I ran DELL Diagnostics from Boot menu (F12 at startup) - no errors found.
    11. I could not locate IEEE 1394 Adapter in Device Manager to change its Power Management settings.
    Actually none of the suggestions you may give for changing something in Windows makes sense because I already mentioned that shut down in Ubuntu does not work either.
    The issue seems to be either in the BIOS or a hardware problem. But which component? Is it the CD/DVD drive?
    This is a new laptop.
    Please advice how to proceed. If you know which component fails please tell me.

    Remove the keyboard and palm rest (guide from dell shows you how) and you should see a small coin cell battery. Remove it for at least 10 seconds, then put it back in. Enter BIOS and make sure there isn't anything weird that was changed. It should work properly now. I have had this working in Ubuntu 12.04 for the last few days, with no problems.

  • 2007 A1226 Macbook Pro: Fans out of control, will not shut down, and temp sensors have gone offline.

    So my MBP, just an hour or so ago, failed to shut down.  I click Apple->Shut down, but the computer instead restarts and while loading OS X, gives me an error that says "You restarted your computer because of an error."  The fans are maxed out right now, there is -no- process causing thisl  Also, I use iStatMenus to monitor my temperatures, and all of the CPU sensors have gone offline, iStat is only reporting temps for the hard drive and battery.
    iStat also seems to have lost the ability to control my fan speeds.  Uninstalling and reinstalling iStat did nothing.  Resetting PRAM and the SMC have done nothing either.  Any ideas? 

    To start up your computer in Apple Hardware Test:
    Press the power button to turn on your computer.
    Press and hold the D key before the gray startup screen appears. If Apple Hardware Test does not start up, see the Additional Information section at the end of this article.
    s
    p
    o
    i
    l
    e
    r
    a
    l
    e
    r
    t
    Additional Information
    Apple Hardware Test is included on the DVDs that are shipped with some Macintosh computers. If the copy on your hard drive becomes unavailable, use the DVDs to run Apple Hardware Test.
    For Intel-based Apple computers that shipped with Mac OS X v10.5.4 or earlier, Apple Hardware Test is located on the Mac OS X Install Disc 1 and should be included with your computer.
    For Apple computers that shipped with Mac OS X v10.5.5 to 10.6.7, Apple Hardware Test is located on the Applications Install Disc 2 and should be included with your computer.

  • When i am in certain apps, some with using internet and some not, shuts down and goes back to the main page.  how do i fix this or what is the problem?

    My ipad just started blanking out in certain apps, such as the NY post or certain games.  When i try to flip a page in the NY Post the ipad blanks out and goes back to the originial screen.  The same thing happens with some games.  Does anyone know what is wrong or how to fix this?

    Try resetting your iPad.  Press and hold sleep button until slider shows up on screen.  Shut down then start it up again.

  • MBP not shutting Down and Overheating

    Related to my recent Yosemite Install???
    2nd time this has happened in a week. While the app (Traktor) I was running sometimes takes a while to shut down, I swear I waited for the laptop to shut down before I closed the lid. but when I took it out an hour later, it was very hot to the touch and down to 45% battery. Strangely the time had reset to 12/?/2000. Last week same thing same circumstance
    Any suggestions appreciated
    Mid 2009  2.8 intel core 2 4gb

    Try resetting the SMC. I suggest this as it seems that you are booting into some sort of firmware (like open firmware). Back in the day of G4s and G3s chipsets (I am a NEWBIE to the Intel based machines... so take what I have to offer with a grain of salt) reseting the PRAM was one way of addressing this issue (or using Open firmware commands... init-nvram, set-defaults, reset-all... etc).
    Maybe one of the folks with more experience with MBs will be along.
    Try the suggestions in this article: http://docs.info.apple.com/article.html?artnum=303319
    http://docs.info.apple.com/article.html?artnum=42642

  • Firefox will not shut down and I have to use the force quit option on my MAC to get it back. What can I do?

    At almost every shutdown of Firefox it fails to completely shutdown and when I go to start it up again I must force quit to get it to completely shutdown.
    The code says Firefox (not responding)

    '''[https://support.mozilla.org/en-US/kb/troubleshoot-firefox-issues-using-safe-mode Start Firefox in Safe Mode]''' {web link}
    While you are in safe mode;
    Type '''about:preferences#advanced'''<Enter> in the address bar.
    Under '''Advanced,''' Select '''General.'''
    Look for and turn off '''Use Hardware Acceleration'''.
    Poke around safe web sites. Are there any problems?
    Separate Issue;
    Your System Details shows;
    Installed Plug-ins
    Garmin Communicator Plug-in Version 4.0.2.2
    Garmin Communicator Plug-in Version 4.1.0.0
    Having more than one version of a program may cause issues.

  • My Mac Book Air will not shut down, and..

    my noise keyboard buttons do not work, I need to keep quitting programmes because my Mac will not load, I can not take pictures with Photobooth anymore, I can not look at pictures with iPhoto. I do not know what is wrong, please help me, I only got this mac for 6 months.

    Try to reset the SMC and PRAM...
    http://support.apple.com/kb/HT1379
    http://support.apple.com/kb/HT3964

  • When I sign into facebook as soon as it is loaded it shuts down and I get my Google page.

    When I bring up Facebook, I sign in the page comes up and then immediately closes. I have no problems connecting to facebook when using Safari.

    Starting up in Safe Mode
    http://support.apple.com/kb/HT1455
    Macs: Resetting the System Management Controller (SMC)
    http://support.apple.com/kb/HT3964
    Resetting your Mac's PRAM and NVRAM
    http://support.apple.com/kb/HT1379

Maybe you are looking for