How to know what ActiveX references are still open

Okay, so I'm about the millionth person to post about this topic, but I feel like I know what I should be doing, but have hit a wall.  I have read through pretty much everything I could find in the forums about references and ActiveX.
I am communicating with Excel via ActiveX, and everything works seemlessly, until I realized that if the user closes the Excel sheet (via an "exit" button on my FP), the "EXCEL.exe" process is still running.  I've read enough to know that this probably points to a reference that I have not closed.
Problem is, I have poured over my code, and as far as I can tell, I have closed every reference, in the opposite order it was opened (as I read to do in a post earlier).
Aside from casting references to int's to see what is still considered "active" (as I mentioned earlier, all the ones I can find are closed, so this doesn't help me), is there a way to determine which ActiveX references are still open?
Even a way outside of LV?  A Microsoft utility even or ...well anything!  This is very annoying, and I know it should be quick and easy, I just have to know what is remaining open.
Or, am I missing something else that might be keeping EXCEL.exe running?  (yes, I have an application quit and close the application reference)
Thanks for any help

Hi Will,
As you said it yourself closing the same number of references as you open and using Application Quit should be enough to close down Excel.exe.
Did you run your code in highlight execution to see how the behavior of your program changes when you hit the "Exit" button on your Front Panel?
If you can post the minimum amount of code that reproduces the error, I will be more than happy to take a look at it.
Best regards,
Message Edited by Kalin T on 12-07-2006 03:11 PM
Kalin T.
National Instruments
Attachments:
activex_excel.jpg ‏16 KB

