Will an executable that uses ActiveX controls work ?

I'm using a typedef control (.ctl file)that's pointing to a type library (COM Object) file in the folder with the rest of the VIs. This was an attempt to ensure that the client (who doesn't have LV-DS) wouldn't have to worry about LabView not finding the type-library. I made my build using the top-level VI but it doesn't run. Could there be something I've missed ?
Thanks,
Shiv

As far as I know, you have to register your component with the target machine. First try manually to check if it's working, using "regsvr32" at command prompt. After, you can integrate a BAT file in the installation kit (to do the same thing automatically).
Hope this helps

Similar Messages

  • Query about use activex control in Developer form

    I'm an oracle developer and My name is milton datta.I cant' use activex control in forms.Pls. anybody would help me how to use activex control in developer forms.If possible provide me with some examples.
    my email address is [email protected]

    Download the Oracle Forms demos and you'll see a sample.
    Also read the documentation for Oracle Forms 6i the developer guide has a section about Active/X.
    Just remember that they will not work once you take your Forms to the Web. So think twice before you use them.

  • Tips on transferring LV executable that uses Field Point Serial to another PC

    I have been trying to transfer an LabVIEW compiled executable  from one PC to another
    The executable references 2 field point serial banks.
    After hours of frustration I think I have it pinned it down to the fact that (at least for me) It is not possible unless LabVIEW is invoked on the target machine.
    Only if I start LV 2010 and configure a field point control on it then LabVIEW can refer to the Bank. After that I can have it refer to the correct IAK file and the executable will work. 
    However IF I try to transfer from another machine without starting LabVIEW on the target machine it simply will not work for me.
    It seems that I have to load a FIeld point control on a block diagram of a new machine then configure it to get dialogs to come up specifying
    how to select the proper configuration. I do not see any of this help in MAX
    Id much rather have a way of setting up in MAX than having my EXE work right away. Instead my workaround is to
    start LabVIEW and configure a field point control to get it set up proiperly.
    This means I may have to install yet another version of LabVIEw to get the exe to work again and its getting tiresome.
    I use INI files for the serial port settings. Its the field point software that has me going in circles.
    If anyone have any experience or tips for transferring an executable that uses fieldpoint serial (FP-1000) from one PC to another PC
    without having to invoke LabVIEW to configureit I would be interested in hearing from you. Thanks
    PS Target machine has LV2010   MAV ver 4.70f4
    Executable compiled in LV 2010
    Source Machine has LV 2010 SP1  MAX ver 4.7.6
    Executable compiled in LV 2010 SP1
    My next move is to upgrade the target to 2010 SP1 and try again but it has already taken me days to transfer this one program
    and I still cant figure out how to do it so I might just wait and see if there is any interest in helping me first.
    Thanks again!

    I have been to these KnowledgeBase links and what is so frustrating about it is that I have have not seen anything that was not already done
    automatically when I created the executable on the source machine and transferred the executable to the target machine.
    http://digital.ni.com/public.nsf/allkb/734179A2A6779C4286256C4C0069C5F4
    http://digital.ni.com/public.nsf/allkb/2DC46E07FAA0A5EF86256F35006E9AE5
    http://digital.ni.com/public.nsf/allkb/0E9001A8C84CD89486256DE80073F198
    MY FP version is 6.07 on both machines.
    The dll is where its supposed to be on the target machine in a Data subfolder under the main application (exe) folder
    The IAK file is created in MAX with the designations identical to what is the source machine.
    The EXE is now partially working (somehow) but I am trying to find out the exact procedure for next time so I can write it down for future reference..
    EVen though the target application now 'sees' the Field point banks the utility I added into the exe to allow user to configure a front panel Field Point control
    (should it be required) does not work. Instead when I try to browse configure the control in the executable I now get this error dialog.
    This must be the root of all my troubles.
    I am now attempting to resolve this by installing LV2010 SP1  and DCD_NOV10 on the target machine so that it matches the source machine.
    (If I am going to re-install Fieldpoint I might as well install the whole Device Driver CD)
    I hope this solves this issue once and for all.
    Your knowledge base insists that if the field point versions are the same on both machines and if the DLL is where it is supposed to be and if the IAK file is loaded and saved
    this should work. It did not and still does not fully work. If I can find the exact reason I will report it in this thread.
    Attachments:
    ni-FP-error.GIF ‏16 KB

  • Using ActiveX controls in GUI application, which uses TestStand API

    When using ActiveX controls in TestStand Operator Interface GUI,
    CVI reports User Interface Library error no.-143:
    "ActiveX control Error" on attempt to load panel, which contains ActiveX controls.
    The same code, which takes care of user interface, but not references
    TestStand ActiveX API (i.e. not creates TS Engine), works properly.
    What's wrong?

    Hello again Misha,
    Sorry about my previous answer, I overlooked the fact that you were saying this error was caused by placing ActiveX controls in your Operator Interface (OI) GUI (as my example shows I thought the problem was with GUIs displayed from step code modules).
    Nevertheless, the problem is still being caused by the same issue, and is solved in a similar fashion. The source for the CVI OI initializes the TestStand engine before it loads/displays the UI panels. The calls to initialize the engine seem to be CoInitializing the main GUI thread as multithreaded apartment (MTA) mode whereas you will need it to be single threaded apartment (STA) mode in order for the ActiveX control container to work properly. The TestStand engine is compatible with either modes, but only one can be in place at a given time. If we CoInitialize the OI's main GUI thread as STA this will solve the problem (the subsequent attempts of setting it to MTA will fail, but again this is ok since the engine is compatible with STA).
    In order to perform this functionality you will need to put a call to CoInitializeEx in the main function of the CVI OI source (this will also require that you #include the "windows.h" file at the top of the source also). Here is what the main function in your main.c file for the CVI OI will look like once you have done this:
    int main(int argc, char **argv)
    int retval = -1;
    sArgc = argc;
    sArgv = argv;
    if(InitCVIRTE(0, argv, 0) == 0) /* Initialize CVI libraries */
    goto Done; /* out of memory */
    // Intialize main GUI thread as STA to prevent other attempt to make it
    // MTA, which will not allow ActiveX controls to be used.
    CoInitializeEx(NULL, COINIT_APARTMENTTHREADED);
    /* initialize the test engine */
    if(!InitEngine())
    goto Done;
    if(!InitErrorDialogStrings())
    goto Done;
    if(!InStandaloneExecutable() && !DisplayRunningInEnvironmentWarning())
    goto Done; // get out now
    if(!ProcessPreLoginCmdlineArgs())
    goto Done;
    if(!CfgFile_Load())
    goto Done;
    if(!CfgFile_RestoreOptionSettings())
    goto Done;
    if(LoadGUIPanels() < 0)
    goto Done;
    if(!InitFileQuickList())
    goto Done;
    /* set initial gui state */
    if(!InitGUI())
    goto Done;
    RunUserInterface();
    retval = 0; /* normal exist status */
    Done:
    /* cleanup */
    SeqFileList_DeleteAllSequenceFileRecords();
    ExeList_DeleteAllRecords();
    IconList_DeleteIconList();
    SaveAndCleanupFileQuickList();
    CfgFile_SaveOptionSettings();
    CfgFile_WriteAndCleanupForExit();
    AdaptList_DeleteAdapterList();
    DestroyToolMenus();
    CloseEngine();
    FreeErrorDialogStrings();
    return retval;
    Note: Remember to #include "windows.h" at the very top of the main.c file and to include ole32.lib in your project file list in order to link in the definition for CoInitializeEx.
    Jason F.
    Applications Engineer
    National Instruments
    www.ni.com/ask

  • How can i use activeX Control in labview?

    how can i use activeX Control in labview?
    please describe me step by step.
    thanks.

    Well..that was quite helpful..but now I'm encountering certain problems. I've attached the VI I've made.
    I don't need sound at the moment so I dropped it. (Although I tried to play it..but all I could hear was a very annoying sound.) Secondly I don't want to display any date or time..so i dropped that property too.
    Now when I run this Vi...the webcam turns on, the screen of videocapx pops up..then the webcam light goes off..and another pop up appears saying..labview is not responding..and i have to close it reluctantly.
    I haven't placed the stop capture property in this vi. i checked it by placing it too..but that doesn't work.
    I would like to notify that my actual task is to acquire image and then compare it with another one already present on my pc. I want you to please help me out..solve my first query then I'll proceed with the latter part.
    Attachments:
    activexvideocaps.vi ‏20 KB

  • How does labVIEW use ActiveX controls?

    How does labVIEW use activeX controls?
    I recently wrote an activeX control in VB and noticed that it would not work if the control was set so that its properties could not be set in ambient mode. This may suggest that labVIEW uses some activeX controls only in ambient mode.
    Is this the case or are there more complexities?

    Dan,
    Which version of LabVIEW do you have?
    As per the KnowledgeBase bellow, in versions of LabVIEW prior to 5.1 you would get errors accessing the ambient properties.
    ActiveX Controls in LabVIEW 5.0.1 Containers Cannot Access Ambient Property
    Do your controls use the Ambient.UserMode to determine when the control is being used in a development environment? When embedding ActiveX controls into a container on the front panel, by default, the ActiveX control generates and responds to events, i.e. it is running, even when LabVIEW is in edit mode.
    Right-click an ActiveX container and select Advanced»Design Mode from the shortcut menu to display the container
    in design mode while you edit the VI. In design mode, events are not generated and event procedures do not run. The default mode is run mode, where you interact with the object as a user would.
    Information can be found in the LabVIEW help files
    Zvezdana S.

  • 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

  • Using activex control in forms 6i(OWC11.Spreadsheet.11 control)

    Hi all,
    I want to use activex control OWC11.Spreadsheet.11 in forms6i
    does any one used this component in form6i ?
    any help/suggestions would appreciated

    when u load activex (spreedsheet) the corresponting menu also u can see when u run through which also you can set the attribute values
    im also check the same it is working
    sorry i saw it on design time
    kansih
    Edited by: Kanish on Apr 28, 2009 2:54 AM

  • Using activex control in forms 6i

    hi all,
    I want to use activex control in my form. (e.g Spreadsheet.11) . how to set the cell property (value,colour,border etc..)
    i have created activex control in form and imported ole libraries, run time i am able to see the control .Ii want to set cell properties . any suggestion/help/code greatly appreciated

    when u load activex (spreedsheet) the corresponting menu also u can see when u run through which also you can set the attribute values
    im also check the same it is working
    sorry i saw it on design time
    kansih
    Edited by: Kanish on Apr 28, 2009 2:54 AM

  • Using ActiveX control

    I want to use ActiveX control in my form. I also want to know how i can create word or excel objects and use there functions.

    when u load activex (spreedsheet) the corresponting menu also u can see when u run through which also you can set the attribute values
    im also check the same it is working
    sorry i saw it on design time
    kansih
    Edited by: Kanish on Apr 28, 2009 2:54 AM

  • IPod is using voice over and won't scroll. What setting did my child click? It will allow me to use voice control, but i need to know what's wrong first so I can give the correct command.

    My daughter's iPod is using voice over and won't scroll. What setting did my child click? It will allow me to use voice control, but i need to know what's wrong first so I can give the correct command.

    VoiceOver is an Accessibility feature while Voice Control allows you to control the Music app via voice.
    To turn off VoiceOver triple click the Home button and go to Settings>General>Accessibility and turn it off. Use three fingers to scroll if necessary.
    iPhone: Configuring accessibility features (including VoiceOver and Zoom)
    iOS: Getting started with VoiceOver for accessibility

  • ITunes successfully installs in my computer but the moment I open it, a message will appear showing that microsoft has stopped working and the program will close. What do I do?

    iTunes successfully installs in my computer but the moment I open it, a message will appear showing that microsoft has stopped working and the program will close. What do I do?

    Let's first try updating your QuickTime Player to the most recent version. Does that help with the iTunes launch errors?

  • I started getting messages 3 days ago that my Safari cannot establish a secure connection to Facebook, and it will not open that website. It worked fine for years before this occurred 3 days ago, what can I do to fix it?

    I started getting messages 3 days ago that my Safari cannot establish a secure connection to Facebook, and it will not open that website. It worked fine for years before this occurred 3 days ago, what can I do to fix it?  OS 10.8.3, Safari 6.0.4

    From your Safari menu bar click Safari > Preferences then select the Privacy tab.
    Click:   Remove All Website Data
    Then delete the cache.
    Open a Finder window. From the Finder menu bar click Go > Go to Folder
    Type or copy paste the following
    ~/Library/Caches/com.apple.Safari/Cache.db
    Click Go then move the Cache.db file to the Trash.
    Quit and relaunch Safari to test.
    If nothing above helped, troubleshoot Safari extensions.
    From the Safari menu bar click Safari > Preferences then select the Extensions tab. Turn that OFF, quit and relaunch Safari to test.
    If that helped, turn one extension on then quit and relaunch Safari to test until you find the incompatible extension then click uninstall.

  • How Use ActiveX Control Item!

    Please Let me know how use OCX Control with ActiveX Control Item in forms6i,
    and send me Sample code(*.fmb).
    Especially, I want to know how handle 'Event' of OCX Control in forms 6i.
    When use VBasic, code is descibed in 'Event' of OCX Control, and then how handle 'Event' of OCX Control in forms 6i.
    return to mail - [email protected]

    I think that if you use an activeX container, property and invoke nodes will work for the document/file or whatever you have in it, so I recommed you to use references to the file you want to use, open an activeX reference in the block diagram, and pass this reference to open, write, save and exit. This can be done easyly using the invoke and property nodes you already know... If not, check for errors between them, sometimes one error makes the rest of the code not to work... Hope this helps.
    If you want me to check the program, you can send an example here, but be sure it's LV 5.0, I've nor 5.1 nor 6.0, it can be a way of knowing the problem.

  • How to extend the JVue applet class using ActiveX Control

    My SR recommendation was to post this here:
    ) How to Extend the JVue Applet class
    This is the preferred solution. However, when using the ActiveX control, my derived JVue class that is specified in autovue.properties is not being instantiated.
    Your ActiveX bridge looks like it's hard coding a "new JVue()" which means I have no integration hook using the ActiveX control.
    To reiterate, if I extend JVue to add functionality and specify it in the autovue.properties, it is picked up when I run it standalone but if I use the ActiveX component, it is not being picked up.
    I have already read all the documentation, have had web conferences with Mahmood and Jeff Chapman and the engineering staff who recommended this approach as the preferred option.

    We have a need to override certain VueBean/JVue method calls to meet our document handling(documents need to handle metadata information and hence change the document loading cycle, ie markup loading/XRef resolution is dynamic). Also the invokeAction/invokeSubAction do not allow parameter passing(which we have requirements for certain actions again due to metadata) so we would like to override the invokeAction method to include custom processing(we will encode the action with parameters).
    We are already using Custom VueActions for other simpler UI event handling that don't have parameter requirements.
    As I said above, these use cases were relayed to the engineering team and senior staff members in early December and we were told that we could proceed with overriding the main class in the autovue.properties file. I have SR(s) opened with a long thread detailing this so I really don't want to go through this again.
    A custom VueAction does not seem to work because it binds to late in the object call/event stream.

Maybe you are looking for

  • Spry collapsible panel - panel (link) border issue

    Hi folks. I'm new to spry and I'm inserting a spry collapsible panel into a web page in Dreamweaver CS4. It all works fine but i have this very ugly border around the panel tab (the link that you click to open the panel). In frefox its a dotted line

  • Problem in oracle 10g web application report printing in character mode

    Hi, We are using oracle dev. 10g suite based web application. This is an application migrated from oracle forms & report 6i. It's working fine except printing report in character mode. When we run the report then preview is Ok but in printing format

  • Replacement optical drive for late 2009 Mini

    I recently purchased a used late 2009 Mac Mini that works great except the optical drive does not read any CD's/ DVD's I have fed into it. I hooked up an external USB drive which reads hem fine, but is not bootable, in case I ever need to reinstall m

  • DIY: Is it possible to replace the Hard Drive on a MacBook?!

    It seems it is permitted to replace the Hard Drive on a MacBook (13"). I found Apple "Hard Drive Replacement Instructions 073-1045 Rev A" dated 26 Jan 2007. OK this is very basic-- but my question is: When you get the Hard Drive and Install it-- can

  • PI Demo Examples problems with executing CTC template for client setup

    Dear SAP community, I use PI 7.30 SP 4 and get the following exception if I use the CTC template to set up the PI demo examples in client 105 and 106 Web Services Configuration Description Exception in step "SRT_TECHNICAL_SETUP" Exception details : j