Would like to "confirm exit" before ApplicationMgr_OnExitApplication is called...

Hello all,
I am using TS3.5 with CVI8.0.1 and the "full-featured" CVI operator interface that ships with TS3.5...
I would like to force the user to have to answer a confirm pop-up prior to being able to exit the application before the "ApplicationMgr_OnExitApplication ()" is called...
Naturally, this event happens when the menu "File >> Exit" is selected or when the main window close control (the "X") is clicked on. I want to do this because there are things I'd like to clean-up and close-down when the user plans to exit. I thought it would be as simple as placing the body of that callback inside a simple ConfirmPopup (). So that's the first thing I tried.
However, at run-time, when I select the menu "File >> Exit" I get the error popup: "Application is not running (TSUI.ApplicationMgr) Unexpected Operating System Error.[Error Code: - 17501]". I disabled the Window-Close in the main window for now, just so that I could concentrate on the menu item that exits.
So, my next step was to crawl into the "RebuildMenuBar" code and learn how to create a custom version of the enumerated "TSUIConst_CommandKind_DefaultFileMenu_Set", or at the least, understand the "CommandKinds Enumeration" in the TestStand Bookshelf and the TestStand Help file to even see if this was the proper way to go...
So after looking at it for a while, I got to thinking that this looked like a long-winded solution to something that should be very straightforward to implement (in CVI-speak).
I think I must be doing something wrong here. Is there a different ActiveX event I should be registering to a new callback function that I need to create?
Any help would be appreciated,
Jumper Bones
To whom it may concern: My alias is also my nickname, I've had it since I was a (very) skinny basketball-playing teen. OK, so I've got a 38 inch waist now, but my hometown friends haven't shaken that appellation for me. I trust that you will someday be OK with that alias, as I have been with that nickname.

Thanks for the quick reply, I'll be trying that soon.
To whom it may concern: My alias is also my nickname, I've had it since I was a (very) skinny basketball-playing teen. OK, so I've got a 38 inch waist now, but my hometown friends haven't shaken that appellation for me. I trust that you will someday be OK with that alias, as I have been with that nickname.

