Is it legal to use MessageBox and Statusbar during et_FORM_DATA_ADD event

Is there anything wrong in showing a MessageBox or setting the status bar when handling et_FORM_DATA_ADD event
(either before or after action)?
The add-on I'm developing causes B1 to crash completely (windows application error in ntdll.dll) and irregularly.
After lots of experiments I suspect that using a MesssageBox or setting the status bar in the FORM_DATA_ADD event sometimes confuses B1 completely.
I may be totally wrong but this is the only suggestion I have at the moment.
I'll be thankful for any comments on this matter.
--Svilen

Hi Louis,
Thanks for the reply.
I noticed that it's not only MessageBoxes and Statusbar updates that crash B1.
Can you elaborate on the following topic:
How safe is to use the objects SAPbouiCOM.Application and SAPbobsCOM.Company
from the event handlers when they are originally created in another thread. I mean my application starts, creates the above objects once, saves them to be  globally accessible and all this happens in the main thread. Then when a particular event is fired by B1 - like FORM_DATA_ADD for example, it happens to run in another thread but it uses the above mentioned global objects - the Application objects to display message boxes and statusbar
messages and the Company object to work with documents and for raw access to user tables via Recordset.
Is this the right approach?
I also read on this fourm that SAPbobsCOM used a single thread appartment (STA) while all SAPbouiCOM event handler threads are MTA.
I feel that the above problem with messageboxes and statusbar messages is just a case of a bigger architectural problem related to B1 events and threads.
Any help will be much appreciated.
Thanks
-- Svilen

