Ole and activeX

Can anybody give me an idea on how to use ole2 and activeX on my forms 5.0, or links to where i can download sample codes to which i can study and learn more about this stuff...

Check out the documentation on otn.
http://otn.oracle.com/doc.pdf/forms/A73073_01.pdf

Similar Messages

  • OLE and Excel97

    Hi everybody,
    we're porting our OLEGen-erated code for Excel95 to Excel97 noticing
    that with F3 the OLE library has deeeply changed. In particular, we're
    getting in troubles "guessing" which settable variable must be set to
    reference an arbitrary Excel cell once a Worksheet has been opened and
    its default activecell (top-left corner) has been filled.
    Any suggestion about how to move to another cell? Shall we address the
    Application, the Workbooks or the Range virtual-attributes to achive
    that?
    On another way, has anyone experienced a Forte app to Office97
    data-passing using ActiveX?
    --- begin of the code ---
    app : Application = new();
    cl : Workbooks = new();
    rng : Range = new();
    begin
    app.createUsingProgId('Excel.Application.8'); // We
    have to start it
    cl.SetDispatchObject(app.workbooks); // link
    a new workbook
    app.Visible = true; // make
    the application become visible
    cl.open(sf.GetLocalName(TRUE,TRUE).value); // issue
    an open file
    exception
    when e:oleexception do
    app.createUsingProgId('Excel.Application.8'); // We
    have to start it
    cl.SetDispatchObject(app.workbooks); // link
    a new workbook
    app.Visible = true; // make
    the application become visible
    cl.open(sf.GetLocalName(TRUE,TRUE).value); // issue
    an open file
    sheet.SetDispatchObject(app.Worksheets); // link
    the worksheet ole server
    sheet.Visible = Variantboolean(value = true); // make
    the wokrsheet visible
    end;
    x : Integer ;
    y : Integer;
    begin
    rng.setdispatchobject(app.activecell);
    x = rng.column;
    y = rng.row;
    exception
    when e:usageexception do
    x = 1;
    y = 1;
    end;
    Vstring : VariantString = new();
    nattr :integer = data.Numattrs;
    ColumnName : TextData = new();
    fw : FieldWidget;
    CWidth : integer;
    for j in selectionarray do
    i : integer = j.index;
    if rec.GetAttr(i) <> NIL and (not j.selected) then
    ColumnName = j.FieldName;
    Vstringa.Value = ColumnName.Value;
    // It's not possible to call Cells method because OleGen
    for Office 97
    // generates Cells as a read-only virtual attribute.
    // The old (perfectly working!) code was:
    // rng.setdispatchobject(sheet.cells(y, x));
    rng.value = vstring;
    if aw.isa(expressarraywindow) then
    fw =
    (expressarraywindow)(aw).arraywidget.FIELD.GetColumnTemplate(ColumnName)
    else
    fw = aw.window.GetFieldByName(ColumnName);
    end if;
    if fw <> nil and fw.IsA(DataField) then
    CWidth = (DataField)(fw).VisibleColumns;
    rng.columnwidth = variantinteger(value =
    CWidth);
    end if;
    x = x + 1;
    end if;
    end for;
    y = y + 1; // looping
    --- end of the code ---
    Any help is really appreciated,
    thanks in advance,
    Dave
    Dott. Diemmi Ing. Davide - EMail: [email protected]
    DS Data Systems (Italy) - Tel. +39 521 278415
    Internet: http://www.dsdata.com

    De: Diemmi Davide <[email protected]>
    A: '[email protected]' <[email protected]>
    CC: Sidoli Paolo <[email protected]>; Vezzani Gabriella
    <[email protected]>
    Asunto: OLE and Excel97
    Fecha: jueves 27 de noviembre de 1997 17:58
    Hi everybody,
    we're porting our OLEGen-erated code for Excel95 to Excel97 noticing
    that with F3 the OLE library has deeeply changed. In particular, we're
    getting in troubles "guessing" which settable variable must be set to
    reference an arbitrary Excel cell once a Worksheet has been opened and
    its default activecell (top-left corner) has been filled.
    Any suggestion about how to move to another cell? Shall we address the
    Application, the Workbooks or the Range virtual-attributes to achive
    that?
    [deleted]
    May be the following can help you, although we only have been successful in
    communicating with Excel 5.0. The same program did not work with Excel97.
    For accesing an arbitrary cell we use:
    -- This inserts a string named etiqueta into cell A2
    Range.SetDispatchObject (Worksheet2.Cells (VariantI2 (value = 2, mechanism=
    VARIANT_INOUT),VariantString(value='A',mechanism=VARIANT_INOUT)));
    Range.Value = VariantString (value=etiqueta);
    Regards,
    Jesus Zamarreno
    EAM Sistemas Inform&aacute;ticos S.L.
    C/ Padre Llanos, 33 47014 Valladolid
    Tlf.: +34 83 352922 Fax: +34 83 352115
    e-mail: [email protected]

  • What is the difference between Com Addin and Activex control

    When I searched about them individually, both are described as same.
    Could any one please explain what are they and what is the difference between them exactly.
    Thanks and Regards, Uday Kiran Reddy Project Engineer Technology Infrastructure Services, Wipro Technologies ____________________________________________ Mob: +91-900-061-2578 | Email: [email protected]

    Hello,
    Here is what Wikipedia states for ActiveX:
    ActiveX is a software framework created by Microsoft that
    adapts its earlier Component Object Model (COM) and Object
    Linking and Embedding (OLE) technologies for content downloaded from a network, particularly in the context of the World
    Wide Web.<sup class="reference" id="cite_ref-msdn1_1-0" style="line-height:1;font-size:11.19px;font-style:normal;font-weight:normal;">[1]</sup> It
    was introduced in 1996 and is commonly used in its Windows operating system.
    In principle it is not dependent on Microsoft Windows, but in practice, most ActiveX controls require either Microsoft Windows or a Windows emulator. Most also require the client to be running on Intel x86 hardware, because they contain compiled code.<sup
    class="reference" id="cite_ref-2" style="line-height:1;font-size:11.19px;font-style:normal;font-weight:normal;">[2]</sup>
    Many Microsoft Windows applications — including many of those from Microsoft itself, such as Internet
    Explorer, Microsoft Office, Microsoft
    Visual Studio, and Windows Media Player — use ActiveX controls
    to build their feature-set and also encapsulate their own functionality as ActiveX controls which can then be embedded into other applications. Internet Explorer also allows the embedding of ActiveX controls in web
    pages.
    And for COM:
    Component Object Model (COM) is a binary-interface standard
    for software components introduced by Microsoft in
    1993. It is used to enable inter-process communication and dynamic object creation
    in a large range of programming languages. COM is the basis for several other Microsoft technologies and frameworks,
    including OLE, OLE
    Automation, ActiveX, COM+, DCOM,
    the Windows shell, DirectX, UMDF and Windows
    Runtime.
    Office add-in is an assembly which implement the
    IDTExtensibility2  interface (COM).

  • LabVIEW Run Time Engine and ActiveX Automation Server

    Hi,
    I have a question related to LabVIEW Run Time Engine and ActiveX Automation Server:
    We have a tool developed in LabVIEW and TestStand. End user interface is a LabVIEW GUI (it's an executable) which executes TestStand sequences. Some TestStand sequences call lower level LabVIEW VIs.
    Everything works fine with LabVIEW installed, but I was wondering if I could run this tool on deployment machine with only LabVIEW run time engine installed. We are using LabVIEW 6.1 and with only the run time engine installed, I get the error message: "Unable to launch the 'LabVIEW.Application' ActiveX automation server ". 
    BTW, we are planning to upgrade the versions soon.
    Is it possible to make things work only with the run time engine?
    Thank you.

    Thanks for the response, Brian.
    I did upgrade to LabVIEW 8.0 and TestStand 3.5. Everything works fine on the development computer where LabVIEW and TestStand is installed. On the target computer in the lab, I installed LV RTE 8.0 and TestStand 3.5, and now when a VI is called in a sequence file, I get the following:
    RunState.PreviousStep.Result.Error.Code  -18002 
    RunState.PreviousStep.Result.Error.Msg  "LabVIEW: The VI is not executable"
    So, the executable opens and works fine (which means that the LV RTE is installed properly), but when a sequence calls a low level VI, it does not make it through.
    comments/suggestions are appreciated. Thanks.

  • WebUtil and ActiveX

    What is the correlation between WebUtil and ActiveX?
    The reason I ask is that we have successfully installed WebUtil on our 9iAS R2 apps server and the Webutil forms that were created all work perfectly on site.
    However our WAN covers sites all over the UK and the majoiry of these sites have all ActiveX settings disabled for security reasons. When accessing from one of these sites the form correctly loads all the .dll and .jar files but the CLIENT_TEXT_IO procedure will not operate.

    ... one thing I forgot. Duncan Mills, who could answer this question a lot better than I can, is on vacation this week.
    Frank

  • [BUG] deploytk.dll file and activex control is NOT uninstalled

    deploytk.dll file and activex control is NOT uninstalled, when you uninstall the latest JRE.
    I have uninstalled the latest JRE, but the file deploytk.dll is still present in c:\windows\system32\ and the related activex control deploytk.dll 6.0.190.4 is loaded in IE8. Please fix this bug.
    Windows Vista SP2

    Unfortunately, it was *all* of my ActiveX controls that wouldn't load. That said, A user of the Info-LabVIEW list came up with the answer: reinstall the RunTime engine - wierd....
    thanks,
    Christopher
    Copyright © 2004-2015 Christopher G. Relf. Some Rights Reserved. This posting is licensed under a Creative Commons Attribution 2.5 License.

  • ALE,EDI,IDoc,OLE and BAPI

    plsease give the detailed concept for ALE,EDI,IDoc,OLE and BAPI
    awaiting reply
    thanks
    Moderator Message: The long waiting ended...
    Edited by: kishan P on Jan 9, 2011 7:38 PM

    <<non-detailed concept definitions removed by moderator>>
    Edited by: kishan P on Jan 9, 2011 7:36 PM

  • Different versions Plugin and ActiveX with MSI file installation

    Dear all,
    we used the newest Adobe Flash Player MSI file with our software deployment tool. But we has trouble with two different versions of plugin and ActiveX installation.
    Does any body know how that could be appear? Should we use now the .EXE file?
    Best regards,
    Marco Schmitt
    Freudenberg IT

    The EXE and MSI installers on the distribution page are always identical versions.
    However, it seems to happen a lot that MSI installers are cached on some corporate servers.  Make sure the caches are cleaned, or download the MSI from outside your corporate environment.

  • OCX and ActiveX controls

    Hi there,
    Can anybody please answer to my following questions?
    1. What are OCX controls and ActiveX controls in D2K.
    2. Whats the difference between using OCX and ActiveX control and when to use them
    in our application.
    3. A small procedure exlpaining how to use them in D2K.
    4. Send me a sample form (.fmb) using OCX and ActiveX control (if don't mind).
    Note: One can give answer to one question and other can give to other questions.
    Thanks in Advance.
    Regards,
    Aqueel([email protected]).

    Nevermind, I stopped using the OCX to connect. Maybe they just don't work.

  • IE 11 Restricting Running Scripts and ActiveX Controls on Local Files

    I have been coding for my MediaWiki pages and needed to test these pages with IE 11. However, whenever I open a file in IE 11, an annoying message saying "IE 11 Restricted this website from running scripts and ActiveX controls." How do I do a
    one-time fix to stop this from happening in future to local files?

    to test your WEBSITE.... publish it to a web server. eg. localhost/test.local
    web servers and browsers use http(s), not the file: protocol.
    Questions regarding Internet Explorer 8, 9 and 10 and Internet Explorer 11 for the IT Pro Audience. Topics covered are: Installation, Deployment, Configuration, Security, Group Policy, Management questions. If you are a consumer looking for answers or to
    raise a question, it's highly recommended you head on over to http://answers.microsoft.com/en-us
    Rob^_^

  • When using FF 5.0, rollover type ads on Facebook game Lexulous pages are 'enlarged' and block 1/3 of the game board. Using up to date versions of Win 7 Home Premium, Adobe Flash and ActiveX

    When using FF 5.0, rollover type ads (i.e. ads for XBOX) on Facebook game Lexulous pages are 'enlarged' and block 1/3 of the game board. Using up to date versions of Win 7 Home Premium, Adobe Flash and ActiveX on an HP Pavillion dv7 laptop. Does NOT happen at all in MS IE 8, but occurs every time in FF 5.0.
    Also, Google 'translate this page' links do not work in FF 5.0, but works in MS IE 8. All I get in FF is a blank page, time after time.

    Hi,
    I am using a Nvidia 4200M adapter in my Laptop, Driver 266.96, Direct X 11
    In my desktop I am using an ATI XFX 6950, latest revision drivers (I am not at home right now so I cant get that info).
    The issue I did describe above, but it was a long explanation.
    In some flash games the game files load initially and get as far as the "click to start" button. Then the flash area usually goes either all white or all black (usually depending on the falsh game default background color) and then it stays that color. Cant see anything after hitting start (usually most games have an intro video or animation before the game starts, but I cant see any of it.
    For the very few games that do start, the flash game or application does not seem to work correctly in that when the rare game starts, it wont save any game files or save files to the pc and so if I exit the game (navigate away to another page or close browser) and then later come back, even though I click the option to save games (and ensure that the flash application slider shows it can save files and lots of space) it does not save and I have to start from the beginning all the time.
    More explanation I gave above.

  • OLE and DDE in forms 6i

    Hello,
    Where can I find good materials(Tutorials) on how to use OLE and DDE in Forms6i?
    Adios..

    The best location to find anything related to forms & reports id the help itself.
    U wont find many books in market on forms & reports,the reason is ,the help is so good(thanks to Oracle Corp) that we dont need any external material.
    -Nilesh

  • RE: OLE and Access Segmentation Violations

    Hi all,
    I did not work with OLE automation for external components, but while developing the external components, C++, in one of our projects I've experienced the same error "Access Segmentation Violations". I've found out that this is because of memory access beyond the component's allocated space AND/OR freeing up the unallocated memory space for the components.
    Hope this clue may help u.
    Regards
    Sivaram S Ghorakavi mailto:[email protected]
    International Business Corporation http://www.ibcweb.com/
    From: [email protected]
    Sent: Tuesday, November 25, 1997 6:25 PM
    To: [email protected]
    Subject: OLE and Access Segmentation Violations
    Has anybody used Forte to communicate with external components using OLE
    Automation? We are creating segmentation violations through some of our
    use of this interface, and need to know if there are some 'golden rules'
    that can guide developers as they use the feature.
    Thank you!

    Hi!
    I am not sure that I can give you any "golden rules" for interfacing
    with OLE, but I can give you some thoughts on where to look for problems
    that can result in Segmentation Violations.
    I have often seen segmentation violations arise as a result of a NIL
    object. You might want to try turning on the trc:lo:25 trace flag to
    see if there is a NIL object exception being raise right before the seg
    v. You have to be careful with the trc:lo:25 flag, though, since it
    will show you every exception, no matter what, that is raised within
    Forte (even if it's been handled internally). This is of greater
    significance to OLE projects, since Forte tries several different ways
    of starting an OLE server and uses internally handled exceptions to
    notify itself if a certain method failed.
    Another thing to try is just-in-time debugging. You will need Microsoft
    Visual C++ installed on the machine where the OLE code is running, and
    you will need to set the FORTE_NOHANDLER environment variable to TRUE.
    In the MSVC development environment, go to the Tools --> Options
    properties sheet, and choose the Debug tab. On that tab, make sure that
    Just-In-Time Debugging is selected. Then, run the application. When
    you encounter the seg v, you should get a dialog box asking if you want
    to debug the application. Choosing yes (actually, I think that pressing
    Cancel does this - the dialog box tells you) will bring you into the
    MSVC development environment, where you can try some intense debugging.
    I hope this helps!
    -Katie
    [email protected] wrote:
    >
    Has anybody used Forte to communicate with external components using
    OLE
    Automation? We are creating segmentation violations through some of
    our
    use of this interface, and need to know if there are some 'golden
    rules'
    that can guide developers as they use the feature.
    Thank you!--
    Katie Carty
    Forte Consulting
    4801 Woodway Drive
    Suite 300E
    Houston, Texas 77056
    vmail: 510-986-3802
    email: [email protected]
    -----------------------------------------------

  • Flash player is installed on my Windows 8, enabled and ActiveX is off, what is wrong?

    I have Windows 8, Flash player is installed, enabled and ActiveX is off.... I have tried all of YOUR flash player issue antecdotes and nothing has made it work, what now?

    IE11 is a "Rolling Train Wreck". Combined with 8.1 it is, without a doubt, the worst pile of garbage to EVER come out of Redmond, WA.
    MS deliberately altered the "User-Agent Strings" to make it nearly IMPOSSIBLE for pages and sites to ID it. (See: IE11's Screwed up User-Agent Strings)
    The pages can't recognize the browser, so they don't recognize any of the plugins, like Flash Player. So far, Microsoft has made NO indication that they have any plan to fix it soon.
    Microsoft's recommendation is to use Compatibility View for affected pages, and "pretend" you're using an different browser. Trouble with that is it has seen limited success at best, and you have to individually enable it for EVERY page that has problems.
    I'm not big on "pretending" so I recommend actually using another browser.
    Firefox (from Mozilla)
    Opera (from Opera)
    Safari (from Apple)
    Chrome (from Google)
    ANY of those will work where IE11 won't, with the Flash Player Plug-in (For all other browsers), and Chrome doesn't even need that because it has its own Flash Player plugin built in.

  • Difference OLE and CPI - C  interfaces

    Hi,
    Can any one explain the difference between OLE and CPi-C interfaces.
    With Best Regrads
    Mamatha

    Once you get past the starting point (I am referring to the OP here), there are a few salient differences:
    You can only extend (or generalize) a single superclass; however, you can implement (or realize) multiple interfaces. As such, all things being equal, using an interface in lieu of an abstract class 'frees' your design. Later, if you want the implementor of an interface to inherit from another class, there is not issue.
    Any abstract method specifies a contract. However, abstract classes allow you to also add common behavior to subclasses. This is an overused justification for abstract classes, IMO. You can achieve the same effect using delegation and still having interfaces.
    Always program to interfaces wherever possible. This means that you define an interface and have an implementing class (usually at a minimum). Do not do this for all your classes, but rather the ones that make your system unique (the domain model or M in MVC architecture). This allows you to later change implementation with a minimal amount of refactoring. This is a core precept from the Group of Four and any number of decent programming books.Best of luck.
    - Saish

Maybe you are looking for

  • MacBook Air Hard Drive too small - can I run applications from an external drive or is there a better solution?

    I just got a MacBook Air 11" 10.7.2 2GB/64GB.  I love it, but the internal drive is sooo small.  Occasionally I need to take projects home from work or travel with my computer.  Is there any way to run apps (Final Cut Studio, CS5, Office 10, etc) fro

  • Preferred Vendor

    Hi All, I am trying to set some of the Vendors as preferred Vendor for a Product category. Could you please help me how to do this? Whats the t-code for this? Thanks in advance for your reply. Regards

  • No records in source

    Hi Ipsita, Instead of the below. Use if [ -z filename ] if [ `ls -l $SOURCE_FILE | awk '{print NR}'` -eq 0 ] Let me know what you find? Thanks,Deeshan

  • Enabling ONLY 2 Computers for wifi access

    Here is what I am trying to do. I am trying to make it so that only 2 computers can access my network. My girlfriend has an IBM Thinkpad, and I have an iBook. I think it is somewhere in the admin utility, but can't find it. Any help would be apprecia

  • Can't Choose Render Multiple Frames Simultaneously

    i'm not even given the option to click the "render multiple frames simultaneously" button. here are my details. any help would be much appreciated. Installed RAM: 4.00 GB Current RAM Usage: 0.16 GB Allowed RAM Usage: 2.50 GB Process ID Application Na