Opening the activeX control "Excel.FormatCondition" class

I am using activeX controls for excel including the classes Excel._Application, Excel._Workbook, and Excel._Worksheet. I used an open automation refnum to open the application class, then I used property nodes to get to the workbook and worksheet classes. Now I want use the Excel.FormatCondition class. I couldn't get to the class with nodes and methods, so I'm using an open automation refnum as before, but I'm getting "Error 3005 occurred at Automation Open".
I found another post with advice to register the controls, but I read that the excel activeX controls don't need to be registered--they just work in windows.
If I do need to register something, I dont' know what. I'm using LabVIEW 8.6, and Office 2007.
Andrew
Solved!
Go to Solution.
Attachments:
formatcondition.PNG ‏4 KB

Here's a picture (scaled-down excerpt of my project) to show how I'm opening the application class and using invoke nodes and property nodes to get to the workbook and worksheet classes. I used a cluster to group the classes that I use later on, so you'll notice that I'm not closing the classes in this exceprt.
I went through all the drop-down menu's in the invoke nodes and property nodes and I couldn't find a way to get to "FormatCondition" so I figured I'd have to use an automation refnum, and select the "Excel.FormatCondition" class, and another automation open (which is what I tried showing earlier). I understand I have to specify a range, but I'm not quite there yet. (Sorry if I mis-led you, Michael, with my first attachment.)
Does that clear up my question?
Andrew
Attachments:
ExcelCodeExcerpt.PNG ‏20 KB

