Urgent! Web browser ActiveX control size messed up.

Please help.
The program was compiled in LV7. I use the web browser control to display some html file. Initially I set the size to fit 1024x768 screen. But the customer use the size 800x600 to install the program. after he reset the screen size to 1024x768, the web browser control size is larger than supposed to be. The OS customer uses is Windows 98. IE5.5. My compile environment is LV7.0, OS WinXP, IE6.
I asked the customer to reinstall the program under 1024x768, but the size of control is still larger. Please indicate what the problem could be.
Thanks a lot!

Hello inhaler,
Thank you for your question regarding ActiveX controls. You mentioned that the size of an ActiveX web browser control is not correct when viewed on another machine. It sounds like the application was installed with 800x600 resolution and even after changing the resolution to 1024x768, the size of the control is still too large. I tried to recreate the problem by building an executable in LV 7 (Windows XP, IE6) with an ActiveX web browser control and then run the executable on a Windows 98SE (IE5) machine with 800x600 resolution. The browser was large but this was expected with this resolution setting. After changing the resolution to 1024x768 the browser window seems to be sized the same as the window on the XP machine. In short I wasn�t able to rec
reate the problem you�re having. Could you provide a simplified executable that demonstrates the issue and attach it in a response? I have access to a 98 machine so that I can test the problem that you�ve encountered.
I look forward to hearing from you!
Regards,
Shea C.
Applications Engineering

