ActiveX Control+OLE Container+ Bean Area. Help Required

I am a beginner and using forms 6i, where can i find detailed information about ActiveX Control,OLE Container and Bean Area.

Hello,
Forms 6i is a very old version and is unsupported for a long time. Are you forced to use this version ? If you are a beginner, why don't you start with the current version ?
Francois

Similar Messages

  • Need help inserting ActiveX Control

    We provide an ActiveX control to talk to an instrument. We sell very few of these but nonetheless I've been asked to upgrade the LabVIEW sample (even though it only accounts for 10% of our few sales). I did make a sample a long time ago for labiew 5.1 but was going to make a new one for labview 2011 (as its too difficult to import the sample from 5.1).
    For testing (and that I'm not releasing any proprietary stuff) I wrote a simple ActiveX control that contains some of the features of the instrument control. This includes going to a particular position, scanning between two positions and receiving events (data, message and status). I was very easily able to write a quick demo in VB6 and C#2010 but I've forgotten everything about labview (except I remember it was relatively complicated for a non-graphical programmer like myself to use an activex control back in the 5.1 days).
    I would like to make a simple demo (like the one for C#)
    On a button press it starts a collect, first taking the two values from the appropriate inputs as the range (sets the StartPos and StopPos properties) then calls BeginRun.
    On another button press it "goes to" a position (calls GoToPos with a parameter from another numeric input).
    Receives OnStateChanged events and displays the enumerated type in a string indicator. This event is fired when the state is changed (eg. by calling BeginRun).
    Receives OnData events and displayes the position and value from the event in an indicator. This event is fired during a run for each sample.
    Receives OnMessage events and displays the message string in an indicator. This event can occur any time - in this sample I'm firing it randomly about once per second and its just sending the time as a string.
    Events are asynchronous - calling BeginRun returns immediately but events will follow later.
    Can anyone help me build this simple example - I've forgotten all the (little) labview I did back in 2003. I've attached the ActiveX control (XTestControl.ocx) a very simple VB6 sample, a better compiled C#2010 sample and my fiddling, far-from-complete LabVIEW 2011 sample. Everything is 32-bit (although I'm running on 64-bit Win7).
    There's a lot I don't understand about LabVIEW and the time I've already spent on this so far probably means several years ROI for the small company I work for because of the low volumes.
    TIA
    Attachments:
    ActiveXTest.zip ‏277 KB

    Thanks for your reply nathand and taking the time to look at my sample.
    Yes, it is a very ligh VI because it doesn't have to do much. I want to numeric inputs that set the StartPos and StopPos properties of the ActiveX control and then call the BeginRun method (ie. 3 controls). Data is returned in the OnData event asynchronously and displayed (ie. 1 numeric display). I'me used to programming with the likes of VB and C# where events are a matter of course and you just select the event you want to code for and write the code so all this talk of "separate VIs" and "User Parameter List" is all confusing to me. The VB and C# samples I provided literally took me 15 minutes to write both and I won't tell you how embarrassingly long I spent playing with labview. From memory in (HP) VEE it was relatively easy to make a basic demo using our ActiveX control but we won't be supplying a demo for that this time (or possibly the old demo still works). This is supposed to be such a basic labview sample being provided by the vendor (our small company) as you suggested.
    I downloaded the 30-day LabVIEW 2011 trial, which I was assuming had proper "event structure" but its counter-intuitive to use.
    I've modified the attached control slightly (put a Run button on and a CallBack VI thingy) but I don't know how to wire up the run button to do something when clicked nor the event output to the (string) display.
    Attachments:
    ControlTest2.zip ‏15 KB

  • Setting up and using an ActiveX control

    Trying to use an ActiveX control I added to my CVI project.  I use the ActiveX Controller Wizard to create an ActiveX control.  Then I tried using one of the ActiveX control functions but it requires I get an Object Handle.  The ActiveX Control Help says I can get the Object Handle by using GetObjHandleFromActiveXCtrl or an ActiveX method or property.  I looked through all the functions my ActiveX control has and could not find anything that would get an Object Handle.  The GetObjHandleFromActiveXCtrl function requires a panel handle which my project does not have or use.  Any suggestions on what to do next?
    The ActiveX control I am using is Mint Controls Build 5708 from ABB. 

    Hi
    New in ActiveX controls...I cannot help to recreate examples like Media Player (which works perfectly on my PC).
    Well I take the first method of"Programming with ActiveX Controls" topic:
    From the Tools menu of any LabWindows/CVI window, select Create ActiveX Controller. When you run the wizard in this manner, you need to select the ActiveX server that corresponds to your control.
    First I find two "Windows Media Player", which one ? Some trials lead me to the second one, where I retrieve functions names of the example (?).
    Next window : I let Instrument Prefix as "MediaPlayer", I browse a target fp file as "wmp" in my project directory, let the default compatibility options.
    Next window : I don't change any "Advanced Options", success...
    I find a new intrument "Windows Media Player", and 5 files wmp.fp/c/h/sub/obj. OK.
    But I want to see the control on a panel : I open my uir, go to "Create/ActiveX", select "create control".
    But what about "Validate servers" check box ? Il let it unchecked.
    I find "Windows Media Player" (only one) in the list, and the control appears on the panel, but the aspect is different from the example (some property changed?):
    If I edit the control, I find a property list that seems different from the example (even if I expand all) :
    Well it seems that controls are different ?
    I insert some lines in my code ("hello.mp3" is in the project directory):
    GetObjHandleFromActiveXCtrl (PanelHandle, PANEL_WINDOWSMEDIAPLAYER,&mediaHandle);
    MediaPlayer_IMediaPlayer2SetFileName (mediaHandle, NULL, "Hello.mp3");
    MediaPlayer_IMediaPlayer2Play (mediaHandle, NULL);
    Build OK. But nothing played. Error code from "SetFileName" function = -2147467262, error text : "Cette interface n'est pas prise en charge" something like "this interface is not supported" :
    Any idea ?
    Thanks in advance !
    JP
    (Windows XP/CVI2010)

  • Can I call any ActiveX control in the Forms under Oracle EBS 11.5.10 ?

    Hi All,
    I have a custom form that works under EBS 11.5.10 (Windows Envoirnment). Is there any way for me to call an ActiveX control on this form? My requirement is to show a URL ( a web application) in Microsoft Web Browser.
    I can successfully call ActiveX outside of the EBS i.e as forms runtime.
    In EBS I get FRM-41344 OLE object not defined for <<block item>> in the current record and then FRM-40735 for exception ORA-305500.
    WEB.SHOW_DOCUMENT is an option to accomplish but ActiveX will provide more control and better look and feel.
    Thanks,
    from Houston.

    Hi;
    Please check below and see its helpful:
    ActiveX controls in Oracle Forms
    ActiveX controls in Oracle Forms
    Forms 6i to Oracle9i Forms Upgrade Reference
    http://www.oracle.com/technology/products/forms/pdf/forms_upgrade_reference.pdf
    Please also check:
    http://www.oracle.com/technology/products/forms/htdocs/forms904FAQ.html
    R12: Publish via Report Manager, Activex Component Can't Create Object [ID 788958.1]
    Hope it helps
    Regard
    Helios

  • Register failk error when invoking ActiveX control for a JavaBean from VB6

    J2RE v1.4.2_09
    Visual Basic 6.0 SP5/Visual C++ 6.0 SP5
    Windows 2000 SP4
    We have our existing production applications written using VB6 and VC++6. We are in the process of moving them incrementally to J2EE. Before everything is totally re-written in J2EE, we need to do something for interoperability between existing VB6/VC++6 and J2EE. ActiveX Bridge seems to be the solution we need, if only it works.
    Problem that I am facing....
    Register failk error when I try to insert a java bean activex control on a VB6.0 or VC++6.0 form or create an instance of the activex "Person.Bean.1" using CreateObject function, it throws the following error. I am able to create an instance of Person Bean ActiveX Control using ActiveX Control Test Container that comes with Visual Studio 6.0 and invoke the methods in the bean successfully though which means that the ActiveX control is registered properly and working.
    Error Message Box Title: asdas
    Error Message: register failk
    And then another error message pops up.
    Error Message Box Title: Java(TM) Plug-in Fatal Error
    Error Message: Cannot load class sun/plugin/JavaRunTime
    The Bridge was installed at <D:\PROGRA~1\Java\J2RE14~2.2_0> but the class is not there. Modify the registry key to reflect the new bridge location. The key is HKEY_LOCAL_MACHINE\Software\JavaSoft\Java Plug-in or Change your CLASSPATH to include the new directory.
    I have this sample java bean class.
    a) Person.java
    import java.io.*;
    public class Person implements Serializable{
    private String fName,lName;
    public Person(){
    fName = new String();
    lName = new String();
    public void setFirstName(String firstName){
    fName = firstName;
    public void setLastName(String lastName){
    lName = lastName;
    public String getName(){
    return fName+" "+lName;
    b) person_manifest
    Name: Person.class
    Java-Bean: True
    Steps followed:
    call "C:\Program Files\Microsoft Visual Studio\VC98\Bin\vcvars32.bat"
    set path=D:\j2sdk1.4.2_09\bin;%path%
    javac Person.java
    jar -cvfm Person.jar person_manifest Person.class
    mkdir "d:\Program Files\Java\j2re1.4.2_09\axbridge\bin"
    D:\j2sdk1.4.2_09\bin\packager -out "d:\Program Files\Java\j2re1.4.2_09\axbridge\bin" -reg Person.jar Person
    Person.dll file created under d:\Program Files\Java\j2re1.4.2_09\axbridge\bin and Person.jar copied under d:\Program Files\Java\j2re1.4.2_09\axbridge\lib.
    I am able to create an instance of this Person Bean ActiveX Control using ActiveX Control Test Container that comes with Visual Studio 6.0 and invoke the methods in the bean successfully. But, when I try to insert the activex control on a VB6 or VC++6 form or create an instance of "Person.Bean.1" using CreateObject function, it throws the above mentioned errors.
    I checked the registry and it shows J2RE1.4.2_09 version properly under that key and the Person.dll file exists under d:\Program Files\Java\j2re1.4.2_09\axbridge\bin. I also explicitly added the plugin.jar, person.jar to the classpath. Still it gives the error.
    Any ideas? Any fix or workaround for this problem? Thanks.

    Sometimes solutions are simpler than expose the problem.
    Did you add the dll to the project references?
    Sometimes also it is usefull to use the regsvr32 program to register the DLL.
    Pedro

  • My ActiveX Controls that i downloaded (APTLaser Control and APTTEC Control) are not showing up

    I got a new computer and im trying to bring over all of my files from my previous computer, however after downloading everything i was unable to use my ActiveX controls for the above objects. When i try to reinsert the object, they are not there, how to i bring in new controls to insert into the ActiveX container? Labview
    -Danny

    Hi zhuangd1,
    Did you try registerin the  ActiveX control manually, as described here?
    Cheers!
    TJ G

  • App says "Evaluatio​n Copy" but ActiveX controls are not evaluation copies.

    App has been running for 3+ years in a Win95 machine. Just moved to Win98 machine and now "Evaluation Copy" appears in app. I have copied the two OCX files from the Win95 machine and registered them on the new machine. I purchased ComponentWorks 3 years ago - I never had evaluation copies of these OCX files. Could this be a Win95 to Win98 problem?

    I doubt that this is a Windows problem; there are several reasons why an ActiveX control could turn to evaluation mode (see KB link below). I would suggest that you uninstall the OCX controls from your new computer and instead run the ComponentWorks installer for proper installation/registration.
    If you have version 3.x or later of the CW controls, you could also run the Measurement Studio License Fixer Utility found in the following Knowledgebase article:
    http://digital.ni.com/public.nsf/websearch/86256A4​7004E16D186256A99007BEFB7?OpenDocument
    This utility will help you diagnose the license state of your controls and will try to fix any broken licenses. Please read the KB carefully as it may not apply to your particular setup.
    If none of the solutions off
    ered here works for you, please email us through http://www.ni.com/ask so we can assist you in a more direct way.
    Regards,
    Azucena Perez
    National Instruments

  • Using RealPlayer control in OLE container to play video

    Hi everyone,
    I am a student and I want to use Oracle OLE control in Oracle forms to implement some multimedia data. I choose RealPlayer G2 control / Window media Player / even Oracle Video Control to do this. But I have one common problem that I can't insert those control object in the OLE container automatically(in the designer).
    How can I have the multimedia control object start when forms runtime?
    Also, how can I store and retrieve data using that multimedia control object?
    Anyone can help me?
    Thx.
    Carol

    Hello,
    I have a similar problem. I want to extract a blob filed with ole from forms with other tools to a file, but the new file then has extra informations about the ole-object. Due to MetaLink there seems to be no possibility to strip these extra bytes off the data.
    Please let me know if you have a solution to this problem.
    Greetings,
    Thorsten.

  • I need a little help help with the Spreadsheet 9 ActiveX control

    Here's the situation: I want to import data from an Excel file to the MS Office Spreadsheet 9.0 ActiveX control on the LV front page. I can retrieve the data just fine but I can't get it to display in the control on the front page. I can select a range and when I try to write to the Value property I find that I cannot. The problem seems to be the Value property itself cannot handle 2-D data arrays. I can select a 2D range and write a single value which gets written to every cell in the range but when I read the data I get only the first cell in the range and an error if I try to caste the Variant output to a 2D array.
    I've noticed a Value2 property for the range when actually working with Excel but I haven't been able to determine where or if it exists for the Spreadsheet 9 control. I've attached a little test program to better show what I'm experiencing/talking about. Anyone have any suggestions on this? It seems like it would be possible or else why have the control there but I haven't found a way around it. Thanks in advance.
    Gary D
    Attachments:
    spreadsheet 9 test.vi ‏41 KB

    Jack J. wrote:
    Hey Gary,
    What version of MS Office does the 9.0 ActiveX control come with. I have version 11.0 here. I could get your program working on my computer but I had to reinitialize the activex control to the 11.0 control. I also had to reselect the properties. All the properties are essentially the same except Value. In this ActiveX version, I see the Value2 property (the Value property does not exist). And your method of reading and writing to the Value2 property handles 2D arrays.
    If you can tell me what version of Office you are using, I will try to find a computer with that version and try your program.
    Jack J.
    Applications Engineer
    National Instruments
    Most of the computers have Office 2000 which uses the Value property and the Spreadsheet 9.0 control. I too have been able to duplicate it ona computer with Office 2000 (Spreadsheet 11.0). I think it may just be a functionality of the Excel version though for some reason if I use Excel and go through the song and dance with the methods and properties, I get to the Value2 property.
    After writing that it seems weird that using Excel properties and methods gets me to the point where I can select the Value2 method and read/write accordigly, but with the Spreadsheet 9.0 control (which, I assume is simply embedding Excel in the app) I get to a different set of properties. Perhps Spreadsheet 10 (or 11) is on the computer but not showing up? That's the only sensible conclusion I can come to, though it seems weird for it to not show up on multiple computers which effectively kills that idea anyway.
    Anyway. thanks for any help you can provide.

  • Unable to view external webcam content.  I'm using IE11 with Windows 7 64 bit.  I've tried deactivating Activex control, tried different browsers etc, tweeked the tools for trusted sites etc, but am totally stuck. I know the cams are working as i can view

    Unable to view external webcam content.  I'm using IE11 with Windows 7 64 bit.  I've tried deactivating Activex control, tried different browsers etc, tweeked the tools for trusted sites etc, but am totally stuck. I know the cams are working as i can view them on mobile phone via puffin browser.  I can play Youtube videos etc just fine. So why not the webcam?

    First, confirm that ActiveX Filtering is configured to allow Flash content:
    https://forums.adobe.com/thread/867968
    Internet Explorer 11 introduces a number of changes both to how the browser identifies itself to remote web servers, and to how it processes JavaScript intended to target behaviors specific to Internet Explorer. Unfortunately, this means that content on some sites will be broken until the content provider changes their site to conform to the new development approach required by modern versions of IE.
    You can try to work around these issues by using Compatibility View:
    http://windows.microsoft.com/en-us/internet-explorer/use-compatibility-view#ie=ie-11
    If that is too inconvenient, using Google Chrome may be a preferable alternative.

  • Ole container,please help

    what is ole container? what is the use of it? what is the difference between ole container
    & activex control? where can i down load information about this? is there any book for this?
    send the book name or send the web address to read about this.

    See Re: activex control,please help

  • Tips for Using Containment Relationships (When Are They Required?)

    Hello again,
    Our team was recently discussing when to use containment relationships, and we realized that there is room for improvement in our understanding. Having read many of the help topics, the primary use for containment relationships seems to be the ability to determine whether or not an entity is complete. However, as far as we can tell, in our work we have not yet encountered a need for the entity-completeness concept (if we have, it was unbeknownst). Instead, using a containment structure within a data model often seems to complicate matters by distancing entities from the Global (thus making it seem more challenging to reason across instances).
    My best guess, aside from completeness, is that containment relationships are required when mapping from a database structure (e.g. Siebel). For example, a model such as:
    Global
    - the invoice
    - - the invoice line item
    ...might interface more correctly with external data structures compared to a "flatter" structure such as:
    Global
    - the invoice
    - the invoice line item
    ...where a "regular" (non-inferred, non-containment) relationship would be needed to connect invoices to their line items. In the latter scenario, perhaps the relationship would be more difficult to define when the data were mapped over?
    I have a feeling we might be missing something obvious, but I'm curious to know what this community thinks about this question. Can anyone help, perhaps by providing a list of advantages / disadvantages to containment, or maybe the situations in which containment is always required?
    Thanks!
    - Patrick

    I've built numerous demo rulebases for integration, usually with Siebel so I'll use that as my example. What I have learnt through doing this is that integration will be easier if the logical structure of the OPA entities/containment relationships matches the logical structure of the Siebel business components.
    For example, if in Siebel you have something representing Global (which I'll call a Case for this example), and you also have several business components logically below Case, e.g.
    A Case can have multiple Contacts
    Each Contact can have multiple Incomes
    Each Contact can have multiple Resources
    Each Contact can have multiple Expenses
    I would set up the following entities/containment relationships in OPA:
    Global --> one-to-many --> the household member
    the household member --> one-to-many --> the household member's income
    the household member --> one-to-many --> the household member's resource
    the household member --> one-to-many --> the household member's expense
    Note that Contact (Siebel) = the household member (OPA). I could use "the contact" in OPA, but I prefer to use a more business-user friendly name such as "the household member" -- if they are indeed household members, it could also be the person, the taxpayer, etc. or whatever is appropriate for the source material.
    I assume this general principle still applies if the integration is with something other than Siebel.
    Cheers,
    Jasmine

  • Flash8.ocx ActiveX control help

    Where is the documentation for the Flash8.ocx ActiveX
    control? I am trying
    to use the ActiveX control in Excel with VBA. No browser,
    Internet
    connection, web page, html, or JavaScript is present. In the
    object
    browser, I can see methods such as
    Function CallFunction(request As String) As String
    The only Macromedia site search hits for "CallFunction" are
    in user comments
    under a manual page for the External API. I have searched the
    Flash Support
    Center for the words "scripting" and/or "ActiveX". I have
    seen "Scripting
    with Flash". It is incomplete. I have seen "How can I use
    Macromedia's
    ActiveX components in my programs? (TechNote tn_12062)". I
    have read the
    "Support" paragraph therein. We have completed Flash8 Player
    Distribution
    License. Do we really need to buy a support contract to get
    the doc's for
    this control?
    Thanks.
    John Goodfellow

    If the registration worked, then go to the front panel add a ".NET and Active X" ->  "ActiveX Container" control to your block diagram. then right-click on it and choose "Insert ActiveX control". A dialog box will appear and in the drop-down, hopefully your OCX control will be listed (with it's full name, not the filename).  Sometimes it depends on which specific control it is (which you have not yet mentioned).

  • Does Measurment Studio Standerd edition contains graph and chart ActiveX controls for VB6

    A Very Simple quistion:
    Does Measurment Studio Standerd edition contains graph and chart ActiveX controls for VB6?

    Shady -
    Measurement Studio 7.0 Standard Edition provides support for Visual C++ 2003, Visual Basic .NET 2003, and Visual C# 2003. It just so happens that the Visual C++ support includes ActiveX controls, which are usable in VB6. The CWGraph ActiveX control provides both graphing and charting functionality.
    However, full Visual Basic 6 support, including examples and documentation is not in the Standard edition. It is in the Professional and Enterprise Editions.
    The best thing to do would be for us to get in direct contact with each other to make sure that we get you exactly the (minimum) package you need. If your profile includes your email address, we can contact you. Otherwise, you'll need to go through ni.com/support and refer to t
    his discussion thread to open a direct dialogue.

  • The activex control for flash player could not be registered.  Please help!

    Can't install flash player.  Keep getting activex control for flash player could not be registered.  I have tried all of the solutions provided on this forum.  Running windows 7 32-bit running IE8.
    Please help.

    Hi, Did you use the Administrator Account? If you received that message it is usually a Permissions Issue.
    We have had several reports this past week of a Virus(AntiVirus8 or AV8) that can set a Kill-bit on the very Registry Key that FP uses for that ActiveX Control.
    You may want to look and see if this is perhaps the problem. This needs to be ruled out first before we proceed, because if that key has the Kill-bit, then it wouldn't matter what you do.
    http://forums.adobe.com/thread/782435?tstart=0
    Thanks,
    eidnolb

Maybe you are looking for

  • Spiked CPU when viewing multiple streams one at a time then publishing

    Hi all, We're finding the Flash Player's CPU process 'ratchets' slightly higher each time a user views a new webcam stream one at a time in a WebcamSubscriber. For example, I'm watching the stream for User A, then that stream is deleted and I then wa

  • Oracle not working in the Secondary Server

    Hai All, I have two servers with Linux OS clustering. 2 months back we detach the secondry server from the clustering for some urgent. Later we plug the server to the Clustering and check the oracle connectivity etc. But a problem has occured that in

  • Exporting photo album as a PDF?

    Hi, After ordering the photo album, is it possible to export the book as a PDF or a file that would be viewable on a CD? Jeremy

  • URL Content Download

    Hi i'd like to get data from an url... i used this code but doesn't works with all websites.... public byte[] getData(String url) throws Exception { URL myUrl = new URL(url); URLConnection conn = myUrl.openConnection();      byte[] urldata;      byte

  • IPhone 5 vs. Time Capsule

    OK, I installed a new 3 TB Time Capsule (replacing my dual band Cisco router.)  While all my systems (two minis, a MacBook Air, iPad mini, two iPhone 5s, HP printer and a Windows system (ugh) can all access the Time Capsule (and Internet as appropria