View an ActiveX object contents

Hi,
Is it possible to view an ActiveX object contents ? I'm working on MGMotor Control ActiveX object and I wanted to know how it's working inside.
Thank you.
Che57

If the question is, can you see the code in it? The answer is no. ActiveX objects are compiled so the source code is no longer available. If the question is can you see the properties associated with the object, the answer it yes, and you would use a standard property node to get at them.
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

Similar Messages

  • How to View Word 2013 Document in ActiveX Object

    I know that the old method of viewing Word docs was to use a webbrowser object.  This doesn't work now since the document opens in word instead.  MS has a workaround, but suggests not to use it for new projects(it involves changing the registry and I'llbe distributing this app to other machines so this isn't an option).  I'd like to know if why webbrowser2 doesn't show up as a usuable ActiveX object in LabVIEW 2012 and if anyone knows how to use the Word document object so you can scroll and navigate a word document.
    Thanks
    Solved!
    Go to Solution.

    Thanks, But that doesn't help when there are figures(pics) in document. As A workaround, for now, I have switched to rtf files.  The attachment shows what I was trying to achieve except I had to save the word document as a rtf document and load it into a rich text document container (found under .NET & ActiveX).  This preserves formatting and pcitures whereas the method above does not.  I still think this is not optimal as in older versions of MS Office, this was done easily as shown in the Diagram Disable Structure.
    Thanks.
    Attachments:
    Help Viewer Demo.PNG ‏201 KB
    Load RTF file into Rich Text Box.png ‏48 KB

  • Recent loss of embedded QT movies on many page for IE7 using ActiveX object

    I have many pages that allow you to select from 4 video formats including QT .mov. An example is at http://www.cwdjr.net/video4/cancanL.php . The QT object uses ActiveX when on IE only(I use Windows conditional comments) and an ordinary object for most other browsers. Until sometime very recently all of these pages worked when you select the QT file. Now QT works on none of them. I suspected the problem might be due to a very recent Windows XP update which is a large one including .NET updates and other things(K8951847) X 86. I was able to restore to a day before this update, but this did not solve the problem. Of course some portions of some updates can not be removed be restoring to an earlier time, so the result does not prove the update was not at fault.
    The involved pages are mostly written in php on the server, so you will not be able to see very much by viewing the source code. To make the problem more simple to view, I made a test page for QT only and with the ActiveX object only. Thus this test page can not be viewed on most browsers that do not support ActiveX. The test page is at http://www.cwdjr.info/broadbandMedia/formatsAX/qtmovtest2.php . Since I serve pages as valid xhtml 1.1 using the correct mime type application xhtml+xml, no IE browser can view the page, since no IE browser can support xhtml served properly. Thus I have a php include at the very top for header exchange between the browser and server. If this says the page does not support the mime type for xhtml, then php using regular expressions, etc is used to rewrite the page as html 4.01 strict for the outmoded browser. Thus don't be surprised if you find some pages in xhtml and others in html when you check properties.
    The ActiveX object used for QT on the test page is below:
    QT MOV
    (CLICK ABOVE LINK IF NO PLAYER)
    <object classid="clsid:02BF25D5-8C17-4B23-BC80-D3488ABDDC6B" width="400" height="295" codebase="http://www.apple.com/qtactivex/qtplugin.cab">
    <param name="autoplay" value="true" />
    <param name="controller" value="true" />
    <param name="kioskmode" value="true" />
    <param name="src" value="http://www.cwdjr.info/movie/cancan.mov" />
    </object>
    Once the page comes up on IE7, it is rather slow to respond. Then it gives:
    "Web site wants to install the following ActiveX control: 'Quick Time' from 'Apple Inc'".
    If you do try to install, nothing happens. In contrast to my regular pages, I added the code show above just before the start of the object. Clicking this on will bring up the QT video, but of course it is not embedded on the desired page. This may work as a temporary fix for IE. I likely can hide it from other browsers by enclosing it in Microsoft conditional comments.
    I would be interested if anyone else has had such a problem recently or any ideas concerning this strange response on IE7. I am talking about viewing the page on the server. Since this is a php page it can be viewed locally only if you have a server installed on your computer and I do not. The pages with the first url example given above have operated well on IE7, Firefox, Opera, Safari for Windows, Flock, K-Meleon, Google Chrome and SeaMonkey. There are a few players that have some issues with some of the formats, but this and the fact that some players may not be installed is the reason for offering the video in 4 formats. I sometimes offer high broadband versions as well as low broadband versions.
    It seems I spend more time correcting IE issues than for all of the other mentioned browsers combined.

    Thanks for the reference. I use nearly no JS anymore, since it often causes problems with true xhtml served properly even when you use external script files. Often one can use php script on the server and avoid these problems. When one serves as true xhtml using the correct mime type of application/xhtml+xml, the page is parsed with a very strict xml parser rather than a loose-as-a-goose html parser. (If one serves a page written in xhtml code as mime text/html, as is incorrectly done perhaps 99% of the time, you are using only html, not xhtml, and are fooling only yourself. The page is parsed as html instead of xhtml.) The xml parser has to be very strict to account for any possible xml content. Even a single, or even several, errors often will not prevent a html page from showing, but even a single error on an xhtml page served properly will often get an error report from the xml parser rather than a view of the page. One of the most laughable examples of misunderstanding of this issue is the home page of Microsoft. It claims to be xhtml. However it is served as text/html and thus would be better written in html 4.01 in the first place. Moreover, if you validate the page as xhtml at w3c, you find hundreds of xhtml errors. If Microsoft served their home page properly as application/xhtml+xml it of course would not work on any IE browser, at least through IE7, since none of these IE browsers can handle true xhtml. In addition the page likely would not show up on any browser if served as true xhtml until all of the hundreds of xml and other errors on the page were corrected. Instead, one likely would get a very long error report rather than a view of the page.
    Back to JS, document.write will not work in properly served xhtml, because it easily could produce code with XML errors. For instance it might produce code that contains an unclosed tag, which is a major xml error that can cause an xml device to malfunction. The xml parser thus rightly finds document.write as an error and prevents viewing of the page. However one often can generate the same code as document.write would produce on a browser with php on the server. The finished code is what gets downloaded to the browser, so the xml parser can check everything in the finished code rather than quess what a JS document.write might produce. And don't think you can sweep document.write under the rug by using an external JS file. The very strict xml parser finds it.
    Of course embed has never been a w3c tag, but rather is a bad hangover from the browser war era, a gift of Netscape. No page that includes embed can validate as w3c xhtml or xml of any flavor, at least through xhtml 1.1. However the page may work, despite the error, if server as text/html.
    All I know is that something has happened recently that has caused my problem to surface. It likely has to do with some change in the XP OS or IE browser. I have tried viewing several pages written by others that use many types of code for .mov, and all of them I have viewed that use an ActiveX embed for the benefit of IE now have the problem I mentioned. If anyone else with XP and nearly all updates, including the very recent one I mentioned, and the most recent version of QT has had this problem, I could be more confident that the problem comes from an external source. If not, it is still possible the sudden change could be something concerning a specific issue that has developed in my computer.
    Again, thanks for the JS reference. Some of this likely can translate into php so I can compare how the JS and php server script I am using relate.

  • To view the flash technology content in this pdf file please install this version of flash player

    I am getting an error while opening a pdf file I am using Windows 7 with adobe 10.1.7 installed error message " to view the flash technology content in this pdf file please install this version of flash player"

    Both ActiveX and plugin?  What versions?

  • Acrobat 7.0 ActiveX Object example code in Lookout

    Help folks!
    I'm trying to set up the Adobe Acrobat 7.0 Browser Document ActiveX Object under Lookout 6.0 but it doesn't work. My goal is to display a pdf document by lookout.
    What should I set by Property Browser...?
    What should I set by Property Pages...?
    What should I set by Value Property:?
    What means the term "Property" in this kind of objects?
    Is there an example code I can get?
    Any suggestion will be appreciated.
    Thanx.

    I don't know of a FREE ActiveX control for MS Word.  However, if you have MS Word installed on the same computer, you can use MS Internet Explorer ActiveX Control to view Word documents. 
    But before we do that, we have to make sure that MS Word is set to open documents in the "same window."  This basically opens a DOC file in Internet Explorer itself rather than launching a new MS Word window and then opening the DOC file in it.  To set this (if it isn't already):
    1. Launch Windows Explorer. 
    2. From the Tools menu, select "Folder Options"
    3. Click the "File Types" tab. 
    4. From the listing of "Registered File Types," select "Microsoft Word Document," (you can get to it fast by typing "DOC"); click Advanced. 
    5. Click the "Browse in same window" check box -- this toggles whether a Word document is launched outside of Internet Explorer. 
    6. Click OK to close the dialog boxes. 
    NOTE:  if the DOC still opens in a new MS Word window (and not IE), go back and toggle the check-box. 
    In Lookout, use the Lookout Webbrowser control (which is nothing but MS IE Control).  Specify the file path to the DOC file as the URL.  I am attaching a process file which does this using a TextEntry object. 
    Hope this helps.
    -Khalid
    PS:  not sure when this changed but we can't directly attach .L4P files to a post.. what a pain!  Please take a minute to add your weight to this request: 
    http://forums.ni.com/ni/board/message?board.id=130​&message.id=2142
    Message Edited by Khalid on 12-28-2005 02:55 PM
    Attachments:
    doc_process.zip ‏4 KB

  • Select option "Show this View : in Folder of Content type : {Custom Content Type Name}" while creating view using CSOM

    Hi,
    I am trying to create "View" in a Document Library and need to enable following:
    1. Mark as default View
    2. Folders -> Show this view : in Folders of Content Type : {Custom Content Type name}
    I am using following code which sets "in Folders of Content Type : " to "Folder" rather than selecting custom content type despite passing Content Type ID of custom content type.
    code:
    var itemContentTypes = clientContext.LoadQuery(web.AvailableContentTypes.Where(ct => ct.Name == viewContentType));
    clientContext.ExecuteQuery();
    var itemContentType = itemContentTypes.FirstOrDefault();
    view.ContentTypeId = itemContentType.Id;
    view.DefaultViewForContentType = true;
    view.Update();
    clientContext.ExecuteQuery();
    Please highlight what seems to be missing?
    Thanks
    Sonal

    Hi,
    Before you set the content type ID for the view, you need to add the custom content type to the library firstly.
    You can add the content type to library using OOTB feature “Add from existing site content types” in library settings or using Client Object Model.
    Here is a code snippet for your reference:
    var list = context.Web.Lists.GetByTitle(listTitle);
    list.ContentTypesEnabled = true;
    var contentType = context.Site.RootWeb.ContentTypes.GetById("0x0120");
    list.ContentTypes.AddExistingContentType(contentType);
    context.ExecuteQuery();
    More information about add exist content type using Client Object Model:<o:p></o:p>
    http://msdn.microsoft.com/en-us/library/microsoft.sharepoint.client.contenttypecollection.addexistingcontenttype%28v=office.15%29.aspx
    Best regards,
    ZhengyuGuo
    Zhengyu Guo
    TechNet Community Support

  • Alternative for the ActiveX object for the other browsers excluding IE?

    I need open a word document (Doc/Docx) then edit and save   in client side itsetf.forthat i'm using ActiveXObject and javascript.it is working fine with IE but it's not working in other browsers(Chrome,Firefox).
                        var w = new ActiveXObject('Word.Application');
                        w.Visible = true; //set to false to stop the Word document from opening
                        obj = w.Documents.Open("D:\\test.docx");
                        docText = obj.Content;
                        w.Selection.TypeText("Hello world!");
                        w.Documents.Save();
    what is Alternative for the ActiveX object (OR) How can i edit a word document (Doc/Docx) by using client side scripting?    
    Punch bala

    This problem is haaping to you there is reasons are
    1. Old FF , so 1st update your browser
    2.or net speed , beczzz gmail needs high speed .. high means not like 3G ..it should be approximately 25-30kbps . As u wrote this doesn't happen in IE , becz IE is mad for work in low speed also bt it takes time to load .. ones load never refresh without you permition bt FF works fastly so it try to open as it has dwnloded ,, bt half part cant be stable long .so it refreshes..........
    So now update ur browser n use high n stable INTERNET ....

  • ActiveX object

    Is it possible to use an activeX object in aw rather than an
    activeX control
    I am trying to integrate a report writer into an aw program,
    but the
    suppliers have just informed me that it is NOT an activeX
    control, rather an
    activeX object.
    Unfortunately not something I am familiar with.
    Thanks for any help

    I don't know VB script but do know that it is similar to
    Authorware in
    the way it can load ActiveX controls and the like. Often, the
    folks I
    work with, if asked to make something usually web-based work
    locally
    (commonly a Flash project), they'll embed it in VB to allow
    the same
    sort of local filesystem access I could achieve by doing the
    same thing
    in Authorware.
    So, perhaps the VB example they have would shed some light on
    the
    approach? Of course, if VB has a way to load these mysterious
    activeX
    objects which Authorware does not, well, there you go...
    Or, similarly, the 'online sample' on their site? If nothing
    else,
    perhaps that would show how to use this object in IE, which
    you could
    then embed into A'ware?
    I was under the same impression as the others. I don't
    understand what
    an ActiveX object is compared to a control. Simply a data
    file that some
    applications know how to run without the, um, .ocx wrapper?
    In that case, wouldn't it essentially be a .dll?
    Erik
    dave wrote:
    > This was also my understanding, that it meant the same
    thing, but there
    > seems to be no activeX (ocx) file.
    >
    > It's from a company called process academy
    > (
    http://www.processacademy.ca/default.aspx),
    they have report writing
    > software that you can embed in different technologies.
    Erik Lord
    http://www.capemedia.net
    Adobe Community Expert - Authorware
    http://www.adobe.com/communities/experts/
    http://www.awaretips.net -
    samples, tips, products, faqs, and links!
    *Search the A'ware newsgroup archives*
    http://groups.google.com/group/macromedia.authorware
    *The Blankenship Caveat: Note that direct linking to http
    content
    through any Authorware icon will likely fail if a proxy
    server is present!*

  • Problem with activeX objects

    hi all,
    i am having a problem with activeX objects.
    my activeX ( Tree View) is wrking fine with windows2000
    but when i am trying the same code with XP its saying dll missing.
    do these activeX depends on OS also..
    plz help me.

    hey Vishwas!
    did you register the .dll?
    do you work with vb.net?
    which ServicePack do you have in Windows XP?
    greetz
    Matthias

  • Getting "Connect Timedout or auth error" when usging UltraVNC ActiveX object in LV 2010

    Hi all,
     I am trying to use a VNC viewer activeX object (from: UltraVNC ActiveX Viewer) in Labview to start a remote desktop / VNC session. The example supplied along with the control is a HTML page with javascript invoking the object.
     Initially, I tried using the object by directly inserting it into an ActiveX container, but it never worked. So, I altered the design and inserted a WebBrowser object in the ActiveX container and used the Navigate2 method to open the local .htm file (that contains the exact same code as shown in example, but with altered Server address to match my local condition). Yet, even this method fails. As soon as the control passes to the Browser:Navigate2 method, I get an error stating  "Connect method failed as it timed out or authentication failure". Just to make sure there is no error with the html file itself, I opened the file in Internet Explorer and it works without issues, after first allowing the ActiveX to run (throws up a banner on top of the page saying "it is unsafe to run the activeX" (IE's security measure).
    Did anyone use this before? I just want the VNC Viewer functionality in Labview, so any alternate suggestions are welcome too.
    Regards,
    Sri Ved

    Tested the solution, but did not work. Attached is the screen shot of the error, if it helps. Also, I ensured all the variables under ActiveX and Scripting are set to "Enable" in IE Security Settings (listed below) in both the Internet and Intranet categories. Is there something obvious that I am missing?
    Regards,
    Sri
    Enabled:
      Allow previously unused ActiveX controls to run without prompt
      Allow Scriptlets
      Automatic prompting for ActiveX controls
      Binary and script behavior
      Display video and animation on a webpage that does not use external media player
      Download signed ActiveX controls (not secure)
      Download unsigned ActiveX controls
      Initialize and script ActiveX contrtols not marked as safe for scripting
      Only allow approved domains to use ActiveX without prompt
      Run ActiveX controls and plug-ins
      Script ActiveX controls marked safe for scripting*
      Scripting:
      Allow programmatic clipboard access
      Allow status bar updates via script
     Allow websites to prompt for information using scripted windows
     Enable XSS Filter
     Scripting of java applets
    Attachments:
    ActiveX_VNC_Error.jpg ‏134 KB

  • ActiveX Object references - casting to a specific instance

    I have some ActiveX controls that are used to interface between a vendors hardware. The activex controls are quite heavy weight in that at any one time there should only be one instance of each of the type of controls within the program.
    What I want to do is keep the activex controls in the top level vi and pass references to sub-vi's in order to do property changes or method calls on the activex objects.
    When I create an activex reference control in a sub vi it doesnt seem to know what methods/propertys are available on that reference. I beleive it needs casting/converting to a reference that will allow LabView to recognize the reference type but im not sure how to do this.
    Thanks
    TMC

    Your automation refnums are probably not linked to the ActiveX control. Try this... select a property node in your main VI's diagram that has the desired ActiveX control attributes displayed and then select Edit>>Create SubVI from the menu. The automation refnum in the subVI will be linked to the ActiveX control and will work the way you want it to. Copy this to your other subVIs and the property nodes will start behaving. The other way to link the automation refnums is to right-click on them and choose select ActiveX class and then browse to your control.
    -Jim

  • 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

  • Is there a way for AutoVue viewer (JVue/VueBean object) to cancel long lasting loading/rendering operation?

    Is there a way for AutoVue viewer (JVue/VueBean object) to cancel long lasting loading/rendering operation? In our integration when we try to switch from a document being loading on another one we can get an error message “Cannot load page” (but the document is shown after that). Or if we try to stop loading document by calling jVue.closeDocument() we can see everlasting progress bar and indicator “Loading…” on the status bar.

    No, it is not possible

  • Stacked canvas view placed on the content canvas

    Hi to all,
    i am developed a one form ,i.e placed the stacked canvas view on the content convas.
    i create a two data block's with same table.
    one data block for content canvas and one for stacked canvas.
    in the content canvas i taken two fileds with scroll bar and remaining fields placed on the stacked canvas.
    these stacked canvas view put on the content canvas.it dispalying and
    executed succesfully.
    here i am getting one problem i am displying the 10 records at a time in both canvases.my requirment is placed on the
    cursor on the content canvas particular record scroll down then automatically show the same record details in stacked canvas and
    content canvas scroll bar is changed automatically stacked canvas scroll bar is changed.
    any one help me.........

    {quotei create a two data block's with same table.
    one data block for content canvas and one for stacked canvas.{quote}
    This is not necessary. Just create one data block and then assign the block items to your Content and Stacked canvases. You can display items in a data block on different canvases. By doing this, there is no need to write code to synchronize the records because they are part of the same data block so they will automatically scroll as you navigate through your records.
    Craig...

  • Adobe Acrobat Message : ''To view the flash technology content in this PDF, please install the version of flash player that supports Adobe reader and acrobat "

    I am using interop acrobat dll in one of my client , when trying to open a pdf file in acrobat X the following message appears :
    ''To view the flash technology content in this PDF, please install the version of flash player that supports Adobe reader and acrobat "
    Is there any workaround to fix this issue ?...
    will installing the flash player fix the issue ?
    thanks

    i am trying to convert the pdf to tiff image using
    //Using ACROBAT PRO
                AcroAppClass app = new AcroAppClass();
                AcroAVDoc doc = new AcroAVDocClass();
    i tried downloading the flash player ,now the error does not appear but for those pdf that displays this flash message error i am not getting the pdf converted to tiff file , instead i get an image with message
    What could be the cause of this issue ?

Maybe you are looking for

  • Motion Crashes!

    Strangest thing.... Motion crashes when I select a background color or text color. (which makes this app useless). Several reinstall have been attempted and yet, the problem persist. Has anyone experience this same issue? If so, what remedies have yo

  • Multiple screens issue on App Server 10.1.2.3

    Hi, I'm having an issue with having multiple screen open within the same session on App Server 10g. The first screen opens and operates just fine. When I open the 2nd screen, I have some poplists that get built when it opens, but it doesn't seem to p

  • Hierarchy based non-cumulative reporting

    BI Gurus, I am dealing with a data model with all cumulative "summation" type key figures.  These are hours logged by an employee.  There is also an employee hierarchy which defines the reporting structure.  Now the requirement is to create two repor

  • 2x 27'' Apple LED cinema displays?

    Hello, I ordered 2x of the new 27'' LED displays ... but then I started wondering if such big size is still doable to use them both simultaneously and comfortably. I plan to have one busy with programming environments e.g. Eclipse while the other for

  • List of Purchase Req

    I have requiremen to list all pending purhcase requisitions based on certain criteria (like Buyer group etc). Can you advise if there is existing FM, could not find one so far. I have tried with BPP* etc. Thanks, Ravi