Similar Messages

  • Web browser activex control could not be loaded in compiled exe

    Hi everyone.
    I just met this issue again. Previously I solved this issue by registering the mscomctl.ocx, nicont.dll, nicontdt.dll in version 7.1. Now we are using 8.5.2, and the problem came up again.
    I've tried the following:
    1. use the latest nicont.dll,nicontdt.dll on the installed computer. http://digital.ni.com/public.nsf/allkb/4B0C1BBDA9CFEBE7862573D0005D93C4
    2. tried to repair the run-time engine.
    knowledge base http://digital.ni.com/public.nsf/allkb/5F06D38D61D883498625734800620168?OpenDocument
    How do we enforce to repair the run-time engine of 8.5.2?
    Thanks for any input.
    Jun

    Hello,
    The instructions on the knowledgebase are correct. You need to open Add/Remove Programs and then select the entry for National Instruments Software and click change or modify (whichever option is present for you). You can then follow the knowledgebase and select your run-time version.
    -Zach
    Certified LabVIEW Developer

  • Unable to print crystal report over web using ActiveX Control

    Post Author: jimmyp
    CA Forum: General
    We have a problem with printing crystal report over web using ActiveX Control.  When clicking print button, it only shows a blank dialog web crystal viewer page without any error.  The page just simply hangs.  We installed the PrintControl DLL and enable all the security setting for ActiveX Control for IE.  It still does not print.  Does anyone know why?  
    Environment.
    Bundle Crystal Report v10
    Asp.net 2.0
    IE 6.0 or higher.
    Appreciate for your help.
    Jimmy

    Post Author: Ian Kulmatycki
    CA Forum: General
    A team member here found this, I haven't read it, I'm not sure if our problems are related to this, but hopefully it helps someone:
    -ian
    When Secure Sockets Layer (SSL) is enabled, using the ActiveX control to print reports from a Crystal 10 DHTML viewer results in the following error message:
    "A communication error occurred, printing will be stopped."
    How can this error message be resolved?
    Resolution
    This is a known issue with Crystal Reports 10 and Crystal Enterprise 10 viewers and has been tracked. The Track ID is ADAPT00282199.
    This error occurs due to the receiving application performing a case-sensitive check for the HTTPS request header value "ON". When a sender application sends the value as "on" in lower case, the error occurs. The update below changes the receiving application to be case-insensitive.
    Hot Fixes or Service Packs address this issue as indicated below. With the updates, this issue is resolved.
    Unless indicated otherwise, Weekly Hot Fix updates from our FTP site have only been tested with English versions of products.
    For Crystal Reports 10 and Crystal Enterprise 10, the update for this issue is included in the Crystal 10 Viewers Weekly Hot Fix (WHF). This is available in English only at the following location:
    ftp://ftp.crystaldecisions.com/outgoing/EHF/viewers10win_en.zip
    This issue is addressed in the following components (and later versions):
    PageObjectModel.dll, version 10.0.5.785, dated 8/25/2004
    ReportRenderer.dll, version 10.0.5.785, dated 8/25/2004
    WebReporting.dll, version 10.0.5.785, dated 8/25/2004

  • 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

  • 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

  • Web browser and script activeX controls and HTML data

    Hello,
    I'm trying to use the Microsoft Web Browser (IWebBrowser2) and Script (IScriptControl) activeX controls in Labview to evaluate and execute HTML script.  If I wire the web browser control's document object to the object input of the Script control's AddObject method, I can then evaluate/execute script such as "document.f.btnI.focus();" and such (in this case corresponding to Google's home page).  However, there are other expressions that include the "window" object that are proving much more difficult to work with.  Although I can browse the document object's parentWindow object via the property browser, if I try to access that object programatically, I get the error "Error -2147467262 occurred at No such interface supported".  I'm wondering how to include the window object for scripting.
    I'm writing a content-oriented web crawler.  I've been writing it with pretty low level TCP functions, handling 301/302 "object moved" and "<META HTTP-EQUIV="refresh" CONTENT="0; url=http://millercountyliberal.com/">" redirections manually.  But there are other automatic script-based redirections like:
    <script language="JavaScript" type="text/javascript">
    <!-- window.location="http://www.jrnl.com" -->
    </script>
    that I'm still trying to figure out how to work with.  As you can see, to work with that one manually involves the window object.  The reason that I don't just let the Web Browser object handle the redirections is because that object often throws script errors, downloads embedded graphics and other unnecessary components, can't handle some non-standard redirections, and sometimes annoyingly crashes.  Any help would be appreciated.  A code sample is attached.  The Web Browser control should already exist on your machine if you have Internet Explorer installed.  The script control may need to be registered before it can be used as follows:
    regsvr32 "c:\MyDir\XHTTP.dll"
    Thanks.
    Attachments:
    HTML Script Testing.zip ‏773 KB

    Hi Ted,
    This seems to be a problem with the way you are referencing the ActiveX properties.  I would research a little more on the API for these objects.  See http://msdn.microsoft.com/workshop/browser/webbrow​ser/reference/ifaces/iwebbrowser2/document.asp for an explanation of the IWebBrowser2 Document property.  I am suspicious of where you are typecasting the Document variant into the IHTMLDocument2 object and this is where the error is being thrown.
    A search of this error code on Google shows that this is a generic error from the ActiveX object, and not a LabVIEW error, although it is confusing since LabVIEW uses error codes in this same range.
    Hope this helps!
    Doug M
    Applications Engineer
    National Instruments
    For those unfamiliar with NBC's The Office, my icon is NOT a picture of me

  • Getting out of memory exception while loading images in web browser control one by one in windows phone 8 silverlight application?

    Hi, 
    I am developing a windows phone 8 silver light application . 
    In my app I am displaying images in web browser control one by one , those images are the web links , the problem is after displaying 2 to 3 images I am getting out of memory exception .
    I searched for this exception how to over come , everybody are saying memory profiling ,..etc but really I dont know how to release the memory and how to clear the memory .
    In some sites they are adding this
    <FunctionalCapabilities>
    <FunctionalCapability Name="ID_FUNCCAP_EXTEND_MEM"/>
    </FunctionalCapabilities>
    by doing this am I free from out of memory exception?
    Any help ,
    Thanks...
    Suresh.M

    string HtmlString = "<!DOCTYPE html><html><head><meta name='viewport' content='width=device-width,initial-scale=1.0, user-scalable=yes' /></head>";
    HtmlString = HtmlString + "<body>";
    HtmlString = HtmlString + "<img src=" + source +" />";
    HtmlString = HtmlString + "</body></html>";
    innerpagebrowser.NavigateToString(HtmlString);
    that image source is the web link for example www.sss.com/files/xxx/123.jpg .
    Note this link is not real this is sample and image is of size 2071X3097
    Suresh.M

  • ActiveX Control recording but not playing back in a VS 2012 Web Performance Test

    I am testing an application that loads an Active X control for entering some login information. While recording, this control works fine and I am able to enter information and it is recorded. However on playback in the playback window it has the error "An
    add-on for this website failed to run. Check the security settings in Internet Options for potential conflicts."
    Window 7 OS 64 bit
    IE 8 recorded on 32 bit version
    I see no obvious security conflicts. This runs fine when navigating through manually and recording. It is only during playback where this error occurs.

    Hi IndyJason,
    Thank you for posting in MSDN forum.
    As you said that you could not playback the Active X control successfully in web performance test. I know that the ActiveX controls in your Web application will fall into three categories, depending on how they work at the HTTP level.
    Reference:
    https://msdn.microsoft.com/en-us/library/ms404678%28v=vs.110%29.aspx?f=255&MSPPError=-2147217396
    I found that this confusion may be come from the browser preview in the Web test result viewer. The Web Performance Test Results Viewer does not allow script or ActiveX controls to run, because the Web performance test engine does not run the, and for security
    reasons.
    For more information, please you refer to this follwoing blog(Web Tests Can Succeed Even Though It Appears They Failed Part):
    http://blogs.msdn.com/edglas/archive/2010/03/24/web-test-authoring-and-debugging-techniques-for-visual-studio-2010.aspx
    Best Regards,
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • How to remove the frame from an ActiveX Web Browser window

    I'm using a web browser window to display content from a web application in my LV front panel.  I'd really like the content to appear as native parts of the front panel rather than being inside a frame.  Is there a method that will allow me to hide or remove the frame from the ActiveX control?  I've tried to make it a custom control and edit the decoration out but that does not seem to work.
    Solved!
    Go to Solution.

    Quite right, in my 8.2 the web browser is already borderless (probably transparent). If your web browser window doesn't look good you should be able to insert it into the activeX one, the other should be a special case.
    /Y
    LabVIEW 8.2 - 2014
    "Only dead fish swim downstream" - "My life for Kudos!" - "Dumb people repeat old mistakes - smart ones create new ones."
    G# - Free award winning reference based OOP for LV

  • Report Output in a web browser. URGENT!!!

    Email: [email protected]
    I would appreciate if someone can solve my problem....
    When I run a report from the report builder, the output is displayed in the web browser as when in live previwer, In view menu, web preview, Generate to Web browser in checked.
    I want to have a shortcut to this report on my desktop. I want that whenever I click this short cut, my report should run in the default internet browser but it is not executing.
    I have also tried to run this report by making a button in a Form and using run_product on the when-button-pressed trigger but this is also not working.
    I want an output in the web browser 'cuz the output contain some hyperlinks pointing to some word documents saved as html.
    Awaiting an urgent reply.....
    HASAN.

    Hello Hassan,
    try it with an Batch File
    c:\orant\bin\rwrun60.exe userid=scott/tiger@oracledb module=c:\test1.rep
    before you compile the report to an rep-file you have to do some settings in the systemparameters "atributepallete" under your module.
    1. set the parameter Desformat under value* on "htmlcss"
    2. set the parameter Desname under value* on "c:\test1.html" or the "wwwroot" directory.
    3. set the parameter Destype under value* on "file"
    then compile the report to c:\test1.rep an test the batch file you've created.
    much luck
    Udo
    * dont know the correct spelling in the englishversion of the RB6i, but its allways the 2. desc row in the atrribute pallet

  • RegisterHotKey(....) to disable hotkeys such as ALT+F4 is not working in C# Web Browser control

    Disabling hot keys like "ALT+F4" using register RegisterHotKey(..) function and wndproc(..) function in c# windows application is not working as expected in few cases. Below is the description.
    I am using C# Web Browser control in windows application to display Web Pages. We are disabling hot keys like ALT+F4 by calling the method RegisterHotKey(..) and capture the hot key message in Wndproc(..) function. Initially This is working as expected
    normally.
    But as part of new requirement, we need to set the "title of Web browser page" to its parent class(Win form) text property. when we are assigning text property of winform using below code, the hot keys could not be disabled.
    this.Text = webBrowserCustom.DocumentTitle; //this keyword refers to WinForm which loads web browser control
    If webBrowserCustom.DocumentTitle is empty then this.text is set to Empty string. In such case the hot keys are not getting disabled.
    I am not sure what is the relation between text property of winform and hot keys disabling.
    Could you please let us know why hot keys are not getting disabled when we setting empty string to Winform(which is loading Web Browser control) text property.?

    Hi,
    How did you use RegisterHotKey and winproc function in your project, could you please post the code here so that we can reproduce the problem firstly?
    If you just want to prevent the user from closing the form, you could register Form_Closing event handler, and cancel the closing behavior by the user. 
    private void Form1_FormClosing(object sender, FormClosingEventArgs e)
    e.Cancel = (e.CloseReason == CloseReason.UserClosing);
    private void btnCloseForm_Click(object sender, EventArgs e)
    this.FormClosing -= new System.Windows.Forms.FormClosingEventHandler(this.Form1_FormClosing);
    this.Close();
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • Visual Studio 2013. Viewing a PDF file via the Web Browser control in Windows 8.1

    I am writing a Windows Forms application in which I need to view PDF files via the Web Browser control. When the control is given the Navigate() command, Windows takes over and asks which program I want to open the file with. All was fine with VS 2010 and
    XP. I have un-installed "PDF Complete", which was the default PDF viewer, but I now get asked for an alternative.
    Thanks in advance.
    Mike Saunders

    Hi Mike,
    It seems that we could use Internet Explorer to open a local .PDF file if it has the Adobe Reader. I doubt that the web control would be related to it. Like the MVP's suggset in the following thread, maybe it would be related
    to certain plug-in tools in your side like the adober reader.
    Reference:
    https://social.msdn.microsoft.com/Forums/en-US/a717117e-41ae-4775-9c28-d5a1042b396e/pdf-is-not-opening-in-web-browser-control-in-vbnet?forum=vbgeneral
    Best Regards,
    Jack
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • How I make the Web Browser Control to display a PDF in Windows 8

    I have an application that run ok in previous version of windows,  Where I can load a PDF file and the web browser control automatically use the Reader OCX of Adobe,, After Install windows 8 and download the reader for windows 8 still get and (X) where the document should be displayed.  I use the following command in my program to force the windows 8 to use the same web browser (10) in my web browser control.
    WebBrowser1.Navigate(DocumentName,"",Nothing,"User-Agent:Mozilla/5.0 (compatible; MSIE 10.0; Windows NT 6.2; WOW64; Trident/6.0)")
    But still get an  (X). IF I use the URL that is in the property of the (X) and paste in my regular IE10, it open the PDF file.

    Adobe Reader Touch is a Windows Store app and does not install a browser add-on/plug-in for "in-browser" PDF viewing.
    You can either
    Install Adobe Reader XI (desktop app) which installs browser plug-ins for Microsoft IE and Mozilla Firefox
    Use Google Chrome, which has a built-in PDF viewer (enabled by default)

  • Is there a web browser control in java?

    Is there a web browser control in java?

    I'm also looking to build a java-based web controller.
    I know that using Microsoft's MFC, you can build such browser control.
    The interface in C++ that they use (for web control) is IWebBrowser2
    Having a web control embedded in your application, it enables you to:
    1- start a web browser (Netscape or IE)
    2- listen to user actions on the browser (i.e. user types in a URl and hits enter. Upon doing this, a call back method will be invoked on your application , thus allowing you to write code on what exactly you want to do when you detect that a new URL was entered in the browser. For example you may send this URL through a socket connect to another user application for the purpose of sharing the web browsing activities)
    I wonder if you can achieve this in java
    Thank you very much to whom knows and can help me here on this one..

  • Error on Form with a WebBrowser control: A script on this page causing your web browser to run slowly.

    Hi,
    I have a form with a WebBrowser control. When I load a page, I am getting the following error popup:
    Stop running this script?
    A script on this page is causing your web browser to run slowly.
    If it continues to run, your computer might become unresponsive.
    How to suppress the above error? I tried using WebBrowser.ScriptErrorsSuppressed by setting it to true. But it didn't work for me.
    Thanks in advance.
    Thanks Prasad

    Hi,
    I have a form with a WebBrowser control. When I load a page, I am getting the following error popup:
    Stop running this script?
    A script on this page is causing your web browser to run slowly.
    If it continues to run, your computer might become unresponsive.
    How to suppress the above error? I tried using WebBrowser.ScriptErrorsSuppressed by setting it to true. But it didn't work for me.
    Thanks in advance.
    Thanks Prasad
    Hello,
    In addition, would you mind sharing us the version of your IE and the detailed html code of that page?
    Regards,
    Carl
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

Maybe you are looking for

  • Where to get BW Metadata: owner, creation date, change date of a query / WS

    Hello, I need a report over the existing queries / worksheets and the owner, creation date, change date of a query etc. You see some of the information when you go over query properties in the query designer. But you see only the information of one (

  • Using Apple remote with MacBook PRo

    How can I manage a PowerPoint presentation on my MacBook Pro using the Apple remote control that came with it?

  • Flow full page graphic with text

    Working on a 200+ pg book in InDesign CC 2014. I need to place some PDF Charts that the client wants to appear on a full page, near where the text references it–so, for example, if the left hand page refers to the chart, the chart would be the full r

  • Need Help! Satellite Laptop freezes

    Need Help.  My Satellite laptop keeps freezing when you try to play music or a video.  It also freezes on certain websites.

  • Jumpstart , smf and scripts on first boot

    Could anyone help me I am trying to work out how which is the best way to apply patches and customizations on first boot of a new machine that has just been jumpstarted. Does anyone have a example of a service that runs once to allow me to do this?