How do I get an activeX object reference from a LabVIEW ActiveXContainer ref?

How do I get an activeX object reference from a LabVIEW ActiveXContainer ref?
I'm trying to control an ActiveX object (a Web Browser) from another VI and need to get the object reference programmatically. I can get the LabVIEW ActiveXContainer reference, but am lost on how to get the reference for the object _inside_ the container.

Hi Lee,
The reference to the container is actually also accessing the object inside the container. Use the Property Node and Invoke Node to access properties and launch methods for the object. I've attached a small example that passes the reference to a SubVI and invokes a method inside the SubVI.
- Philip Courtois, Thinkbot Solutions
Attachments:
WebContainer.zip ‏21 KB

Similar Messages

  • How to get caller object reference from a method

    Hi,
    I am working a already existing Java Swing project, now I got a problem, in a method I need to get the caller object reference otherwise, I can't succeed this operation. So please tell me a way how to get the caller object reference from a method. that method would be static or regular method anything will do for me.
    Edited by: navaneeth.j on Jan 29, 2010 11:20 PM

    navaneeth.j wrote:
    Actually my doubt is, I have a method "addition" method, which is using by many classes so my requirement is in the addition method I want to write a code snippet which will identify and get the the caller object. Actually I tried Reflection.getcallerclass but there I am getting "CLASS" object not the actual object reference, but I want object reference.
    Actually we have a huge project which is writen plain JAVA, so in this project the authors written the Database connection package for single database transaction. so now we are using this project source code for JSF application in this web application the DB package has serve based on the dynamic db connection parameters, so if we want to change this package fully means need to solve the dependency problem in hundreds of classes, so my point is if I can access the caller object in the DB package when ever it gets called by any class from any where of the project. So actually I liked Reflection.getcallerclass, the way of implementation perfectly works for me but it is not giving caller object reference, if something gives the caller object then I can get the DB connection parameters then there is no need to pass the parameters in the hierarchy.You can add a parameter (of type Object) to your addition() method
    and everywhere you call the addition() method also pass this (which from the POW of the addition() method will be a reference to the calling class instance).
    There may be alternative solutions
    but none that require less effort.

  • Line Chart: It is possible to get the object reference from a flash chart

    Hi Folks,
    hope you feel well ...
    I wan't to get the Object Reference from a Chart Flash Object using javascript in the HTML Header of a Apex Page.
    It's long time ago with Oracle/Java and so my skills are really shity :-)
    The Functionbody works, but the following error occurs: chart.refresh is not a function
    It is necessary to CAST it ? with the Class AnyChart.js ?
    After 5 hours i give up ^^ is this kind of object handling possible ? THX4HELP@ll
    Apex Page HTML Header
    <script type="text/javascript">
    function hideSID2()
    var chart = document.getElementById("*c7067437546726610*");
    chart.refresh();
    </script>
    HTML File at runtime:
    <div class="rc-body"><div class="rc-body-r"><div class="rc-content-main"><object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
    codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0"
    width="1400"
    height="600"
    id="c7067437546726610"
    align="top"> ...

    If you are using adobe Flex Builder to develop SWF, please be sure using ExternalInterface class to expose the refresh() method.
    then you can should be able to call this method in Javascript.

  • How do I get to the Object Definition Editor?

    I know this has got to be a beyond basic questions and I feel kind of stupid for asking, but how do I utilize the SDK? I am new to working in a Java environment and it's a bit confusing to me at times.
    So, I downloaded the SDK. I know how to add new QPACS in Workflow designer, but, for example, how do I get to the Object Definition Editor?
    Thank you,
    Jennifer

    Hi
    The 7.0.0 version of the ODE was missing a couple of jar files, and this caused some of the functionality to not work properly, specifically "synchronize". (This may have been fixed in later versions, I haven't checked.)
    In order to fix this, copy all .jar files from the WF designer's lib directory to the ODE's lib directory (no overwrite if the file already exists).
    Howard
    http://www.avoka.com

  • How can i get my fav or bookmakes from my old computer over to my new computer

    how can i get my fav or bookmarks from my old computer over to my new computer

    Hi,
    Please [https://support.mozilla.com/en-US/questions/901979 see this.]
    Useful links:
    [https://support.mozilla.com/en-US/kb/Options%20window All about Tools > Options]
    [http://kb.mozillazine.org/About:config Going beyond Tools > Options - about:config]
    [http://kb.mozillazine.org/About:config_entries about:config Entries]
    [https://addons.mozilla.org/en-US/firefox/addon/whats-that-preference/ What's That Preference? add-on] - Quickly decode about:config entries - After installation, go inside about:config, right-click any preference, enable (tick) MozillaZine Results to Panel and again right-click a pref and choose MozillaZine Reference to begin with.
    [https://support.mozilla.com/en-US/kb/Keyboard%20shortcuts Keyboard Shortcuts]
    [https://support.mozilla.com/en-US/kb/Safe%20Mode Safe Mode]
    [http://kb.mozillazine.org/Problematic_extensions Problematic Extensions/Add-ons]
    [https://support.mozilla.com/en-US/kb/Troubleshooting%20extensions%20and%20themes Troubleshooting Extensions and Themes]

  • I have about 800 more songs on my nano than itunes, due to a crash. How can I get the songs onto itunes from the ipod, or at least get the new music ive gotten since the crash onto my ipod without deleting all the other songs when it syncs?

    i have about 800 more songs on my nano than itunes, due to a crash. How can I get the songs onto itunes from the ipod, or at least get the new music ive gotten since the crash onto my ipod without deleting all the other songs when it syncs?

    It has always been very basic to always maintain a backup copy of your computer for just such an occasion.  Use your backup copy to put everything back.
    If you have failed to bakup, then you can transfer itunes purchases from an ipod: File>Transfer Purchases

  • How do i get my podcasts to go from the one i just finished to the next one and how do i sort them from oldest to newest?

    how do i get my podcasts to go from the one i just finished to the next one withouth me having to click on it, and how do i sort them from oldest to newest?

    Not sure if you tried this, but did you hold down both the sleep and home button for 10 seconds? 

  • How do I get iphoto to import videos from my iphone 3s? It only imports photos, not videos. My iPhoto is v. 4.0.3.

    How do I get iphoto to import videos from my iphone 3s? It only imports photos, not videos. My iPhoto is v. 4.0.3.

    My iPhoto is v. 4.0.3.
    Is your QuickTime up to date?
    Video importing requires QuickTime 7.6.2 or later.
    http://support.apple.com/kb/HT4083

  • How do i get air play to work from my macbook to apple tv

    How do i get air play to work from my macbook to apple tv? It does work with some programs like itunes but I can't get it to work with safari.

    apple tv does not work in safari. there is no web browsing capabilities on the apple tv..
    however what you are probably referring to is mirroring? iPad 2 and iPhone 4s have mirroring capabilities, so what you have on the screen is exactly what would appear in the apple tv..
    on ipad for example...ignore the settings page. Instead, go to the iPod controls. Double-press your home button to see the multitasking bar, showing all your recent apps. Swipe your finger from right to left for the mirroring icon; you'll see the AirPlay icon. Tap on that, select your Apple TV and toggle the mirror button to 'on'.

  • When I try using Airplay to stream from Amazon Prime it tries to use Apple TV music.  How can I get it it stream movies from Amazon Prime?

    When I try using Airplay to stream from Amazon Prime it tries to use Apple TV music.  How can I get it it stream movies from Amazon Prime?

    Welcome to the Apple Community.
    Try the following steps, check whether things are working after each step where appropriate, before trying the next.
    Restart the Apple TV (Settings > General > Restart).
    Restart the Apple TV by removing ALL the cables for 30 seconds.
    Restart your router.
    Reset the Apple TV (Settings > General > Reset > Reset all settings)
    Restore the Apple TV (Settings > General > Reset > Restore)

  • I'm new to Mac. I have an iPhone and a Mac Mini.  My original iTunes was on a Windows computer that crashed.  So, all of my iTunes Music and Movies are gone.  How do I get the movies and music from my iPhone to the new Mac Mini?

    I'm new to Mac. I have an iPhone and a Mac Mini.  My original iTunes was on a Windows computer that crashed.  So, all of my iTunes Music and Movies are gone.  How do I get the movies and music from my iPhone to the new Mac Mini?

    If you still have the crashed Win computer, you may be able to recover your music and movies from the hard drive. If you have a friend with a hard drive USB connection kit and a PC, they should be able to help.  Otherwise, check locally for computer services that might do that for you (I think Best Buy Geek Squad may be able to help). If the drive itself is in good shape, it shouldn't be too expensive. 

  • My iPhone is stolen. How can I get my address book back from the iCloud? I should have synchronized my iPad address book. However, I loss some recent contacts from iPhone.

    My iPhone is stolen. How can I get my address book back from the iCloud? I should have synchronized my iPad address book. However, I loss some recent contacts from iPhone.

    I use my iPad to get the address book backed up by iCloud from my iPhone. However, I cannot see the recent new contacts from my iPad. Is there anyway to check the iCloud server to see if my address book backup from my iPhone is still there?

  • How do I get my music onto icloud from my ipad? I can see i have plenty of icloud storage but can't get my music to store on icloud hence taking up lots of storage on my ipad

    How do I get my music onto icloud from my ipad? I can see i have plenty of icloud storage but can't get my music to store on icloud hence taking up lots of storage on my ipad

    If you want to be able to access your entire music library from iCloud, you'll have to subscribe to iTunes Match (http://www.apple.com/itunes/itunes-match/).  Music purchased from the iTunes store is already in iCloud as it can be redownloaded at any time (see http://support.apple.com/kb/ht2519).

  • How do I get my videos to upload from my sony handy cam when I get the message The following file could not be imported.  The file is in an unrecognized format. I am using a macbook pro version 10.9.3, I have 411 gb free space, it worked before I updated

    How do I get my videos to upload from my sony handy cam when I get the message The following file could not be imported.  The file is in an unrecognized format. I am using a macbook pro version 10.9.3, I have 411 gb free space, it worked before I downloaded the latest update for iphoto.

    You may be able to download and install the update from here: Digital Camera RAW Compatibility 6.01
    If I upgrade to Yosemite will I be forced to go to the new Photos program
    No. After upgrading (and of course make a back up first) you will need to update iPhoto to v9.6.1 (you won't be able to do this prior to upgrading). Here's how:
    Go to the App Store and check out the Purchases List. If iPhoto is there then it will be v9.6.1
    If it is there, then drag your existing iPhoto app (not the library, just the app) to the trash
    Install the App from the App Store.
    Sometimes iPhoto is not visible on the Purchases List. it may be hidden. See this article for details on how to unhide it.
    http://support.apple.com/kb/HT4928
    One question often asked: Will I lose my Photos if I reinstall?
    iPhoto the application and the iPhoto Library are two different parts of the iPhoto programme. So, reinstalling the app should not affect the Library. BUT you should always have a back up before doing this kind of work. Always.
    Photos is v1 of a new app, as yes it's not as mature as iPhoto. It uses a different technology for working with external editors. That requires Adobe to write an extension to let it hook into the new app. Not done yet, neither has anyone else.
    Going forward: iPhoto will run on OS 10.10., but there is no guarantee for subsequent versions of the OS. You might want to factor that into your anger term thinking.

  • How do I get rid of deleted emails from my work email account on my Air?

    How do I get rid of deleted emails from my work email account set up on my Air. Keep getting error message "An error occurred while moving messages to mailbox "Trash - On My Mac" They go away from deleted account folder when I hit "trash button" but then they come back later.

    Back up all data. Rebuild the mailbox. Try to delete the messages again.

Maybe you are looking for