Similar Messages

  • Does anyone know how to see what apps are still open on lion? On snow leopard you just had to slide three fingers side ways I believe thanks

    Anyone know how to see what apps are still open on lion?

    If you do not have the light in dock active, activate it, or slide three finger up to open Mission Control or in Force qQuit all  open programs are listed (even the hidden ones).
    Hope that helps..

  • How to know what are all the Webservices available in P6V7

    Hi All,
    How to know what are the webservices available for integration in P6V7?
    Thanks,
    RR

    Information on Web Services for P6 are available in the Reference Manual that get installed along with P6 Web Service software. you will find the complete list there.
    Sachin

  • How to know what reports are running by looking at SSReproting Services to see what reports are running and also any clue of which application is using the reporting services?

    How to know what reports are running by looking at SSReproting Services to see what reports are running and also any clue of which application is using the reporting services?

    To see what reports are running, take a look at the execution log views that are available in the database.  Which views that are available are dependent on your version of SSRS.
    http://technet.microsoft.com/en-us/library/ms159110.aspx
    To see which application is using SSRS is a little more difficult.  You can turn HTTP logging on, which will give you an idea of where connections are coming from, so you can see IP addresses.  You can also look at the execution log view to see
    user accounts.  So, depending on your environment and use of service accounts, this could be easy, or difficult.
    http://technet.microsoft.com/en-us/library/bb630443.aspx
    If all else fails you can look for clues in the SSRS logs.  Good luck...

  • I have just updated my plug in & add ons, but they are several that say to research. How do I know what plug ins are necessary for mozilla to run properly. I really don't want a bunch of unnecessary downloads on my computer

    I have just updated my plug in & add ons, but they are several that say to research. How do I know what plug ins are necessary for firefox to run properly. I really don't want a bunch of unnecessary downloads on my computer

    None are '''''necessary''''' to use Firefox, but some parts of some web pages aren't going to work without a specific plugin being installed.

  • How to know what are the privs for one custom schema?

    how to know what are the privs for one custom schema?
    please suggest me......

    Hi,
    Check this user_sys_privs
    Cheers
    Pavan Kumar N

  • How to know what applications are currently running !!

    how to know what applications are currently running !!

    if it is in linux use "ps(Process Status)" command to know what is running currently.... for more see this link
    http://www.computerhope.com/unix/ups.htm

  • I couldn't update os in ipad1,how to know what apps are supported in os5

    HOw to know what apps supported by iPad 1

    Try this link to find apps whose current version is compatible with iOS 5.1.1 and below : https://sites.google.com/site/appleclubfhs/support/advice-and-articles/finding-a pps-for-older-devices#5.1.1
    Some developers allow you to download older compatible versions of their apps, so if it's an app is free you could try downloading the current version on your computer's iTunes and see if you can then download a previous compatible version via the Purchased tab in the App Store app on your iPad : Install the latest compatible version of an app on an earlier version of iOS or OS X - Apple Support . If the app is paid-for then contact the developer first and see if that will work, don't buy it and then find that it doesn't

  • How  I know what stored in my iCloud

    How  I know what stored in my iCloud?

    Check Settings>iCloud>Storage & Backup>Manage Storage.  If you want to see the actual data, look in the apps on your device that correspond to the data you are syncing (mail, contacts, calendars, notes, reminders, etc.).

  • How to find that 2 references are pointing to same obejct??

    how to find that 2 references are pointing to same obejct??
    i feel that hashCode and equals will not work as far as i understood from javadoc

    I wnat to know above because i want to check if ps in
    this loop is same object or on each iteration new
    object is created
    for (int i = 0; i < 10 ;i ++)
    PreparedStatement ps = con.prepareStatement(sql);
    ps.setInt(1,i);
    ps.executeUpdate();}
    Here's a better question. Why in the world did you put that statement in the loop in the first place, unless the variable 'sql' is modified within?

  • How to know what were line item dimensions

    Dear SDN,
    How to know what were made line item dimensions.
    Thankyou.

    Rahul,
    Go to the edit mode of your info cube and then check out your dimensions, there if the line item dimension check box is checked then it means that, that particular dimension is a Line item dimension.
    Regards,
    Gattu

  • HT5457 How I know what model is my iPad ?

    How I know what model is my iPad

    Go to support.apple.com/kb/HT5452
    I hope I helped!!!

  • How i know what my collection in adobe ?..

    Hello !
    week ago i buy my first mac
    and the people give me some collection of adobe about 16 software.
    he say it's all the softwares adobe has..
    but theres no after effects that i really need.
    i search in the adobe site the collection of mine..
    i think it's the premium beacuse all the software in the premium i have (just not premier and after effects).
    how i know what my collection ? and how to download after effects if it's the premium collection ?
    thank, tom.

    Hi Helen,
    At the Apple Icon at top left>About this Mac, then click on More Info, then click on Software>Applications.
    Unless you mean the OS version, then the Apple Icon at top left>About this Mac will tell you.

  • I am getting ready to sell a Mac app and I want to know what the specs are to create a custom background for my Mac App?

    I am getting ready to sell a Mac app and I want to know what the specs are to create a custom background for my Mac App?
    Here is a good example of what I am talking about: https://docs.google.com/file/d/0B28kNqQ8gmifRjRHam9wVnlrWG8/edit?usp=sharing

    You need to post your question in the Apple Developer Forums

  • How do I close all the apps that are still open?

    How do I close all the apps that are still open?

    You don't need to.
    The "task bar" that Demo mentions above is not, in fact, a task bar at all - it is the Recently Used Apps list. Not all of the apps in this list are open, running or in memory.
    iOS automatically handles closing apps that are not in use, so you don't have to manually manage them.
    Read this article from Apple for more information: http://support.apple.com/kb/HT4211

Maybe you are looking for

  • Does Mini DisplayPort to VGA adapter support DDC/CI?

    I have a Mac Pro and a MacBook5,1. Mac Pro is attached to a BenQ monitor which supports DDC/CI communication. With a capable software I'm able to set brightness and contrast of the monitor without using monitor's OSD (thanks to DDC/CI communication).

  • Restrict access to page in Dreamweaver MX 2004 PHP

    OK. I'm trying to authenticate users through a log in page, but it always fail. I have a index.php, which ask for username and password. It checks for username password in a MySQL table. Then I have update.php, once authenticated users can update som

  • How to read a text file and only output every other line?

    I am just writing a program that reads a file but outputs only every other line. Any ideas...please? thanks

  • "Binary search" in READ

    Hi frnds,   I sumtyms  dont get the desired result while using the "BINARY SEARCH" addition with the "READ" statement. y is that? is there any rules to be followed to use binary search option in read statement. Regards, Madan...

  • Cannot change account.

    So, my gmail account is now disabled and I want to change my primary email address to another email. Before I  can save it, the website prompts me for my password. I know my password, but it says it is wrong and won't let me use skype.