How to implement ActiveX (OCX) Controls

Hi All,
Please help me. I want to call a OCX control in forms 6i. Please let me know how to do it or any documentation is available.
Thanks
srini.

1. You have to create ActiveX control item on your
canvas.
2. Use Program / Import library interfaces ... menu in your form builder to import the OLE interfaces to your application. this creates a package in you form where you can sepcify your PL/SQL code for OCX events.
With Dev 6i we could not make Forms to automatically load the OCX control, the user has to do it by using the context menu. At least this is the case for Winddows 2000.
Be carefull: OCX / ActiveX is not supported on the Web forms wether it is Forms 6i or 9i.

Similar Messages

  • How to implement a boolean control via network

    Hi,
    I am developing an application by using LabVIEW 8.2 and RealTime. There is a host PC connecting to a PXI
    through network cable. Application VIs are running at PXI and GUi is running at host PC. My problem is
    When I config a boolean control as "Latch when release" mechanism, pass it to a shared network variable
    and then to a boolean control at PXI. "Latch when release" mechanism seems not run very well. Most of the
    time, no action when I press the boolean control button in my GUI. It seems that shared network variable
    could not act as "Latch when release" mechanism. I checked some examples from NI. Most of examples set
    the boolean control button mechanism as "Switch when press" and manually switch it status later on. I have
    a bunch of such boolean control buttons in my GUI. It will be hard to handle every of them in this way.
    I'd like to know whether there is an easier solution for this.
    Thanks
    Jason

    Hi Jason,
    How are you passing the shared variable to the Boolean control in PXI VI?
    Here is something to try out.
    --Configure the Boolean controls on both systems to "latch until released".
    --Create the shared variable (network-published) on the host PC and wire the output of the Boolean control to it.
    --On the remote system, bind the Boolean control to the shared variable on the host PC. To bind to the shared variable, right click the Boolean control 
       and select properties. Then select the "Data Binding" tab in the property window. Set the "data Binding selection" option to "Shared Variable Engine
       (NI-PSP)" and browse for the path to the shared variable created on the host PC.
    --With this setting, whenever the Boolean control on the remote system (PXI) reads a true value, it stays true until the value is read by LabVIEW and
        goes back to the initial (false) state.
    Checkout the attached sample LabVIEW project.
    Tun
    Message Edited by Tunde A on 12-12-2006 05:27 PM
    Attachments:
    Boolean Shared Var.zip ‏18 KB

  • HELP: How to implement Model Predictive Control in LabVIEW?

    Hi, everyone
    I have a problem on realizing model predictive control algorithm in LabVIEW 7.1.1.
    What I have now is a linear model predictive control algorithm designed with Matlab -- Model Predictive Control Toolbox. Under simulation in SIMULINK, it works well.
    Now I need to implement this algorithm with hardwares such as sensors and actuaors by LabVIEW.  Initially, I try to use the NI Simulation Interface Toolkit (SIT) 2.0 connect the simulink module with my LabVIEW interface to get the model calculation out of matlab, then send them into LabVIEW. It failed, because SIT can only help me design a simulation interface in LabVIEW based on Matlab model. Not the parrallel working mode I need. I am wondering,  does any  people here have experience dealing with the similar problems? 
    Thanks! Appreciate your time and help!

    Thanks Jarrod.
    With your suggestion, I tried LabVIEW simulation module. It seems the Model Predictive Control (MPC) block I developed in Matlab/SIMULINK cannot be supported by LabVIEW simulation translator. 
    The parrallel mode means I want to use the input from DAQ card as the input for MPC block (Basically, it is just a control algorithm with I/O), and I would like to use the output from MPC block as my actuator output to external device. However, when I use Simulation Interface Toolkit to import my MPC block from Matlab to LabVIEW. It is completely sealed. I mean I cannot pull the I/O ports out from this block in LabVIEW. That is the problem where I am now.
    BTW: I found there is optimization function in Simulation module of LabVIEW.  But Why I cannot find that function in my Simulation module (LabVIEW 7.1.1 + Simulation Module 1.0) ?
    Do I need to upgrade my LabVIEW to 8.0, since I heard about several powerful math functions there. And I am hoping with these math tools, I could realize MPC by myself in LabVIEW.
    Anyway, Thanks a lot for your help!!!

  • How to implement Tool TIP in Table Control

    Hello Everyone,
    Can you please tell me how to implement a tooltip messages in table control columns.
    The Tooltip contains a simple message like "Doublde click on column.
    Thanks in advance.
    Edited by: Suruchi Razdan on Jun 6, 2011 7:57 AM

    Hello,
    In table Control->first Header Row has chance to maintain the Tooltip option.
    In table control columns maintain Double click options in attributes .
    Regards,
    Praveen

  • In ActiveX(OCX), How to Set "Choose paper source by PDF page size"

    Using Adobe Acrobat Reader ActiveX(ocx) in Delphi 7.
    I want to set "Choose paper source by PDF page size" value, in Source Code dynamically.
    Do you know how to set in Source Code?  Not in Print Dialog Window.
    Please help me. (.net or C# or any language.)

    I have this exact same question. Does anyone know if this is possible?
    Thank you,
    Ryan

  • How to implement a client side map with ObjectImage control?

    We need to implement a client side map with an ADF Faces ObjectImage control. In the code below, the JSF Faces GraphicImage contol does support a client side image map using the usemap property. However, it appears that the ADF Faces ObjectImage control does not support a client side map. Is there someway of implementing this functionality in an ObjectImage control?
    <h:graphicImage url="/images/map-usa.gif"
    usemap="#m_mapusa"
    binding="#{backing_map.graphicImage2}"
    id="graphicImage2"
    style="border-style:none;"/>
    <af:objectImage source="/images/map-usa.gif"
    binding="#{backing_map.objectImage2}"
    id="objectImage2" />
    We could use the Graphic Image control except we have a problem by mixing a JSF GraphicImage control in the same table with a variety of ADF Faces controls in that when a user clicks on the GraphicImage, then the browser windows scrolls down to center the GraphicImage control. A user then needs to scroll back up to see the rest of the page. If an ObjectImage control is used with an onClick action, then the page does not scroll, which is what we want. So if we can figure out how to add a client side map to an ObjectImage control we would get the desired results.
    An alternative might be to use a server side map with the ObjectImage control. But our question here is how to implement the existing client side image map in a backing bean. As the following map code shows, not all image map areas are rectangles - some are polygons.
    <area id="_state_05" href="#"
    shape="rect"
    coords="681,38,702,50"
    target="_self" value="VT" alt="Vermont"
    onclick="javascript:getDtl(this);"/>
    <area id="_state_06" href="#"
    shape="poly"
    coords="221,442,209,436,209,418,191,403,155,382,116,367,101,370,98,364,
    122,355,158,367,203,388,212,394,242,427"
    target="_self" value="HI" alt="Hawaii"
    onclick="javascript:getDtl(this);"/>

    Hi,
    Any news about that issue, we are also interested in any solution.
    Thanks
    Math

  • How to implement navigation control inside view controller project

    Hi,
    I am trying to implement an navigation control in a view controller project.
    I am unable to do that process.
    Can anyone please suggest me how to do this navigation flow which should be placed inside view controller.
    SRI.

    Hi,
    I am using Jdeveloper 11.1.1.4.0.
    To use the appModules methods, I am creating the service interface and then I am creating the webservice proxy into another view controller project and access the appModule methods.
    Now, I don't want to create the webservice proxy. I want to directly access the appModule methods.
    Thanks,
    Rohit.

  • HOW TO use OCX controls with Java application

    hi
    Is it possible to use microsoft Ocx controls in java applications.

    Anything is possible. You might want to ask if it's a good idea, but look at some of the people who have asked before. It looks like there are products out there to help.
    http://search.java.sun.com/search/java/index.jsp?qp=&nh=10&qt=%2Btitle%3Aocx&col=javaforums&x=19&y=13

  • Not able to install ActiveX (OCX) on Non-Admin user in Windows 7 ( internet Explorer 8/9)

    I need the solution to install ActiveX controls throught CAB file (Micorsoft Cabinet) for non-admin users. Our solution is working for user accounts with adminstrator rights but not for nonadmin users.
    So far we have tried solution given here: http://msdn.microsoft.com/en-us/library/dd433049(v=vs.85).aspx
    and here:
    http://blogs.msdn.com/b/askie/archive/2012/09/27/guidlines-on-implementing-activex-installer-service-axis.aspx
    But we could not succeed. Pls Help !

    Hi,
    Apologize for the late reply and the misunderstanding about the ActiveX download location, we could change the location through the below registries:
    Use Registry Editor to change the "ActiveXCache" value to the location you want in the following registry key:
          HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Internet Settings
    Use Registry Editor to change the "0" value to the location you want in the following registry key:
          HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Internet Settings\ActiveX Cache
       NOTE: The values you enter in steps 1 and 2 must match.
    More information, please check
    How to Change the Download Location for ActiveX Files (registries exists in IE11).
    Regarding the urls that download the cab files into user profile directory, would you mind to share the URL?
    And here is some information regarding inf files:
    About INF File Architecture
    We may check the value of DestDir, DestDir can be set to 10 to place the file into the \Windows directory or to 11 to place the file into the \Windows\System directory. If no value is specified, the file is placed into the \Cache directory.
    Best regards
    Michael Shao
    TechNet Community Support

  • ActiveX Tree Control

    Hello group,
    I want to use an ActiveX Tree Control in my application (LabVIEW 6.1). How
    can be secured that the built application will run on any 32Bit Windows
    system? I. e. which ActiveX Server must be installed, what is the most
    common type and where can I get the package from?
    Thanks,
    Marko

    Marko,
    Microsoft ActiveX TreeView control is part of the Microsoft Common controls. As long as you have the mscomctl.ocx installed and registerd on the machine, you will have the TreeView control, and will be able to use the LabVIEW built executable that uses this control.
    Zvezdana S.
    National Instruments

  • Conect Peoplesoft to Genesys with Activex OCX

    Dear All, we need to conect Peoplesoft to Genesys but because the high level of customizations that was implemented in Genesys we would like to create an Activex OCX and plug the JSMCAPI to OCX. Is it possible? Is there an example for we use?

    Hi Matt,
    Ensure that your adapters are configured correctly. To do so, click on Configure Menu Option and select Adapters. Click on "ActiveX/COm" and click Configure. Ensure that the checkbox for "Show ActiveX Controls when Specifying a Module" is checked.
    You should be able to see all the activeX controls registered on the system, when you specify the module for your activeX step.
    Hope this helps.
    SijinK
    National Instruments

  • Images in OCX controls

    Hi,
    I have a custom made button control (OCX) which can contain images and text.
    "LoadPicture" method is used in vb for setting the image.
    Eg:-
    Private Sub Command1_Click()
    CommonDialog1.ShowOpen
    Set CoolButton1.Picture = LoadPicture(CommonDialog1.FileName)
    End Sub
    How can i do this in forms6i?
    If u have sample forms using ocx controls with images pleaaaase forward..
    Its very urgent. I have already spend lot of time on it.
    Fahad

    Its just a matter of using ActiveX control on Forms. Steps:
    1. Go Main menu Programs -> OLE Importer. It shows the list of registered ActiveX controls. Select the class of your Button control. The wizard generates the Interface packages for Events and Properties.
    2. AS u are saying, U want to use LoadPicture(), it is a Method. Syntax for using it is:
    Interface_name.Method_name(:ITEM('Item_name').INTERFACE, parameter1, parameter2, ... ) ;
    Here ITEM and INTERFACE are PL/SQL keywords.
    U can get the Interface_name of your OCX from the Ole Importer generated package. It also has the interface declaration for all the methods supported by the control. Parameter1, ... are the different parameters required by the Method, if any!
    Hope it helps U...
    Regards,
    Ritesh
    null

  • Searching an embedded PDF using the OCX control

    Does anyone have any thoughts on being able to search a PDF that is opened in a VB form using the OCX control that is provided with Adobe Acrobat?  Is the ExecCommand usable for this?  I'm simply trying to find the first instance of a search string in the document.  In the below snippet, I open the file; how do I find the string searchString?
    Thanks in advance.
    Dim FILENAME As String
    Dim searchString as string
    FILENAME = "C:\Users\jwollman\Documents\Research\Reform\full document.pdf"
    PDFViewer.LoadFile FILENAME

    Hi,
    If you open with the reader, the menu bar of Internet explorer will change. If you open inside the activeX, the menu bar will not change. If this is the case, I think is possible your configuration will not work because the activeX is not exactally the reader. For instance, if you navigate to a xdp/xfdf with Reader, you will be able to open the target PDF. However, if you make that with ActiveX you will not.
    regards

  • How to add A Gauge Control in VC++ MFC Application

    How to add A Gauge Control in VC++ MFC Application.
    i want to add Gauge Control in my Application. like meter.
    ther meter should perform depends upon the value.
    for example , Assume the meter have 10 units 1-10 . if the value (ie, input ) is 4 the meter point out the 4 like that.

    How to implement CProgressCtrl to like this.
    https://social.msdn.microsoft.com/Forums/getfile/643828
    You need to implement this all by your own or if you are lucky you may something find @Codeproject, CodeGuru, ...
    Here you will find examples on creating custom controls (in general)
    http://www.codeproject.com/Articles/521/Creating-Custom-Controls
    https://msdn.microsoft.com/en-us/library/bk2h3c6w.aspx?f=255&MSPPError=-2147217396
    You will find a lot more stuff if you try your prefered search engine.
    Maybe this one fits the best to your requirements:
    http://www.codeproject.com/Articles/9375/CStatic-derivative-CSpeedoMeter-class
    Best regards
    Bordon
    Note: Posted code pieces may not have a good programming style and may not perfect. It is also possible that they do not work in all situations. Code pieces are only indended to explain something particualar.

  • BADI implementation for Copying control in CRM

    HI,
      Can anybody help me for my requirment, i want to implement BADI for copying control in CRM how to implement, and i want to filed in qutation screen how .
    Regards,
    Sivakumar.

    Check the BADI "ME_PROCESS_PO_CUST".
    Regards
    Vinod

Maybe you are looking for

  • Issue with Hyperlink in the Office 2013

    Hi, i have creared a hyperlink in my outlook 2013 email for a sharepoint it was working excatly fine. however we have asked to paste the same vanity URL in the word'2013, which is not working or taking to the excat location. I tried all the support a

  • Sudden strange message

    I'm running Photoshop CS3 on a 3.06 GHz Intel Core 2 Duo Imac with 4GB of memory. I am suddenly getting this message every time I try to save a change to an image: "Could not save (image name) because the file is already in use or was left open." I h

  • Redeeming the one site hosting via Business Catalyst?

    I want to upload the one free site that is part of my Muse subscription but cannot find any steps to follow other than the normal ones which will mean being billed. Help!

  • Privacy has ruined my app store. What the world would be when we saw this:

    专业代购软件 评论人: A我的电脑5 为解决众多iphone,ipad用户没有信用卡的烦恼,特推出代购正版iphone,ipad软件业务.本店可以代购itunes软件商城所有的软件和游戏!超低价格代 购! 支持淘宝,财富通,工农中建四大网银转账,方便快捷,安全省心! 联系qq:107904328 For brief translation, the guy above just what to buy all the apps, and then shares his/her account t

  • No go with iPhoto

    My Ipod Touch doesn't sync at all with iPhoto. Very annoying. The photos were uploaded mostly in an older OS, but even recent photos don't show up through the sync. Any ideas on this?