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
-
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,
RRInformation 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?
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 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 javadocI 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?
Here is a good example of what I am talking about: https://docs.google.com/file/d/0B28kNqQ8gmifRjRHam9wVnlrWG8/edit?usp=sharingYou 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
-
Error occured while converting the file . . . . . .
While trying to import a music CD into iTunes, I get the following message: Error occured while converting the file "Handel: Messiah, HWV 56 - Sinfony". You do not have the privelege to make changes. The song in question is: Handel: Messiah, HWV 56 -
-
in iPHOTO is there a way where I can paint a black arrow or add a pre-set arrow ( from font menu ) onto one of my photos to point out a certain detail / location. Please be kind and advise, manfred frrom Jupiter
-
Upload binary file with DSEEntry
Hi , I have created a Class for a upload pictures to the IDM Database . Now I have the problem with the upload.... and the mssql datatype. At the moment the type is binary(max) is there any option to add a byte[] to DSEntry.put ? It seems that DSEntr
-
Hacking Leopard to support the Olympus E-3
A while back, I tried this hack in an attempt to trick Aperture into supporting my Olympus E-3. I added the following line to Raw.plist: <key>Olympus E-3</key> <string>Olympus E-510</string> updated the hash in CodeResources, restarted the machine, a
-
SSHR: Leave of Absence API
Hello All, I want to add Leave of Absence for an employee using API which should generate Approval notification. Can anyone please guide me to get the API to add Leave of Absence. - Priyanka