Hiding an ActiveX container with a web browser object

I have an ActiveX container that holds a web browser object to view a remote front panel for a VI running on a RT Target.  I would like to dynamically adjust the visibility of the container on the front panel so that it is only visible when needed.

The web browser ActiveX object is a bit unique in how it is drawn on the screen. It is always on top. So this is an issue with the code in the web browser, not in LabVIEW. The best and easiest solution to your question that I have come up with is to move the ActiveX container offscreen instead of trying to make it invisible. Use the position property on the ActiveX container to programmaticaly move it. See diagram. (I'm showing both the True and False case of the Case Structure, but there should only be one Case structure in the diagram.)
Message Edited by Christian L on 07-18-2008 09:39 AM
Christian Loew, CLA
Principal Systems Engineer, National Instruments
Please tip your answer providers with kudos.
Any attached Code is provided As Is. It has not been tested or validated as a product, for use in a deployed application or system,
or for use in hazardous environments. You assume all risks for use of the Code and use of the Code is subject
to the Sample Code License Terms which can be found at: http://ni.com/samplecodelicense
Attachments:
WEBBROSWERHIDE.png ‏13 KB

Similar Messages

  • Problems with an ActiveX container with a Microsoft Web Explorer in a subpanel

    I have an application with a subpanel.When I push a button I insert another VI in the subpanel. This VI has an ActiveX container with a Microsoft Web Explorer inside. The problem is that the first time I insert the VI all works, but the next time the VI is inserted the ActiveX container appears empty.
    Could anybody help me? Thank you very much.

    Hi,
    In the following two VIs ( uno.vi & dos.vi) I have tried to reproduce the problem you are facing. In my case eveything worked properly.
    I used LV 7 & Internet Explorer 6.0.2800.1106 under Windows 2000
    Try running the VIs I attach and check if the same thing goes on happening.
    YonA
    Attachments:
    dos.vi ‏27 KB
    uno.vi ‏24 KB

  • Hello i have a problem with onfocus function on ipad. i am trying to bring my cursor on a text box on a button click. It works fine with safari web browser but not on ipad. Need a solution.

    Hello i have a problem with onfocus function on ipad. I am trying to bring my cursor on a text box on a button click. It works fine with safari web browser but not on ipad. Need a solution.

    I don't think that a software update from Apple will solve the issues that you are having. You have a rogue installation. After you posted I have just done the following:
    Disk Utility can verify  my partitioned Volume (including my boot disk) AND REPAIR the non-boot disks on the same Volume without a glitch. It repairs the non-boot disks containing data smoothly.
    I have used Mail to send some mails from some Yahoo and Hotmail accounts to my Thunderbird client containing GMail accounts - absolutely normal.
    I have iLife '09 but my iMovie '09 and iPhoto '09 open in a jiffy and I see no issues here. I have 6GB RAM (Maximum) on an early 2008 Macbook Pro with a 750GB hard drive partitioned with 120GB reserved for the Boot Drive.
    I am sorry that I cannot help further but I am sure there must be a way to reinstall the software without having to revert to restoring your ML backup. I have two clones and if you have such I would attempt to do that through that rather than through Time Machine - that is of course if you have a cloned drive.
    Good luck!

  • How do I access the iTunes Preview page with a web browser?

    Does anyone out there know how to access the iTunes app preview page with a web browser?  So far the only way I've been able to get there is by Googling the app with the term 'iTunes preview'.  Is that really the only way?  The iTunes page itself has no obvious link to the app list.
    Thanks.

    Thanks, but I should have been more specific.  I was trying to access the iTunes app preview page on my PC through Chrome.  While I have an iPad, it's not convenient to have to refer to it every time I want to discuss an iOS app.

  • An error occurred while trying to communicate with the web browser.

    I have opened a PDF in the Acrobat reader V 8.2.4. It has live links.
    Only the FF browser is open.
    When I click a link in the PDF, I successfully get the message 'The document is trying to connect to...' which I allow and then successfully hyperlink to the web page displayed in FF.
    When I click an image in the PDF, which has a url attached to it, I get the message 'An error occurred while trying to communicate with the web browser.'
    [Sorry to say in IE7 when I click the image, I hyperlink to the web page like I do when I click the link.]
    Question is: What setting or other step do I need to take with FF so when I click the image in the PDF I link to a web page like I do when I click the link in the PDF?
    Thank you!

    Your above posted system details show outdated plugin(s) with known security and stability risks.
    # Adobe Shockwave for Director Netscape plug-in, version 10.2
    # Adobe PDF Plug-In For Firefox and Netscape 8.2.4
    # Shockwave Flash 10.0 r22
    Update the [[Java]] plugin to the latest version.
    *http://java.sun.com/javase/downloads/index.jsp (Java Platform: Download JRE)
    Update the [[Managing the Flash plugin|Flash]] plugin to the latest version.
    *http://www.adobe.com/software/flash/about/
    Update the [[Adobe Reader]] plugin to the latest version.
    *http://get.adobe.com/reader/otherversions/

  • Error when opening page with the web browser activex

    I have downloaded the example for using the web browser activeX component to display a web page. It basically works, but it keeps returning an error (from NI's web site) that I don't see when opening the site from IE. The message I get is:
    Are there things that need to be initialized when calling the browser in this way?
    Mike...
    Certified Professional Instructor
    Certified LabVIEW Architect
    LabVIEW Champion
    "... after all, He's not a tame lion..."
    Be thinking ahead and mark your dance card for NI Week 2015 now: TS 6139 - Object Oriented First Steps

    Mike,
    It looks like ni.com is not supplying that particular console object which is causing an issue with the embedded instance of IE9. Every other website I've tried works correctly. I've looked around the ActiveX methods to intercept and ignore this error, but I haven't found anything yet.
    For others' reference, here is the link to the example:
    https://decibel.ni.com/content/docs/DOC-2042
    Karl G.
    Applications Engineer
    ni.com/support

  • MacBook Air freeze and need to be restarted when downloading with a web browser only!

    Here is my configuration:
    - Macbook air 2012, mountain lion.
    Here are the symptoms that affect the computer:
    - The computer freezes when I try to download a file through a web browser (tested with chrome and safari). I can download  through the Appstore for instance.
    So I have to turn it off by long pressing the off button.
    Then when I restart  it reboot without worries or it restarts again by freezing and by 3 beeps when the desktop appears.
    - What I tried to do:
    Checking permissions and disk and no problems detected.
    Reinstall osx partition from the partition recovery hd, but I got an error when preparing the installation.
    I wanted to mention that this problem started to appear when I downgraded parallels desktop 8 to 7 and running my boot camp with parallels 7 but with higher configurations!
    and it crashed several times.
    I also read that the number of beeps had a precise meaning.
    Thank you

    I have checked my panic log and this is the text it contains, what does this mean as it means nothing to me?
    The Panic Log read;
    Sat Mar 31 23:39:06 2007
    panic(cpu 0 caller 0x003513C3): mbuf address out of range 0x2ff48000
    Backtrace, Format - Frame : Return Address (4 potential args on stack)
    0x13ebbb84 : 0x128b5e (0x3bbf84 0x13ebbba8 0x131bbc 0x0)
    0x13ebbbc4 : 0x3513c3 (0x3db980 0x2ff48000 0x13ebbc04 0x196fd8)
    0x13ebbc04 : 0x356b83 (0x25a6ca00 0x297 0x13ebbc44 0x22ff2a)
    0x13ebbc44 : 0x22cde5 (0x346e9d4 0x6 0x1 0x200a8c0)
    0x13ebbe14 : 0x222007 (0x25a6c500 0x14 0x13ebbf14 0x94c9ce)
    0x13ebbe54 : 0x223a8b (0x25a6c500 0x14 0x6 0x0)
    0x13ebbf64 : 0x211109 (0x25a6c500 0x25a6c500 0x42cb5c 0x135798)
    0x13ebbfa4 : 0x1f773d (0x2b50a04 0x25a6c500 0x25a59812 0x1)
    0x13ebbfd4 : 0x197a29 (0x0 0x0 0x2643880 0x134aec) Backtrace terminated-invalid frame pointer 0x0
    Kernel version:
    Darwin Kernel Version 8.6.2: Thu Apr 13 18:48:29 PDT 2006; root:xnu-792.9.59.obj~1/RELEASE_I386
    Your website mentions about drivers for certain peripherals, I have a 54MBPS Wireless ADSL2+ Modem Router which was supplied by my ISP, do I need a driver for this to solve this problem?
    Thanks.

  • Can not publish the contains of the activeX container to the web.

    It is easy to publish the front panel to the webserver. But in my application everything on the front panel appears on the web page but the contains of the activeX container (it is images from a web camera!). Does any one knows how to solve this? Is there any restriction on what objects on front panel can be publish to the web server?

    I know that you can publish the contents of an activeX container. I have done it several times. It is probably something to do with the activeX control you have placed in it. For instance, it might be that the image from the web camera is updating when the snap of the front panel is taken so that the image of the container seems blank. It also might have something to do with the picture depth you are using. Try playing around with some of the publishing settings you have available such as monitor, snap, refresh rate, picture depth, etc and see if any of them have any effect.

  • Bean always on top with Enh Web Browser javabean?

    Hi everyone,
    I am trying to implement the Enhanced Web Browser javabean from the javabean community site in my applicaton. For reference sake, here's a link to it: http://forms.pjc.bean.over-blog.com/article-5029633.html
    I have been able to get the javabean to work and it displays webpages just fine. However, once it does display the web page when I move another form's window over it, the web browser bean stays on top and doesnt go underneath the other form's window as a window normally would. The form itself that contains the javabean, does get covered up... it's just the javabean portion that always stays on top. Note that also when the screen is just blank with no url/webpage it works like a normal form and if I move another form over it, it is hidden as usual.
    I am using Forms 10.1.2.3 and Java 6.10.
    Has anyone else had this problem or know of a workaround?
    Thanks,
    Nathan
    Edited by: user634656 on Dec 12, 2008 7:31 AM

    Hi Nathan,
    sorry I can not help you, but I am interesting to check this demo.
    I have tried the JDIC Browser incl. Oracle Maps with Swing and it works fine:
    http://www.free-dev.com/lomaps/launch.jnlp
    but I get a error from JDIC in the certified cache trying to start as WebStart.
    Can you write a short DoList of deployment this Enhanced Web Browser javabean please ?
    Many thanks,
    Friedhold

  • Cannot open .jnlp file when asked to open with firefox web browser in ubuntu 11.10 using firefox 6

    After upgrading to ubuntu 11.10 the firefox 6 browser cannot download and open .jnlp file from the interactivebrokers website. Usually I go to the IB website and download tws.jnlp file which is opened in the firefox web browser. But now when I click on the Open with Firefox Browser button, the firefox browser opens a new tab and display the same open window again.

    Seems that after upgrading to 11.10, jnlp files open with firefox instead of javaws (Java Web Start).
    If you right click the file on the download folder and choose "open with" you can manually select java web start.
    Ubuntu bug...
    You can right click any .jnlp file and select "properties", go to "Open With" tab, mark Sun Java 6 Web Start and click "Set as Default". Should fix it. I don't know what would happen if you have the default ubuntu java instead of Sun's. Maybe this wouldn't be necessary.

  • Firefox opens all adobe files with firefox web browser. I disabled add-on, but it still does it. How can i disable this feature?

    All adobe files now automatically open in firefox web browser, even when opening them from widows explorer. I want all adobe files to be opened in adobe reader as a default. Yet I disable the plugin Adobe Acrobat 11.0.9.29 and it still does this. I can't use firefox this way.

    When you open a PDF file that you saved to your computer, by double-clicking the file, does it open with Adobe Reader or with Firefox?
    If the PDF file opens with Adobe Reader then follow the instructions in [[How to disable the built-in PDF viewer and use another viewer]] to set Adobe Reader as the application for Portable Document Format (PDF) in your Firefox Options for Applications.
    If the PDF file opens in Firefox when you open it from your hard drive, even though you have Firefox 33 installed, try uninstalling and reinstalling Firefox:
    #Download the latest Firefox version (currently 33.1.1) from [https://www.mozilla.org mozilla.org] and save the setup file to your computer.
    #*Note: You can use [https://www.mozilla.org/firefox/new/?scene=2#download-fx this link] for the online (stub) installer or choose the full installer for your operating system and language from [https://www.mozilla.org/firefox/all/ this page].
    #After the download finishes, close all Firefox windows (or open the Firefox menu [[Image:New Fx Menu]] and click the Exit button [[Image:Close 29]]).
    #[[Uninstall Firefox from your computer|Uninstall Firefox from your computer]].
    #Reinstall Firefox using the setup file you downloaded before.
    <b>WARNING:</b> Do not use a third party uninstaller as part of this process. Doing so could permanently delete your [[Profiles|Firefox profile]] data.

  • Final Cut Server: Cannot connect to Java Web Start with a web browser

    I get this exact error http://support.apple.com/kb/TS1610, but their steps do not fix it.
    sudo cp /etc/apache2/sites/0000any_80.conf.default /etc/apache2/sites/0000any_80.conf
    has me validate and then goes back to the prompt the other:
    Xserve:~ admin$ sudo /Library/Application\ Support/Final\ Cut\ Server/Final\ Cut\ Server.bundle/Contents/Resources/sbin/post-install.sh
    Stopping Final Cut Server services ...
    launchctl: Error unloading: com.apple.FinalCutServer.fcsvr_ldsd
    launchctl: Error unloading: com.apple.FinalCutServer.fcsvr_stored
    Starting postgresql ...
    Initializing database ...
    could not connect to server: No such file or directory
    Is the server running locally and accepting
    connections on Unix domain socket "/tmp/.s.PGSQL.8820"?
    connection failed, retrying (1) ...
    -- updating: pxtraitclass
    -- updating: pxperm
    -- updating: pxgroup
    -- updating: pxschema
    -- updating: pxentitylinktype
    -- updating: pxenum
    -- updating: pxenumentry
    -- updating: pxmdfield
    -- updating: pxtrait
    -- updating: pxmdgroup
    -- updating: pxmdgrouphasfield
    -- updating: pxeventstatus
    -- initializing config package: base
    -- updating: enum
    -- updating: enumentry
    -- updating: mdfield
    -- updating: mdgroup
    -- updating: mdgrouphasfield
    -- updating: mdmap
    Settings plist already present, not overwriting.
    Starting Final Cut Server services ...
    Configuring webstart for OS X Server on default site ...
    web:Modules:array_id:php5module:enabled = yes
    web:Modules:array_id:userdirmodule:enabled = yes
    web:Modules:array_id:apple_userdirmodule:enabled = yes
    web:Sites:array_id:*:80_:IfModule:_array_id:mod_rewrite.c:RewriteCond:_arrayindex:0 = "%{REQUEST_METHOD} ^TRACE"
    web:Sites:array_id:*:80_:IfModule:_array_id:modrewrite.c:RewriteEngine = yes
    web:Sites:array_id:*:80_:IfModule:_array_id:mod_rewrite.c:RewriteRule:_arrayindex:0 = ".* - [F]"
    web:Sites:array_id:*:80_:IfModule:_array_id:mod_rewrite.c:RewriteRule:_arrayindex:1 = "^/FinalCutServer$ /~fcsvr/Sites/webstart/index.php [NC,L]"
    service: This command still works, but it is deprecated. Please use launchctl(8) instead.
    service: This command still works, but it is deprecated. Please use launchctl(8) instead.
    Xserve:~ admin$
    Help? I should point out this is my first experience with OSXserver and I am not exactly an advanced user.
    Message was edited by: otterholt

    Hi, this dind't help.
    I can resolve host name, so it looks like DNS works:
    If I typed: <IP address> or localhost or localhostname.local or hostname I stiil get the default OS X web page with services, but no service is available not I can't connect to FCS web start page.
    I didn't change DNS records - it is default as it was after installation of system and FCs.

  • Problem with Java Web Browser

    Hi all,
    I use JEditorPane to display simple HTML files:
    String url = "http://www.fnac.com";
    JEditorPane editorPane = new JEditorPane(url);
    editorPane.setEditable(false);
    But for page www.fnac.com, the browser can not dipslay all object in Web page event I put JEditorPane in a JScrollPane.
    Someone can help me ?
    Thanks.

    I'm afraid I do not understand your question...
    "browser can not dipslay all object"- What object?
    "Web page event"- What event?

  • Problem with Java Web Browser -JEditorPane

    Hi,
    I use JEditorPane to display simple HTML files:
    String url = "http://www.fnac.com";
    JEditorPane editorPane = new JEditorPane(url);
    editorPane.setEditable(false);
    But for page www.fnac.com, the browser can not dipslay all objects of Web page (Images, Texts...) although I put JEditorPane in a JScrollPane.
    Someone tell me solution for this problem ? Thanks.

    PLEASE HELP ! Thanks.

  • Opening Telnet with a web browser

    Hi,
    I don't know if I'm posting this thread in the right forum, I hope I am. I want to have a web page and, when the user selects a link, I want a telnet prompt to be opened in the user's computer. Not a embeded one, but the actual telnet program they use on their computers. Does anyone know if there's a way to do it using servlets, JSP, Java...?
    I know this does it, but it will open the prompt in the server.
    Runtime.getRuntime().exec("cmd /c telnet 201.78.23.122 1234");Is there an equivalent I can use to do it on the client's side?
    Thank you

    You could try using a telnet URL. Something like this:
    telnet://201.78.23.122:1234
    Of course, the user's browser needs to be configured correctly to call the telnet client. In Windows, try AbsoluteTelnet. It configures your browser for you so these types of telnet links will work properly. SSH links too:
    ssh://201.78.23.122:1234
    Brian Pence
    Celestial Software
    AbsoluteTelnet (for telnet and ssh)

Maybe you are looking for

  • Error in simple FormCalc Script

    Hi The following script in a checkbox change event returns the error below: Z_Lso_BookingData.#subform[0].Subform6.CheckBox1::change - (FormCalc, client) - if ( $.value == " 0" ) then      Subform2.presence = "invisible" else      Subform2.presence =

  • [SOLVED]compile error w3m 0.5.3 with mouse support

    Hi Friends. i'm Trying to compile w3m test based browser with mouse support. I donwloaded the latest source available from sourceforge website.The ./configure runs correctly and produces no errors. but when I run make, it gives me the following error

  • How do i disconnect other peoples shared libraries from showing up in my itunes

    how do i disconnect other peoples shared libraries from showing up in my itunes

  • BAPI_TRANSACTION_COMMIT is releasing all the locks which aren't intended to

    Hi All, I have created a GR using BAPI "BAPI_GOODSMVT_CREATE"  and then the changes are commited using BAPI_TRANSACTION_COMMIT. And this is releasing all the locks which were not intended to GR. Please help me how to retain the locks. regards, Prasad

  • Deactivation of insp. type

    dears i have activated insp. type 01 for a raw material and have so many lots.now i want to deactivate insp. for that material.but a warning message issued 'To deactivate QM, the inspection stock for the material must be empty" so what should i do so