Similar Messages

  • Icloud deleted recurring event and send notifications to everybody. I never used icloud and never deleted this event.

    I never used icloud and never made any changes to my icloud.
    Today icloud sent notifications to 100 people that the event was cancelled. I didnt made any changes. Those 100 people wrote "very good feedback"
    This event was created not in icloud, it was created in Outlook on my work PC, and it was done half a year ago.
    As I understand events from my outlook synced with icloud and iclud somehow made chamges without my permission.
    But the most fummy thing that event is still present in icloud, in Outlook and in my Iphone also.
    Please FIX or explain this, I dodnt want to have a repeat of this bug tomorrow

    Thanks, yeah I called Apple Customer Services and the guy said that the only thing I can do is restore my phone from my latest iTunes backup.
    The screen I got when this debacle happened literally said: "What would you like to do with the previously synched iCloud contacts on your iPhone?" It's so poorly worded, I thought it was just referring to the contacts that were just put on my phone from my computer, hense the "previously synched iCloud contacts" but when I was on the phone with the guy he was saying that I misunderstood the screen.
    I don't think I'm crazy, they could have worded it better and made it more clear they meant ALL contacts deleted, not just the ones synched from iCloud.

  • Using databases and container events?

    I'm having trouble finding documents show how one should use databases and listen for container events? I'm using Berkley Java DB. I'll need all my remote object to have access to the database. How do I pass that in? Custom adapters? Also, when Tomcat shuts down I need to close the database, how would this be down? Custom adapters? So I may be answering my own question, but I'm asking cause I really don't see anything in the documentation that points this out. It really looks like I'd be using singletons and factories for this. I could register a Servlet or Servlet Context to listen for Tomcat events, but I figured it couldn't hurt to ask others using Blaze, as I'm very new to it. Thanks.

    So how would you tell Blaze to use this? Is there something you put into the config file? My thoughts on all this is to use PicoContainer to manage all services then create an adapter to inject all resources when creating remote objects. But this seems a little heavy if Blaze can do all this for me. The adapter seems like the injection point to me. Is that not what it's used for? Or is using it like that bad practice under Blaze? I've read all I can find on Blaze, so either it's missing docs, or I'm not finding them all. If I'm missing them, by all means let me know where to go. I don't want to ask questions that are already answered in documents else where.
    On Tue, May 20, 2008 at 10:51 AM, Mete Atamel <
    [email protected]> wrote:
    A new message was posted by Mete Atamel in
    General Discussion --
      Using databases and container events?
    I think it's mainly in JavaDocs but here's a sample I have where I check to make sure the HSQLDB is running as the BlazeDS starts up:
    import java.sql.Connection;
    import java.sql.SQLException;
    import flex.messaging.config.ConfigMap;
    import flex.messaging.services.AbstractBootstrapService;
    public class DatabaseCheckService extends AbstractBootstrapService
        // This is called right before server starts up.
        public void initialize(String id, ConfigMap properties)
            Connection c = null;
            try
                // Check that the database is running...
                c = ConnectionHelper.getConnection();
                // ... if yes return
                return;
            catch (SQLException e)
                System.out.println("DB is not running!");
            finally
                ConnectionHelper.close(c);
    // This is called as server is starting.
        public void start()
            // No-op
    // This is called as server is stopping.
        public void stop()
            // No-op
    View/reply at
    Using databases and container events?
    Replies by email are OK.
    Use the
    unsubscribe form to cancel your email subscription.
    "All that is necessary for the triumph of evil is that good men do nothing." - Edmund Burke

  • I used a GarageBand loop in a video I made for youtube. I want to submit this video for revenue. First, is this legal? Second, youtube requires written permission to use songs, and provides a comment box for proof of permission. What do I put in this box?

    I used a GarageBand loop in a video I made for youtube. I want to submit this video for revenue. First, is this legal? Second, youtube requires written permission to use songs, and provides a comment box for proof of permission. What do I put in this box to prove It's ok for me to make ad revenue from my video?

    Yes, you can use GarageBand loops for commercial purposes. Here's the Apple Doc:
    http://support.apple.com/kb/HT2931
    (Basically the only thing it excludes is to re-distribute the loops as loops.)
    I don't know about the YouTube form, maybe you just fill in "Apple Loops", they certainly have come across this before.

  • When using Adobe Photoshop Elements, is it legal to use shapes etc. (displayed in 'Artwork and Effects') when creating a product to be sold? Thank you.

    When using Adobe Photoshop Elements, is it legal to use shapes etc. (displayed in 'Artwork and Effects') when creating a product to be sold? Thank you.

    Thank you very much for answering my question. Have a great day.

  • Is it legal to use Macintosh virtual machine hosted by Windows operating system? If yes, please suggest recommended hardware and license cost?

    Is it legal to use Macintosh virtual machine hosted by Windows operating system? If yes, please suggest recommended hardware and license cost?

    steve359 wrote:
    I thought that at least some version of OSX could not be VM in Mavericks, but if you say it is allowed so be it.
    There are some people who dispute the details of what "the software" means in the license. From my point of view, I have a license to run all of those versions each license explicity says I can use a VM. I don't think it is illegal or even unseemly. The only version restriction I know of that the new VM policy only applies to Lion or greater. 10.6 could only be run on a VM if you had the expensive server version. The licenses do explicity list the acceptable uses and that includes OS X Server, software development, and non-commercial use. They don't want people selling online access to OS X, that's all.
    I do not VM Windows on my MBP because I have no need.
    Me neither. I used to though. Funny how a Mac was the most critical tool in debugging web sites on various versions of IE
    I don't even run OS X in a VM anyway. It does work but it is quite resource intensive. Maybe if I had one of those new Mac Pros...

  • The legality of using a student version of CS6 at home (legal) and also using it at work (?)

    Whilst I know it is legal to use my student bought version of CS6 for commercial work at home I don't know for sure if it is legal to also install the suite at my workplace (an architect firm).
    I found two licencing answers which seem to imply that I could use the suite at home and at work (though not at the same time).
    Can I use my software on two computers?
    If you own, or are the primary user of, a single-user or volume license Adobe product that is installed on a computer at work, you can also install and use the software on one secondary computer of the same platform at home or on a portable computer. However, you may not run the software simultaneously on both the primary and secondary computers. No more than one user can use a single-user license Adobe product.
    *Copied from: http://helpx.adobe.com/x-productkb/policy-pricing/end-user-license-agreements-faq.html
    Can I use Adobe Student and Teacher Edition software on more than one computer?
    Adobe Student and Teacher Edition software may be used on two computers only. This is ensured through a product activation procedure, which is performed online.
    Perhaps posting here is not a definitive way of finding out an answer to my question... if so, where else could I go?
    Thanks

    We have a saying here in Germany: "Wer viel fragt, geht viel irre." Meaning the more you ask, the more you get confused. The simple legal interpretation is, that what is not explicitly precluded/ exempted in any sort of contract is considered as never having been part of this contract and thus nil and void. While going on at some length about the secondary install, neither the edu FAQ nor the EULA make any mention of what your primary computer actually needs to be or where it must be located. So for all intents and purposes a computer provided by a company where you intern could be considered just that as long as the license you install on it can only be used by you, meaning no other person can use it under a differtent user account on the same machine, which is technically perfectly doable by eitehr managing the Activation/ Adobe ID yourself or using the operating system's user privileges and file permissions to prevent access to e.g. the license store folders. Beyond that, you cannot expect any 100% definite answer, only taking this to court on a case by case basis could, but I guess that's not the point in the first place. People do weird things with their licenses all the time and depending on where in the world you live or even use a program at any given time, half of that stuff may be invalid, regardless. The only personal observation I will make here: A company that is dependent on a student's own PS license is probably not a place I would consider a good place for getting my career started...
    Mylenium

  • Is it legal to use one of the symbols included with adobe illustrator cc in the logo for my company ?

    I am currently designing a logo for my website/company using illustrator CC . Can i use symbols and put them in the logo for my company ? Is that legal ?

    My inclination as just another user would be of course you can use Adobe-supplied content with your own projects, otherwise why would they give you content.
    If you want something more official and legalistic from Adobe, how about section 2.3 on page 116 of the following PDF:
    http://wwwimages.adobe.com/www.adobe.com/content/dam/Adobe/en/legal/licenses-terms/pdf/CC_ EULA_Gen_WWCombined-MULTI-2012…
    Which comes from the PDF link from the Illustrator CC EULA line from this page:
    Licenses and terms of use | Adobe
    I don't have Illustrator so I cannot check for other readme or licensing documents with the content files, themselves.
    If you need a legal opinion then pay a lawyer to tell you how they interpret what is said in the 26 US-English pages of the PDF.

  • I can't log in the App store because an from Zambia which is not listed in Apple outlets. How do i go around this as apple products are using globally and not only in the listed countries. My product is a Mac book pro.

    I can't log in the App store because am from Zambia which is not listed in Apple outlets. How do i go around this as apple products are used globally and not only in the listed countries. My product is a Mac book pro. i feel this limits how i can use my product

    Unfortunately you have taken an Apple product outside of the area where Apple currently does business. There isn't legally a way around this. Apple cannot license apps to you where you currently live.

  • I used to buy used iphone and I'm in Mexico. I wanted to upgrade but I ask you insert a sim Mexican rejects me says that is not compatible or if I can never use my iphone here in mexico

    I used to buy used iphone and I'm in Mexico. I wanted to upgrade but I ask you insert a sim Mexican rejects me says that is not compatible or if I can never use my iphone here in mexico

    reneagustin wrote:
    is possible to make the phone legal?
    More than likely not... Try google...

  • Is it legal to use the apple logo for wallpaper design?

    Dear Applers,
    is it legal to use the Apple logo for my wallpaper which I design and create.
    I want to share this wallpaper on my website. The wallpaper are funny like others which already exists.
    For example a wallpaper where the Apple logo looks like a donut and Homer Simpson wants to steal it....
    Other example could be wallpaper with modern and nice design.
    So is it allowed to share wallpaper with the apple Logo in the picture, so other users can download and use it as a wallpaper?
    Best Regards from Germany
    Christoph

    Thank you for your help.
    So does it mean, that I can't use it in any way?
    I mean, I do not want to use the Apple logo for the website itself. So not for the layout, template or webdesign.
    I just want to place the logo on my wallpaper pictures, which I want to offer as a download for mac users which like it to personalize their Backgrounds.
    I mean there are thousands of websites like this? Are all the Admins doing this at own risk?
    Hard to belive, that all these pictures, you see here are ilegal in the internet, isn't it?
    https://www.google.de/search?safe=off&biw=1441&bih=910&q=apple+wallpaper&bav=on. 2,or.r_cp.r_qf.&bvm=bv.49478099,d.ZWU,pv.xjs.s.en_US.c75bKy5EQ0A.O&um=1&ie=UTF-8 &hl=de&tbm=isch&source=og&sa=N&tab=wi&ei=PujqUdGZHcu_POa1gUA
    Thank you in advance that you are a part of this disscussion
    Best Regards from germany.

  • Is it legal to use the iPhoto slideshow video inside the third party iPad enterprise application?

    Hi,
       we are developing one enterprise application specifically for iPad.Kindly advise me is it legal to use the iPhoto slideshow video inside the third party iPad enterprise application (slide show with images)?
    Thanks in advance.

    Thanks Terence for your reply. I mean  for "the iPhoto slideshow video" is : I have collection of my own images , using iPhoto software i created a slideshow based on 'origami' theme and exported as a video file. Can I use that video in my enterprise iPad application?
    Thanks.

  • Is it legal to using my personal AppStore account to update my office Max OS(Snow Leopard) to Mountain Lion?

    Hi,
    I want to know is it legal to using my personal AppStore account to update my office Mac OS(Snow Leopard) to Mountain Lion?

    This can be found at http://www.apple.com/legal/itunes/us/terms.html#APPS
    MAC APP STORE PRODUCT USAGE RULES
    Except as otherwise set forth herein,
    If you are an individual acting in your personal capacity, you may download and use an application from the Mac App Store (“Mac App Store Product”) for personal, non-commercial use on any Apple-branded products running Mac OS X (“Mac Computer”) that you own or control.
    (ii) If you are a commercial enterprise or educational institution, you may download a Mac App Store Product for use by either (a) a single individual on each of the Mac Computer(s) used by that individual that you own or control or (b) multiple individuals on a single shared Mac Computer that you own or control. For example, a single employee may use a Mac App Store Product on both the employee’s desktop Mac Computer and laptop Mac Computer, or multiple students may serially use a Mac App Store Product on a single Mac Computer located at a resource center or library. For the sake of clarity, each Mac Computer used serially by multiple users requires a separate license.
    (iii) Use may require sign-in with the Apple ID used to download the Mac App Store Product from the Mac App Store. Mac App Store Products can be updated through the Mac App Store only.

  • Is it legal to use Jad Decompiler?

    Is it legal to use Jad Decompiler in order to learn Java?
    For examples, decompile my own classes or some Sun's classes in order to look inside. Not to distribute... What do you know about it?
    Jad is:
    // Decompiled by Jad v1.5.8f. Copyright 2001 Pavel Kouznetsov.
    // Jad home page: http://www.kpdus.com/jad.html
    // Decompiler options: packimports(3)
    // Source File Name: Constants.java

    If you are just going to look (and not use parts of the code as is in your own stuff) then go ahead, but I, for one, would want to be absolute certain that I did not get caught with any decompiled, licensed code on my computer. Whether you planned to copy it or not, I don't believe the companies would take too kindly to it. And even if you could prove yourself innocent, it might be more than you can financially afford to do so. Those point taken into account, if it is done on a personal computer at home, the chances of it being found are slim (but not non-existenet).
    Do it on a computer belonging to someone you don't like. ;-)
    Edit:
    Man am I slow today, or what.

  • Is it legal to use other peoples music in a Podcast that is for fee?? Im not sure how to go about this? I have DJ who will mix the music for me, but im not sure that it is legal?? Thanks any guidance would help

    Hi everyone
    I am wanting to create music playlists for free via itunes in the form of a podcast of gym sort of music that can be used by people to listen to whilst working out. Can someone tell me if this is legal to use other peoples music, or songs and change them slightly so they blend into a continuous podcast?? thanks

    To The Fit Guy,
    Absolutely - 100% - NO!!!!!
    You can not take any RIAA / big label music and use it in a podcast.
    A Podcast is a download and downloads are looked at legally as a mechanical copy.
    Just because you purchased a song - it does not give you any rights what so ever to use that in a podcast.
    On top of that - you can not even get licenses for Podcasts to use the music.  As the Soundexchange license used for streaming music does NOT cover downloads. 
    And even if you could get licenses - one of them is working with the Harry Fox agency - they cover mechanical copies - and it is $0.091 per download (copy) for each song.  So if you have a mix of 10 songs in an episode - you would need to pay Harry Fox agency $0.91 per download.
    The only music you can use in a podcast is music considered "Podsafe"
    http://en.wikipedia.org/wiki/Podsafe
    Regards,
    Rob W
    podCast411

Maybe you are looking for

  • Apple mail    fonts window disappears   Mavericks

    I am using OSX 10.9.5    ...., Apple Mail   version 7.3  1878.6 I usually leave the Fonts window open.   In the last month it has started disappearing without me requesting that it disappear. Any suggestions ? Gus in Denver    aka 99guspuppet

  • HT2534 How do I set a acount for my Apple TV

    How do I set a acount  for my Apple TV

  • Sql*loader and sdo_geometry field

    Is there a way to load longitude/latitude coordinates from a flat file directly into an sdo_geometry field with sql*loader? If so, does anyone have an example? I just want to create point features. Thanks, David

  • Problem in creating workbook

    Hi All, I have a problem in creating workbook. After inserting the query and saving as workbook, when the workbook is opened again there is no query inserted into it. Some values looks like alpha numeric values are populating. I'm using BEx 3.5 and M

  • Internet Protection software for Macs

    I am new to the Mac world and am trying to find good internet protection (Parental Controls) that is Mac compatable. I tried to buy ContentProtect and found out that it isn't. Anyone? Thanks