Similar Messages

  • "the activex control for flash player could not be registered" - Solutions Roundup

    I recently ran into this problem on my computer:
    http://at32.s3.amazonaws.com/flash_install_problems2.jpg
    I am a Flash developer (as in I write SWFs, I don't work for Adobe).  and when I updated IE to 10.2, "the activex control for flash player could not be registered".  Since I am a developer, I also have Firefox and Chrome installed, with Flash running without problems.  For a long time now, Internet Explorer has used a different version (ActiveX) to the other browsers, which use plugins.  I am a strong supporter of Flash, it's great to develop with and has a very wide feature set which is growing all the time, unlike fixed technologies/standards.  However, the weakest part is the install process - I don't understand why their is a Download Manager.  Google Chrome does it's best (so far) by managing the install/update process entirely in the background.  Anyway, it was in my best interest to try and get to the bottom of this.
    For the record, on the problem machine I have Windows 7 with IE8, but I have seen almost  identical symptoms with IE9, Windows XP SP3, as well as various  iterations of Flash Player (10.0, 10.1, 10.2 and even some final  editions of version 9).
    First I tried the standard support here:
    http://kb2.adobe.com/cps/191/tn_19166.html
    Basically, doing the manual uninstall and manual install of the latest version (without using the download manager, or have IE open).  This did not work.  I also tried the Microsoft "subinacl" program, together with "reset_fp10.bat".  This didn't work either.  However, you should try all of these things first before progressing further.
    A quick note about people who had tried running the following at a command prompt: "secedit /configure /cfg %windir%\repair\secsetup.inf /db secsetup.sdb /verbose"
    I didn't do this, because on investigating further it didn't seem to work with Windows 7, only Windows XP, Windows 2000 or Windows 2003 - though there was a few threads where this had fixed the problem for some users.
    For my solution, it is recommended you use the manual uninstall / installers, so you should have them downloaded ready to use.
    I then heard about problems with permissions in the registry with the key: HKEY_LOCAL_MACHINE\Software\Classes\shockwaveflash.shockwave
    So I opened regedit.exe (start - run - typed "regedit.exe"), navigated to the key and sure enough, I couldn't open it - permission denied - even though I had an administrator account.  If for some reason, you can access this key (and any subkeys), then it's likely the following fix will not resolve the problem.
    I then done further diagnosis, by using Process Monitor to try and install Flash Player, and I got the following:
    http://at32.s3.amazonaws.com/flash_install_problems.gif
    This shows all the access denied errors the Flash Player install was experiencing when trying to write to the registry key.  This confirmed that this was the problem.  I only stress this because several people said it was unwise to tinker with the registry.  Though this is common advice, this is the only known fix for this precise problem at present, since you need to manually adjust the permissions yourself.  I don't know who is at fault here - Microsoft or Adobe - but let's just get Flash fixed...
    The solution:
    Firstly, you may want to backup your registry, or the exact key.  I didn't do this so I've provided no instructions on how to, but it is recommended for the paranoid.  Also make sure as much software is closed down as possible - browsers, IM software, any junk in your system tray. As way of example, I happened to have "BBC iPlayer" installed and running in the background which uses Adobe AIR and Flash Player, so I exited that too.
    1) Open regedit (start - run - type "regedit.exe").  You may need to right click on it and select "Run As Administrator", but I didn't as my account was already administrator.
    2) Navigate to the key. HKEY_LOCAL_MACHINE\Software\Classes\shockwaveflash.shockwave
    Click on it to confirm that you cannot access it (you will get an error) - if their are no problems - this probably isn't the cause of your issues.
    3) Right click on it and click Permissions, and ignore any message that may pop up.
    4) Under "Group or Usernames" click "Add".  Type your account name name, or "Administrators" in the box, then "Check Names" to format it correctly, then Ok.
    5) Now on the next screen click the checkbox to enable Full Control (this will also automatically enable "Read" permission too).
    6) Click Advanced, then the "Owner" tab at the top.  You will see that their is no "Current Owner".  This is what we will now fix.
    7) Click on your name to change the owner to (I went for Administrators).  Also enable the checkbox entitled "Replace Owner on subcontainers and objects".  Then click Ok.  You will get an error message, which you can try clicking Retry to, but hit Cancel - this is not a problem.
    8) Click Ok a couple of times and this part of your registry is now fixed.
    9) Now it's a simple case of running the manual Flash uninstall program, then finally the manual Flash installer (for Active X - not the Firefox/Chrome plugin versions).  To my surprise, after a couple of days looking into this - I finally had a solution and Flash in IE once more.  If you are using Firefox too you may find Flash is no longer installed their (the uninstaller removed it).  In this case just install via the Adobe site or try to watch a video on You Tube and you will be prompted or linked to the install.
    Hope this provides a good round up of the possible solutions to this problem.  Hopefully Microsoft or Adobe can find out what causes this issue in the first place so we don't have to go down this route for much longer.  Chrome's implementation of Flash shows how effortlessly things can work!

    They will stay on the screen.  However, Process Monitor is only intended for advanced users.  It is recommended that users try to navigate to the troublesome registry key using regedit, and see if they can access it or not without an error.  This is far easier than trying to use Process Monitor, which is very complicated.
    I used Process Monitor to confirm that it was just that key which was causing the problem, and not others.  Process Monitor is not to be confused with the new Resource Monitor which is accessible via Task Manager in Windows 7 (and possibly Vista).  If you must experiment (and Process Monitor is very useful for diagnosing many deep-level problems if you know what you're looking for) Process Monitor can be downloaded from here:
    http://technet.microsoft.com/en-us/sysinternals/bb896645
    It replaces the older Sysinternals "FileMon" and "RegMon".  For those interested in the technical side, I had to setup a number of filters to be able to get the results display as in the screenshot.  First of all to just show Registry events.  Then to just show events from the manual Flash activeX installer executable.  The I added a filter to show only non-successfull results.  And finally, for the purposes of the screenshot, added a filter to just show those with "Access Denied", since other non-critical errors are also picked up due to missing keys because installation has not yet been fully completed I guess.   When experimenting, most of these filters were applied using the "is not" boolean logic, which will make sense if you experiment with the program.
    Without adding any filters, it picks up so many events (hundreds per second) that it's otherwise unusable.  e.g. 40,000 events within the first few seconds of opening the program. For this reason, I recommend simply using Regedit to diagnose the problem with the particular Flash registry key.

  • Problems with automation open for activex control

    Hi,
    I want to open an ActiveX Control (.ocx-file) with the Automation Open function. This .ocx file was successfully registered by using regsvr32.
    The VI is working fine after using Automation Open and all the contained classes are accessible.
    However, after saving the VI and opening it again the error 2147221164 appears and the program failes - referencing the object new at the Automation Open functions solves the problem, but only till the next reopening of the VI.
    Hope somebody has a solution for this "instability"... 
    Sorry for bothering and thanks for any help!!!

    Hi smercurio_fc,
    originally i had a dll written in c++ which contained classes - i wrapped this in a activex control to have access via labview. Im calling the activex control with the automation open function in same VI in which i am also using property nodes and invoke nodes to have access to the classes and methods...
    But as i told before, it happens that Automation Open fails, when starting the VI again after closing(saving), even so it was working perfectly fine before...
    Thanks for your response... 

  • Is it possible to querry all of the Virtual Instruments in a VI using the ActiveX Server Virtual Instrument Class?

    Is it possible to querry all of the Virtual Instruments that exist in the Front panel of a VI using the ActiveX Server Virtual Instrument Class? I can't seem to find a method or property that returns all the Instruments I may want to control from another application.
    I wish not to have to reference to the VI to figure the ControlName by looking at the VI FrontPanel.
    But rather have a prop that exposes the strings of all the Instruments.
    Example:
    allinstr=ObjectVIInstrument.VIControlNames
    Object.SetControlValue(AllInstr(1),value)
    Thanks.
    -Abe

    Abe,
    There is a VI method called "Get All Control Values" that returns an array of {name,typedesc,flatstrvalue} but this method is not exposed to ActiveX interface, most probably because type descriptors and flattened strings are data format internal to LabVIEW.
    However you can make a subVI that inputs the target VI name and returns the name of all controls on the Panel invoking the internal method. Then you call this VI via ActiveX to retrieve the list of Front Panel controls of the target VI.
    LabVIEW, C'est LabVIEW

  • How to install the ActiveX control

    hi Can some one help and tell how to install the ActiveX control.
    Thanks

    ActiveX runs on Internet Explorer. Which in turn only runs on Windows computers.
    So NO, we can't.

  • The activex controls for flash player could not be registered

    the activex controls for flash player could not be registered
    i have had this problem for a while and cannot seem to get around it please post anyreliable suggestions

    Just to add some additional misery to this thread. I have this exact same issue. Windows 7.
    The issue started several weeks ago, when a flash update failed to install. Everything seemed fine other than every reboot, this flash update would fail (and in fact would "hang"), but flash itself continued to work.
    Yesterday, it stopped completely. It said flash wasn't installed.  I've tried:
    1. Completely uninstalling flash (it is not in Add/remove programs) but using the techniques and videos offered by Adobe to remove the files, using their uninstaller, etc.
    2. Perform the fix as outlined in http://forums.adobe.com/thread/987370 which including installing SubACL, the batch file, etc.  The batch file ran successfully, but did not solve the problem.
    3. I've tried Windows System restore, but it doesn't seem to go back far enough.
    4. I've tried the fixit identifed above in this thread and while it solves certain problems, still doesn't solve my issue.
    5. I've tried installing using the stand alone EXE and MSI from Adobe.
    6. I've tried the 11.9 beta.
    None of these have worked and all result in the "failed to register" error.  I'm currently using the flash built into Google Chrome as I needed to have some working flash component.
    Anyone else have any ideas whatsoever short of a Windows reinstallation?

  • How do you fix the ActiveX controls?

    When trying to play games in IWin the message comes up and says and beeps that the ActiveX controls isn't working on some level. Do I need to worry about this message? If I do, how do I go about fixing this problem. Do I need to upgrade this control?

    Hi idpress2002, the only browser that runs ActiveX controls is Internet Explorer.
    Can you run the demos on the Ajatix page here in your Firefox: [http://www.ajatix.com/lightbox/expression-web-add-in.html]? (Scroll down to "Lightbox examples")
    ''If so,'' you may need vendor support on how to get it to work through Expression Web in your page.
    ''If not,'' your Firefox may not be configured correctly. Please start a new question providing your system details and add-on information. You can do that here:
    https://support.mozilla.org/en-US/questions/new/desktop/websites

  • The ActiveX control cannot be instatiated --VC++

    When I try to insert any Javabean ActiveX control in VC++ resource dialog(design time).. I get the following error..
    "The ActiveX control cannot be instatiated"..
    If I create it at runtime..It does not get painted..
    if I resize my application my control appears and then disappears
    If I try in Visual basic.. I am able to insert the control
    and run.. but it crashes at the very end..
    Any ideas

    I have also had painting problems when embedding a ActiveX'ed Java bean into
    a VC++ application. I think what we did was a transparent background. For some
    reason the background from the VC++ application painted over the ActiveX'ed bean.
    I cannot remember all the details now, but it was definitely a problem with the background
    from VC++.
    Sylvia

  • "An error occured saving the ActiveX control"

    I pulled up an old LabVIEW program today
    that I used to work on under Win-NT.
    Now I use Win-XP.
    We're talking about LabVIEW 5.1.1 on this program.
    The program suddenly throws
    "An error occured saving the ActiveX control"
    when I try to save the program.
    Never saw this under NT.
    Anybody knows what this is about ?
    Martin

    Thanks for posting but we need more information.
    Do you have activeX controls in the VI? Are you using 3d graphs? Does the VI run on XP? What version of LabVIEW do you have?

  • "an error occurred saving the activex control"

    I'm trying to compile an executable in Labview 5.1. When I run the build app, it gets about half way done then pops up the error:
    "an error occurred saving the activex control"
    After clearing the error message, it proceeds to go through the motions of compling the app, but no exe is generated.
    The design mode progam run operates fine, and it saves fine as well in design mode.
    Thanks!

    wawatts,
    Though Brian and I got a broken arrow because we didn't have the necessary ActiveX component installed, I imagine you get no errors on the development system because you do have the component.
    This problem would be much harder to pin down on your side given the lack of development-environment errors and the sprawling design of the main VI. One possible troubleshooting approach would be the LabVIEW Find functionality (Edit >> Find). ActiveX functionality typically involves the use of Property Nodes and Invoke Nodes, so if you search for any Invoke Nodes (Select Object, then Functions >> Communication >> ActiveX >> Invoke Node) in the scope of your main VI and its subVIs, you could perhaps have turned up some hits that take you to the subVI that has the control that is presumably causing the problem.
    Unfortunately, I fear that finding the problem area doesn't solve the problem. It seems to me that either the LabVIEW app builder or the ActiveX component is doing something unexpected or nonstandard that is leading to the error message.
    I'm going to stick to my "upgrade the software as much as possible" guns:
    1. Install the LabVIEW 5.1.1 patch I linked to above, if it isn't already installed. There were fixes to the development environment and changes to the app builder that might resolve your problem. This is a free patch.
    2. Consider upgrading the ActiveX control. I think that the latest version is called IntuiLink for 54600-series Oscilloscopes, Version 3.1, and it's available here on the Agilent site.
    It was easy to do a simple test using your Xezgetsetup.vi on my system (LabVIEW 7.1.1, XP) with the updated ActiveX control. First, I installed the Agilent software. Then, I right-clicked inside the ActiveX control on the front panel of Xezgetsetup.vi, chose Insert ActiveX Object, and selected Agilent 54600 Scope Control from the list. Then I had to go to the block diagram and relink a few of the property and invoke nodes by just left-clicking on broken nodes and re-selecting the items that your code was already displaying. That fixed the VI so that it would run again.
    Then I built that VI into an EXE and got no errors.
    Perhaps all this proves is that you would have clear sailing if you upgraded to LabVIEW 7.1 and got the most recent Agilent ActiveX control--and maybe this is a good reason to bite the bullet and do that upgrade now--but it's certainly possible that you can do the same thing in 5.1 and solve your problem. Worth a shot.
    Hope that helps,
    John

  • ORA-00210: cannot open the specified control file

    Hi all,
    Initially we faced the following error:
    ORA-00214: control file '+DBDG/dws/controlfile/current.256.638648487' version
    75647 inconsistent with file '+FLASHDG/dws/controlfile/current.256.638648489'
    version 75645
    Then the following action:
    RMAN> restore controlfile from autobackup;
    Starting restore at 05-DEC-07
    using target database control file instead of recovery catalog
    allocated channel: ORA_DISK_1
    channel ORA_DISK_1: sid=997 devtype=DISK
    recovery area destination: +flashdg
    database name (or database unique name) used for search: DWS
    channel ORA_DISK_1: autobackup found in the recovery area
    channel ORA_DISK_1: autobackup found: +flashdg/DWS/AUTOBACKUP/2007_12_04/s_640476511.697.640476513
    channel ORA_DISK_1: control file restore from autobackup complete
    output filename=+DBDG/dws/controlfile/current.256.638648487
    output filename=+FLASHDG/dws/controlfile/current.256.638648489
    Finished restore at 05-DEC-07
    RMAN> recover database;
    Starting recover at 05-DEC-07
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03002: failure of recover command at 12/05/2007 15:16:10
    ORA-00210: cannot open the specified control file
    RMAN>
    Any idea why this is happening?
    Regards,
    Soma Sekhar Karri

    Something which you should have looked up prior to posting
    00210, 00000, "cannot open the specified controlfile"
    // *Cause:  Cannot open the controlfile.
    // *Action: Check to make sure the controlfile exists and is not locked by
    // some other program.
    Sybrand Bakker
    Senior Oracle DBA

  • Pages software in 10.8.3 does not support work done on microsoft office 2004.  Pop us says "You can't open the application "Mircosoft Excel" because Power PC applications are no longer supported.  What can I do now?

    Pages software in 10.8.3 does not support previous work done on microsoft office 2004.  Pop up says   --  You can't open the application "Mircosoft Excel" because Power PC applications are no longer supported.  What can I do now?

    Use Numbers, OpenOffice, LibreOffice, Microsoft Office 2008 or newer, Google Docs, or similar tools to open the files.
    (85829)

  • As of today, I can no longer or Excel.  I get this message: You can't open the application "Microsoft Excel" because PowerPC applications are no longer supported.  Is there a fix for this and why ha this all of the sudden happened.  I've rebooted 2x

    As of today, I can no longer or Excel.  I get this message: You can’t open the application “Microsoft Excel” because PowerPC applications are no longer supported.  Is there a fix for this and why ha this all of the sudden happened.  I've rebooted twice and that hasn't worked. 

    The application may be corrupt. Un-install and re-install Office.
    Office 2011 Removal
    Office 2011 Removal (2)

  • I can't get my pc to open the icloud control panel?

    I can't get my pc to open the icloud control panel?  I have it all set up on my iphone and I've followed the instructions to install icloud on my PC, but when I go to control panel, icloud and click to get the control panel, nothing happens?

    If you have Norton Security on your PC  you need to turn off the Browser Protection in Firewall/intrusion & browser protection tab.  It will give you the option to auto turn it back on in 15 minutes. I did this & Icloud worked correctly.
    Valdav.

  • Using office outlook under parallel desktop double click on an Excel attachement does not open the document in Excel

    using office outlook under parallel desktop double click on an Excel attachement does not open the document in Excel.
    double-click opens Excel Office 2011 for mac without the document.
    It should open the document in Excel 2010 for Windows.

    In Parralells, choose the file you want to open.
    Right Click on it and choose Properties.
    In the General Tab you will see "Opens with:"
    Click the "Change ... " button.
    Then choose Excel 2010. The checkbox below should be set to "Always use ... "

Maybe you are looking for

  • Problem with out variable

    I have been working for months with java and all of a sudden today when i was compiling a program i got an error stating that the variable out can't be. To confirm my suspicion that somrhtings wrong i wrote this program and tested it class Example   

  • .JAR woes. It just refuses to work for me :-(

    I spent a week building a simple java app from a C program I wrote a couple of years ago. The process has not been without tears, but I've enjoyed it. That is, up until the point of trying to make it into an 'executable' jar file. No matter what I do

  • Different letter format in IT906

    Dear gurus We have  2 personnel areas, and the process and communication letters are different from one another (like promotion, transfer letters etc) In infotype 906 Additional Data for Corrs. Letters, is it possible to maintain more than one subtyp

  • Transport Released to QAS in Error

    I mistakenly released Some oneu2019s transport u201CRD1K930971  .  I am not sure if it will have any ill effects in QAS or not. Hi Experts, Is there a way to fix that mistake? Thanks,Sirisha

  • DB Shrink

    I am planning to Shrink a DB thats been in use for several months. I was going through information in this link - http://technet.microsoft.com/en-us/library/ms189080(v=sql.105).aspx and came to know if the Database is been using indexes, not to shrin