How to find references to ActiveX control

Is there a way to determine where an activex control is used within a labview project?  I have a moderately large project that previously used an adhoc combination of XML parsers, including the ActiveX XML parser from Microsoft (MSXML).  I am trying to replace all instances of MSXML with either the builtin labview XML VI's or calls to our own DLL that make more complicated sequences of calls to the Xerces/Xalan XML libraries.  I want to make sure I replaced all references to the MSXML parser without having to inspect all the VI's in the project.  I was hoping that I could right click on an "Open Automation" function block and select the "Find All Instances" option, but apparently this is not availible as it is for a VI I created.  Also, I was hoping that if I went to the Project Explorer, it would show that the msxml.dll file was listed as a dependency where I could do a "Find Callers" like an ordinary dll referenced through a "Call Library Function Node".  Does anyone have a suggestion on how I can automate this search?  
Thanks.
Solved!
Go to Solution.

The "Find all Instances" is only available for VIs that you create, but you can still search for the Automation Open function in your project. Just open your project and open up a VI. Then select Edit -> Find and Replace. In this dialog you can search for specific functions across the entire project.

Similar Messages

  • How to find out which data control do the page layout components come from?

    hi,
    work in Jdev 11.1.2.3
    After have drag and drop data control into pages designer, how to find out which data control do the page layout component (such as a field in form layout) come from?
    --i cannot find data control related information in the property pallete for the page layout component.
    Regards.

    This information can be found in the page definition file.
    Select the field in the page and then click the binding tab.

  • How can I reference a winforms control using a variable in Powershell?

    I have a powershell winform that has a lot of text boxes, but for the sake of this post, lets say I have 5. I want to loop through the 5 text boxes to see if their text property is empty. If the textbox contains something, I want to add the text value to
    an array. Here's an example of what I'm trying to do.
    textbox1.text = "Red"
    textbox2.text = ""
    textbox3.text = "Blue"
    textbox4.text = ""
    textbox5.text = ""
    $MyArray = @()
    for ($i = 1; $i -le 5; $i++) {
    If ($textbox[$i].text -ne "") {
    $MyArray += $textbox[$i].text
    I realize the textbox object is not an array so this code will not work. I guess the simple question is, How can I reference a set of static controls using a variable without having to do something like this
    [object[]]$textboxes = New-Object System.Windows.Forms.TextBox
    For ($i = 1; $i -lt 5; $i++) {
    $textboxes += New-Object windows.forms.textbox
    $textboxes[$i].DataBindings.DefaultDataSourceUpdateMode = [System.Windows.Forms.DataSourceUpdateMode]::OnValidation
    $textboxes[$i].Name = $textboxes[$i]
    $BoxItems.Controls.Add($textboxes[$i])

    Hi D-Dub,
    here are two ways to retrieve the text value of $Textbox1:
    $Textbox1.Text
    (Get-Variable "Textbox1").Value.Text
    Now what could you do with the second way, inside a loop, I wonder ... ;)
    Cheers,
    Fred
    There's no place like 127.0.0.1

  • How do I update my ActiveX controls without breaking existing VIs?

    Hi, I'm new to LabView. I've inherited a labview application that makes use of several user-written VIS. All these vi files use an ActiveX control. For better or worse, the way they've done it is to put a ActiveX Container on the front panel. They then picked "Insert ActiveX Control", and picked the correct OCX. In the block diagram, they set up a "Invoke" Node and wire the ActiveX control to that.
    The problem occurs when I update the ActiveX control. I added a couple of methods and reregistered it. When I run one of my vi files, I get:
    Error 0 occurred at VI Open & Init Spinstand
    Possible Reasons....
    I then thought that going to the front panel and deleting the ActiveX control and reinser
    ting it would work. Instead I got the message:
    Error 1598667368 occurred at VI open & Init...
    I should point out that I'm not even attempting to use the new function yet; I'm just running an old .vi file with the updated ActiveX control.
    The version of LabView I'm using is 6.0.2. Can anyone tell me what's going on? Is there a way to gracefully update the ActiveX control? I'm I adding ActiveX controls in the best way?
    Any help or references would be greatly appreciated.
    Thanks,
    Andrew Walker

    Updating *.OCX OR *.DLL Component When Active X Automation Interface has Changed
    Given that you have changed the ActiveX automation interface, e.g: by appending new functions, then, the original 'registered' ActiveX server automation interface is no longer compatible with the new one.
    In this case you must: (1) �un-register� the original interface; (2) Copy the New *.OCX/*.DLL File over the previous ones; (3) Then �re-register the new interface�; (4) After that you must visit ALL your LabVIEW Diagram �PROPERTY� and �METHOD� ActiveX automation nodes and re-reference those same functions.
    These FOUR (4) Steps are further explained below:
    1. Unregister the *.OCX or *.DLL file by running the command
    Regsvr32 /u ��
    Make sure that points to the full path name for your *.OCX or *.dll file. You must use the opening and closing quotes if your file path has spaces.
    2. Copy the new *.OCX or *.DLL files over the old ones
    This means that you will be over-writing the old *.OCX or *.DLL with the new files. Replacing these files is re-commended so that you do not end up with multiple copies of the same file.
    3. Register The New *.OCX Controls
    Register the new controls by running the command
    Regsvr32 ��
    This will now honor your new ActiveX automation interface in place of the last one.
    4. Re-Visit All �PROPERTY� and �METHOD� Nodes and Re-Reference the same functions that appear in those nodes
    This means that you will be right-clicking on all the existing PROPERTY and METHOD nodes and choosing the functions accordingly from the drop-down list-view/menu. If the list view is grayed-out, then Steps 1 to 3 did not take!
    NB: GOTCHA FOR *.DDL Users
    If you have sub-VIs that use the *.dll Ref icon then you will have to cut and re-insert this reference control in all those sub-Vis. A quick way is to copy the top level *.Dll ref icon and paste it over the control and indicator versions of the same in those sub VIs.
    These four Steps plus the 'Gotcha Step' have worked consistenly when I have had to update ActiveX controls featuring a changed automation interface.

  • 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

  • How do I make my ActiveX Control behave like a LabVIEW native control?

    When a user drops my ActiveX control onto a Front Panel and then views the Diagram, I would like him to see a terminal outputting a specific property value instead of the reference number. In short, I don't want him to have to go to the extra step of creating a Property Node to access the property value.

    > When a user drops my ActiveX control onto a Front Panel and then views
    > the Diagram, I would like him to see a terminal outputting a specific
    > property value instead of the reference number. In short, I don't want
    > him to have to go to the extra step of creating a Property Node to
    > access the property value.
    You can make it drop a prewired property node when they drop the control.
    It isn't hard, but there are a few steps involved.
    To do this, make a VI that has your control configured the way you want,
    and on the diagram have it wired to a property node with the correct
    selection and direction. You should also make an icon that will show
    up in the palette. Save this VI somewhere like user.lib. Now
    you need to edit the palettes and add this as a Merge VI.
    Open the Controls palette and click on the ... button. If using LV5,
    choose Edit Controls and Functions Palette from the Edit menu.
    Once editing the palettes, make your own palette set and give it a name.
    Now choose a place in the palettes to add the .vi file. Right click and
    Insert and Custom Control(s)... This will bring up a file dialog that
    is filtering for .ctl files. Change the filter to allow all files.
    Select the .vi file that you saved earlier.
    To give this to others, you may want to make this a bit differently.
    You can place the VI and .mnu file into user.lib and a few other places
    and it will automatically be added to the LV palettes.
    Anyway, once the VI is available in the palettes, it will merge the VI
    contents into the VI, exactly as the 3D graph does.
    Greg McKaskle

  • How to create array for activex control

    Now I am using microsoft form 2.0 combo box activex control in LabVIEW. My problem is I cannot create control array for the combobox like in visual basic. In visual basic, if we want to create control array for combo box or else, we just copy and paste onto the same form.
    For example if I copy combo1 and paste it onto the same form it will become 2 combo box i.e combo1(0) and combo1(1). So,how can I make same like that in labview using that activex?

    I'm sorry,I do not really understand. I've tried what have you told me by using automation refnum, but it is not working.
    I attached the file. if, let say , I want to make this three combobox red back colour simultanously, how to do it?
    Attachments:
    combo_box_activex.vi ‏28 KB

  • How to get reference of UI controls in a JSON Controller?

    Hi Experts,
    This time I was looking to create a JSON view and I was successful in creating and including various UI controls in the view. However, I am not able to get the reference of the UI controls within the controller. Initially, I thought using same set of methods of CORE I can get their reference. But I, I am not able to see any thing getting filled.
    Please find the below screen shots about my view definition and controller implementation.
    Please provide some inputs
    Regards
    Pavan

    Hi Robin,
    Ok, then Let me conclude my understanding based on your opinion
    1. A View definition consists of UI controls, and their associated binding definitions(anything missing?)
    2. A Controller consists of Model implementation , and as you said initializations, event handlers, and helper methods.
    If my understanding is correct then an application can have various models and do the view recognizes or  understands all of them.  Otherwise what kind of approach should we follow.
    In the controller definition do I have to include the line sap.ui.core.getCore().setModel() for each of the models that I define. As per my understanding this statement makes the model available for all the elements within the view.
    Please correct me if my understanding is incorrect.
    I agree with your point but still if I have to access the reference of UI element in the controller how can I get that in the above context.  Please Share some inputs
    Thanks for pointing me in right directions
    Regards,
    Pavan

  • How to find references of a Property in the class through code? similar to 'Find All References' in Visual Studio Environment.

     Hello,
    I am trying to find a code to find all the references of the property defined in a class which is very similar to 'Find All References' function available in Visual Studio environment. But I want to have it in code during run time. How to do it?
    e.g 
    =>Property 1
    private int _Salary;
    public int Salary()
    get{return _Salary;}
    set{_Salary = value;}
    => Property 2
    private int _Bonus;
    public int Bonus()
    get{return Salary * 2;}
    Like in the above example I have two properties Salary & Bonus. Bonus is calculated from salary. As soon as I set a value to Salary, value of Bonus gets updated. 
    Similarly I want to get reference of all other properties or methods in the class or program which are affected when value of Salary is changed through code. 
    Conclusion - I want to have a method or function, so that whenever I set a value to some property in a class, I want to have a list of all the other properties(List<Property>) or methods which are affected and in which the changed property is referenced.
    Please help me to achieve this.
    Siddharth.Shinde

    This is not something possible, as requested, even with reflection.
    I can't find the reason for having that kind of implementation at runtime.. your compiled assembly is not going to change once it's compiled.
    The way references are listed from within visual studio is probably using metadata gathered from the background compiler. When you write code, the compiler run pre-compilation tests, this is the same feature that will display error in your code before you
    compile, or complete your intelisense for types that aren't even compiled in the assembly.
    So, the only way for you to analyze this kind of thing would be to use something like ILDASM to disasemble your compiled libraries and gather metadata from the resulting MSIL. That would not work if you are using code obfuscation by the way.

  • Weblogic Workshop - How can find references to file ?

    I was wondering if weblogic workshop has the ability to search for the references of the file. Say i have a Class A and i need to find in what all class is this Class A referenced. I know Eclipse supports it but i am unable to find the same in Weblogic Workshop.
    Can anyone tell me how can i do this ?

    Load a file app into the phone.
    You cannot get the photo out of Time Machine backups, only files stored on the TC.

  • How to Find references to a method or a constant?

    I want to programmatically find the references to a method or a constant defined in a class.
    For example, in Eclipse you can right click on a class, select 'References', and you can get a list of all the places throughout your code that references the class.
    How can I do this programmatically?
    Thanks,

    This is not something possible, as requested, even with reflection.
    I can't find the reason for having that kind of implementation at runtime.. your compiled assembly is not going to change once it's compiled.
    The way references are listed from within visual studio is probably using metadata gathered from the background compiler. When you write code, the compiler run pre-compilation tests, this is the same feature that will display error in your code before you
    compile, or complete your intelisense for types that aren't even compiled in the assembly.
    So, the only way for you to analyze this kind of thing would be to use something like ILDASM to disasemble your compiled libraries and gather metadata from the resulting MSIL. That would not work if you are using code obfuscation by the way.

  • Error 46: Could not load or find the QuickTime ActiveX control

    Bought QuickTime pro, and this is the only thing that happens when i try to open the player. Any assistance for me would be appreciated. I'm quite sure these others in the following posts would like an answer as well.
    On Apple Forums: posted Posted: Oct 23, 2007 4:22 PM -yes, 6 weeks ago
    http://discussions.apple.com/thread.jspa?threadID=1191626&tstart=60
    Off Apple Forums:
    http://forums.afterdawn.com/thread_view.cfm/332545
    http://www.rllmukforum.com/index.php?showtopic=105657
    http://forums.anandtech.com/messageview.aspx?catid=32&threadid=2051213&enterthre ad=y
    http://salvius23.blogspot.com/2005/11/for-crying-out-loud.html
    http://forums.techarena.in/showthread.php?t=540521
    http://www.devhardware.com/forums/apple-hardware-70/error-46-when-installing-itu nes-quicktime-95113.html
    http://www.webuser.co.uk/forums/showflat.php/Cat/0/Number/231410/an/0/page/25
    http://forum.pcmech.com/showthread.php?t=152917
    ...and about 400 other hits on just Google alone
    Now please...I paid for this software.
    I expect it to work
    I expect someone who claims to care about their customers to provide information after such a long period of time, even if it is just, "We are looking into it"
    Message was edited by: Redmace
    Message was edited by: Redmace

    I thought ActiveX was only used by the plug-in.
    With three other users it seems the app was only installed for the Administrator account. They will have to change the permissions so other users can use the QT Player.
    How? I don't know because I've never had more than one user on my PC computer.

  • How to create ActiveX Control in LabWindows/CVI 2010

    I have LabWindows/CVI 2010 Full Development System (Debug Only) installed on a stand alone PC with Windows 7 (64bit).  Also I have Matlab (R2011a) (also 64bit) installed on this PC.  I tried to use "Create ActiveX Controller" under ""Tools".  I can locate the "Matlab Application (version 7.12) Type Library" in the ActiveX Controller Wizard. After click "next", I got a message "The Type Library is not intended for use on Win32".  My questions are:
    1) Is my LabWindows/CVI 32bit or 64bit?
    2) How to create my Matlab ActiveX Control?
    Thank you.

    Hi JGS,
    It means that you cannot use 64 bit libraries in CVI ti create Activex controls since CVI is a 32 bit application. You can however create 64 bit dlls, executables and static libraries. Here is a link to some information:
    http://zone.ni.com/reference/en-XX/help/370051T-01/cvi/programmerref/creating32bitappsversus64bitapp...
    Regards,
    Perry S.
    Applications Engineer
    National Instruments

  • MapPoint ActiveX Control with Labview 7.1

    I am looking for a basic example on how to integrate a MapPoint ActiveX control into a Labview vi so I can pull up maps at a given set of lat-long coordinates with zoom in and out capability.   I'm new to Labview and activex container use and have not previously attempted to program with MapPoint, but that is what I have to work with.  Not finding discussions on MapPoint use with Labview, at either MS site or here, so am looking for assistance to get me started.  Using Labview 7.1, MapPoint 2004 and Windows XP.

    Hi,
    I'm afraid I don't have any experience with MapPoint, but some of the other members might. If so, it would be great if they could post any code they may have...  
    As a general rule, programming ActiveX is a little tricky since properties and methods aren't always documented well. Furthermore, the ActiveX hierarchies for a particular application can change from revision to revision. This is why programs using activeX to interface with Word or Excel have problems with different versions of Office. If you have to use Map Point, you may want to check MSDN for any information they may have. You may also want to check out the ActiveX examples in the Example Finder by searching for ActiveX. They should give a general understanding of how ActiveX programming is done on the LabVIEW side of things.
    If you can use a web based application, it might make your life a little easier. You can specify lat long coordinates in Google Maps very easily. Im attaching a simple application that does this for you. Just enter the lat and long in decimal format and hit run. The resulting map will show up in the container on the front panel and you can pan or zoom to your heart's content. I hope this helps. Good luck with your application and happy holidays!
    Regards,
    Chris J
    Message Edited by ChrisJ on 12-20-2005 05:00 PM
    Attachments:
    lat long example.vi ‏33 KB

  • Screen Scraping embedded Siebel ActiveX Controls...

    I provide Tech Support for Siebel 7.8 for our Sales Force. My manager has asked me to look into a way to "Screen Scrape" data from specific fields. Since the data is presented in activex controls I don't believe a typical screen scrape is possible with all of the frames and controls I'd have to drill through to get to what I want. Is it possible to use something like the FindWindow api or something similar to retrieve the values I need?

    Ok I have a more specific question, I've been able to use DOMExplorer to find the specific activex control I want to retrieve data from. Is it possible to extract data from the control by using it's IDispatch interface or some other interface? I'm reading up on the architecture of ActiveX controls but I haven't read anything that explicitly says whether this is possible.
    Caeanis

Maybe you are looking for

  • Getting "Set-Cookie" from response message

    Hello XI SDN'ers, I am calling an external webservice through my "SOAP (Axis)" adapter and I am getting the response. The response header looks like this: HTTP/1.1 200 OK Server: Apache-Coyote/1.1 X-Powered-By: Servlet 2.4; JBoss-4.0.5.GA (build: CVS

  • How do I email a sheet that is inside a spreadsheet in numbers?

    I tried to email a sheet that is inside a spreadsheet containing 10 sheets and all 10 sheets were emailed. 

  • UML drag and drop Jdev 9.0.2

    I've some problem with drag & drop, in Jdev 9.0.2 and it does not create an entity object in the class diagram when I try to bring it from tables. It looks like my connection to Access db is ok and I see the table columns in the structure area. Meanw

  • Broadband speed very slow and bt vision not workin...

    As above my broadband speed has plummeted over the past couple of days which results in no on demand from my bt vision. have spoken to customer support and no joy there. I've changed the microfilter, unplugged router etc. and getting no where. Any he

  • Avi file works on one version of PPRo...not the other

    I have PPro cs3 on both my desktop and laptop. The footage I captured using Cineform 'trial of neoscene' works perfectly fine on the laptop, but when I tried putting that same file on my desktop PPro CS3, that's all I get was a black and then mostly