Similar Messages

  • If I switch on my iCloud will I still be able to access my iWeb created web site currently on MobileMe. I understand I need to find anotherhost before June, but I would like to access iCloub before then.

    If I switch on my iCloud will I still be able to access my iWeb created web site currently on MobileMe. I understand I need to find another host before June, but I would like to access iCloub before then.

    If you want to migrate your MobileMe account to iCloud you do so at http://me.com/move . You will need Lion 10.7.2 on your Mac to be able to use its facilities. Your calendars, contacts, bookmarks and email will be moved to iCloud.
    Your iDisk, including website hosting and Gallery, will be unaffected and can still be accessed as before, though the migration process will probably sign you out in System Preferences>MobileMe and you will need to sign in again there.
    You will continue to be able to use your iWeb site as before. As you say, this will cease at the end of June. This page examines some alternatives:
    http://rfwilmut.net/migrate2

  • I would like to confirm if I will be able to run Photoshop Cloud Services from Israel, Sofia, CR

    I would like to confirm if I will be able to run Photoshop Cloud Services from Israel, Sofia, CR  it is not listed in th countries list.

    I don’t know.
    But if you only have to work while travelling about (and I understand correctly) then this might not be an issue with cloud-Photoshop as that can work offline and »only« needs to verify the license every 30 days (or so).
    Maybe you should also ask over at
    http://forums.adobe.com/community/download_install_setup

  • I would like to run a stock analysis program called Toolkit 6 on my Macbook Pro, but it only works on the Windows platform.  Is there software that allows me to run Windows applications on the Mac?

    I would like to run a stock analysis program called Toolkit 6 on my Macbook Pro, but it only works on the Windows platform.  Is there software that allows me to run Windows applications on the Mac?

    Yes it's MS Windows! You will need a license of MS Windows (preferable Windows 7) and from there you can decide on the strategy for running Windows on your iMac. You can use Boot Camp (you already have this) or you use virtualization software such as Parallels or Fusion. For your situation I'd recommend virtualization software. However for only one program I'd do some due diligence to see if there is a OS X version. You can start with the App store or simply use Google to search.
    Kappy has provided a good article on running Windows on a Mac and the various options. Here is the link:
    Kappy's explanation
    Roger

  • Hey I would like to get app to block unwanted calls but cant find. any advise

    hey I would like to get app to block unwanted calls but cant find. any advise

    Yup, dito to ckuan's response - Contact your carrier or assign a silent ringtone/message tone to the contact so you will not be alerted at all to the calls/messages.

  • Possible bad Superdrive - would like to confirm opinion

    The specs:
    iMac G5 w/ iSight
    2.1 GHz
    1 GB RAM
    OS 10.4.10
    Drive = MatsushitaDVD-R UJ-486
    Revision = FA0G
    Serial number = this is blank for some reason
    Detachable = No
    Protocol = ATAPI
    Unit number = 0
    Socket type = internal
    Burn support:
    Cache = 2048 KB
    Reads DVD = Yes
    CD-Write = -R, -RW
    DVD-Write = -R, -RW, +R, +RW, +R DL
    Burn Underrun Protection CD = Yes
    Burn Underrun Protection DVD = Yes
    Write Strategies = CD-TAO, CD-SAO, DVD-DAO
    Media = No
    The symptoms:
    When using DVDSP4 to build and burn a DVD, the DVD fails to burn almost every time. When using Disk Utility to burn an image built by DVDSP4, the burn fails about 80% of the time with the error "could not calibrate laser power level for this media".
    Also, new symptom: iMac will not start up from CD or DVD. I need this function to repair permissions and run maintenance utilities. Apple logo comes up during startup, but after a few minutes, the No System Folder symbol (or Empty Set symbol). Symptom occurs when using Tiger DVD, original OS DVD and Tech Tool Pro CD.
    Burning problem began about two months ago. System startup problem was only recently noticed.
    Changes:
    Recently, my company purchased Fuji white inkjet hub-printable DVD-R media for client projects. Before then, we used a generic brand from Edgewise Media (may have been unlabeled Fuji), IOMega brand, Maxell and Verbatim discs. All were white inkjet printable, but not all were hub-printable. It seems that the symptoms began with this new Fuji media, as the first one used was the first one to give me the problem. However, other media does not seem to be any better anymore. Only CD burning seems to be 100% effective. It is possible that this particular media somehow damaged my Superdrive. The media does not work in my Dual 1GHz G4 Superdrive, yet it works perfectly fine in another iMac G5 with the exact same specs, and my iBook G4.
    The question:
    Basically, I would like to know if anyone else has had a similar problem, and what was done about it. To me, it seems like a hardware failure, but since I cannot start up from a CD, I cannot use Hardware Test to find out. As I have been reading the threads, there seems to be a similar "this machine is a year old and never gave me this problem before" theme. My feeling is that I need to replace the drive using the Applecare warranty. The other option would be to get an external drive, which I don't want to do. Any ideas, thoughts or suggestions? Would Target Disk mode allow me to check the hardware?

    A few suggestions:
    See if your Superdrive needs cleaning. Cleaning kits can be purchased from any store that sells CD/DVDs.
    Make sure the CD/DVDs you are trying to use are not scratched and/or dirty.
    http://docs.info.apple.com/article.html?artnum=50448 How to Handle and Clean CD and DVD Discs
    Another help source (if you haven't already done so).
    Go to your OS Help Menu. In the search field type dvd
    Click on all the troubleshooting topics & Support Articles that pertain to your issue.
    You can also do the same in Disk Utility. Open same up.
    At the bottom left of the window, click on the purple button w/the "?" in the middle.
    This will bring up the Help Menu.
    Regarding your computer not starting up from your System DVD, try a 3rd party utility CD like DiskWarrior and/or TechTool Pro. Make sure you use the version compatible to your current OS.
    If none of the above works and/or no other user chimes in here, then I suggest that you contact AppleCare & get your $$$ worth before you consider purchasing any hardware. AC warranty covers hardware issues.
    You can also use the Chat with a Support Agent for support. The online chat support is available 24 hours a day, 7 days a week.
    BTW: I would like to thank you for describing your problem & your system in such detail. This makes it easier for the knowledgeable users to properly help you.
    Good luck!

  • I have a device that shows up in my airplay device list on my iMac, and my phone.  This device does not exist.  How do I get it out of the list? I would like to drop it before I add new airplay devices to my network.

    I have a device that shows up in my airplay device list in iTunes, and on my iPhone that does not exist.  How do I delete it? I have OS X 10.10.1 on my iMac, and iOS 8.1.2 on my iPhone 5.  I would like to get it out before I add new airplay devices to my network.

    I called Apple tech support.  The device turns out to be a WiFi extender.  I never would have guessed that the extender would show up on the list since I wouldn't think of it as an airplay device, and in the list, it shows a little speaker icon.  In the process of talking with Apple, I gained a greater understanding of how airplay works. 
    It turns out that there is no stored list of devices in a file on the mac, or anywhere else.  I have seen a lot of traffic on the web from people trying to modify this list, but there isn't one.  iTunes, and other devices simply poll the network for airplay devices from time to time.
    Have a very happy holiday!
    I would like to get rid of "just give me the aster, and stop wasting my time", and replace it with my name.  The Apple tech support guy never saw that before.  Just my luck.

  • Would like to mute speakers when on a call with he...

    I would like to have my speakers mute automatically when I make or take a call on skype with my headset.  And have it unmute when the call ends.  Is there a way to do this?

    http://community.skype.com/t5/Windows-archive/Skype-calls-disable-speakers/td-p/1421561

  • I would like to confirm my booking for training tonight at Rundle Place

    I am booked in to a training class tonight at the Rundle Place store, Adelaide, can you please send confirmation of my booking?

    You would need to contact the store - we are just users like you here on these forums.

  • While typing a doc in Word, the spinning wheel appeared and froze the Word document.  I had another Word doc open at the time.  I tried to force quit, but it didn't work.  I would like to save it before losing my work, but the spinning wheel blocks me.

    While creating a Word doc, the spinning wheel appeared and won't go away.  Another Word doc was open at same time.  How do I get this fixed while saving my work?

    rollrock wrote:
    How do I get this fixed while saving my work?
    Basically, you don't.
    The 'spinning wheel' is simply an indicator that an operation is taking longer than it should. It doesn't say anything about why, or even if it's an error or not. If it's in Word, it could be that the app is hung, or it could be that it is waiting for some kind of user input, or input from another app. (My bet would be on the former.) You could go into Activity Monitor, identify the process that's making it wait, kill it, cross your fingers and hope that it would generate an error that would cause Word to return control to the user (you). If you had the expertise, that is, and the moon were in right quadrant.
    Realistically, your only option is to force-quit Word. Once that is done, if AutoRecovery was on, then, with luck, you could recover much of your work. Here
    <http://kb.iu.edu/data/ahnd.html>
    you'll find a quick overview of AutoRecovery and how it works.
    If it wasn't on (it should be on by default), then you're out of luck. Chalk it up to experience, turn it on, and back to the grindstone.

  • I would like to confirm that the following file is part of the current firefox update: IdVault.XPCOM19.dll

    Norton Security flagged this file.

    Are you using Comcast (XFinity) Constant Guard Protection Suite? That is Norton licensed to Comcast. It appears to be part of that application designed by White Sky. See - http://www.isthisipsafe.com/company/White%20sky_details.aspx
    You can contact Comcast on a toll-free number - http://xfinity.comcast.net/constantguard/Support/?cid=NET_33_605

  • I would like to retrieve and save more recent calls?

    My recent call list keeps going away after one day.  Can I retrieve older "recent calls"

    I've never seen that; I have 100 calls, going back 6 weeks. Do you sync with a corporate Exchange server? If so your company may have set a security policy to delete calls after 1 day (although I did not think this was a policy that could be set).

  • Would like to know if I can connect a macbook pro and link to a PC in any way and still access the macbook pro's files. Display is out/have black screen. I want to back up before I send for repair, but don't own another mac to restart 7.

    Is there any way to connect my 2011 macbook pro to my PC laptop (Dell) so that I can get files off of the Mac? The display on the pro is out and I've got a black screen. The computer turns on. Actually it turned on one time after many tries and when I took it the Mac store the guy hit restart before I could stop him. I don't have another Mac to back up files to in restart 7 mode and I can't see my external hard drive to copy to when the computer has no display, so I am at a loss on how to get the files. I would like to get them before I send in for repairs. Any suggestions are appreciated.

    The only other thing I can think of is to pull the drive out and hook it to another machine with a USB enclosure. Something like this:
    http://www.amazon.com/Vantec-NexStar-2-5-Inch-External-Enclosure/dp/B002JQNXZC/r ef=sr_1_2?ie=UTF8&qid=1388312417&sr=8-2&keywords=2.5+enclosure
    Then you could read it like an external USB drive. It's easy to open up and get the drive out.

  • IMac late 2009 i7 2t HDD, Grey screen problem on rebooting, tried all support recommendations inc re installation of Yosemite,  now about to wipe HDD backing up from time machine would like to go back to mavericks on this 2 days before help please

    OSX Yosemite gray screen at startup, tried all Apple Support recommendations inc reinstall, now need to wipe HDD backing up from time machine, would like to backup 2days before Yosemite installation ie Mavericks help please

    Do a backup, preferably 2 seperate ones.
    Revert to a Previous OS X
    Revert Yosemite to Mavericks
    If you do revert, I'd use Setup Assistant to restore your data. This process takes a while, so do it when you won't need the computer for several hours, based on my experience.

  • I would like to find out if there is a formula to get the last value of the month.

    Post Author: Ajit Pawar
    CA Forum: Authentication
    Hi All,
    I am using BO 6.5 i would like to know is there any formula which will give last value of month in report.
    Further I would like to confirm if the formula I am to use for Max and Min is correct as:
    Minimum =Min(&#91;Q1&#93;.&#91;ValueAvg&#93; In (&#91;Q1&#93;.&#91;Parameter&#93;;&#91;Q1&#93;.&#91;Element&#93;;&#91;Q1&#93;.&#91;Date&#93;))
    Maximum = Max(&#91;Q1&#93;.&#91;ValueAvg&#93; In (&#91;Q1&#93;.&#91;Parameter&#93;;&#91;Q1&#93;.&#91;Element&#93;;&#91;Q1&#93;.&#91;Date&#93;))
    where Q1 is the query name.

    If you did not back up your iTunes library, the short answer is no, as the iPhone is designed to delete the music data when connecting to an new computer / hard drive.
    .......however there are some 3rd party softwares designed to do this, and if you seek these out, they will likely work for you. 
    Here is one I found by google searching - http://thelittleappfactory.com/irip/index_irip1.php

Maybe you are looking for

  • Why is Itunes cluttering my music folder with system files?

    Ok i was using windows 7 before this and it was fine. Then i reformatted my drive and put windows 7 again. Downloaded latest itunes v9 and installed. Copied my entire music library backed up on my external hd and copied it to the music folder under t

  • Process_Order API is not working in OM - r12.1.3

    Hello, I am writing a process_order API to create sales orders in Oracle from  Blanket Sales Agreements.  But below mentioned API is neither throwing any errors nor it is importing. Not sure what am I missing.   Complete code is mentioned below. Hope

  • 5th gen Ipod not recognized and not charging on any computer.

    Hello I have a 5th gen Ipod with an odd issue. I have an Ihome radio with Ipod dock in which my Ipod charges and plays everthing just fine. I usually just keep it there to charge and only hook up to my computer if I want to buy something or put other

  • Input of Multiple values in BEX Browser

    Dear All, Can I input multiple values i.e Can I copy values from a excel or a data base which are at random and paste in BEX Browser as a input variable. is there any way to do this operation. Note:- Values need not be in series as stored in table.

  • Changes in Sales order materail availabilty date.

    What is impact if we change Sales order materail availabilty date in sales order user exit using some program.