OLE2 and DDE package books

Hi All,
I need to fully understand OLE2 and DDE package. Pressing F1 provides very limited help for me. Anyone here have or know some links of any reading materials(e-books, documentation)?
Please share... I'm drowned with my tasks here.
Thanks!

DDE is seriously outdated and should only be considered as a last resort. As for OLE2, concern yourself not with learning the OLE2 package, but instead, with understanding OLE automation. The OLE2 package is just a wrapper that makes it possible to manipulate OLE automation servers from PL/SQL. Once you understand OLE, using OLE2 should come easily.
I learned OLE automation as a Visual Basic developer, before ever working with Oracle, and found it to be fairly straightforward. The easiest and cheapest way to learn OLE automation is by using Microsoft's Visual Basic for Applications IDE -- an Office component. Search this forum using keywords VBA and Tutorial, and you will find information that should hopefully prove helpful.
As for Mark's assertion that XML provides a simpler solution, there are important differences between the XML and OLE approaches. The XML approach involves simply creating a document, whereas the OLE approach involves instructing the OLE server application to create a document. XML might be perfect, for example, if you wish to create Word documents on a *NIX server.  On the other hand, when your environment permits it, OLE makes it possible to leverage application functionality, like Excel's data analysis functions.
Eric Adamson
Lansing, Michigan

Similar Messages

  • I need any documents OLE2 and DDE package

    Dear all,
    I need to fully explanation OLE2 and DDE package. Pressing F1 provides very limited help for me. Anyone here have or know some links of any reading materials
    (e-books, documentation)?
    Please share
    thanks
    regards

    Google is your friend.
    Check Forms online help it has enough information to work with.

  • WebUtil and DDE-package

    Hello,
    does anybody know, if there will be something like a CLIENT_DDE-package (related to the old DDE-package of forms) in webutil. The first announcements of Oracle about WebUtil told so, but now there is nothing left about it.
    Any suggestions?
    Thank you in advance!

    Roelof J van Suilichem
    In forms 9i, which is on web architechture, does DDE work ?
    i.e. if I want to read a .xls located on a network drive, and load that data into a table, is it possible using DDE in forms 9i.
    Thanks

  • I have just purchased photoshop elements and premiere package. I tried to download them but it tells me the serial numbers are inapplicable. I notice the platform says windows and I am using a mac book pro.  It didn't give me an option when purchasing. wh

    I purchased Photoshop Elements and Premiere package today.  I have been trying to download them but it tells me the serial numbers are inapplicable.  I am using a mac book pro and I have just noticed that the platform in my receipt says 'win" .  I don't remember being given an option for mac or windows  when purchasing.  what can i do now?

    Return, cancel, or exchange an Adobe order

  • Forms to Excel (OLE2 and macro)

    Hi,
    I am using OLE2 to export data from Forms to Excel. Once I export the data into an excel spreadsheet successfully, I would like to format the worksheet. I have created a macro to do that and try to call the macro from Forms.
    I am getting Ora-305500 and Excel starts but the worksheet doesn't open.
    Is it something to do with the way I created/saved my macro?
    Please help!
    DECLARE
    application ole2.obj_type;
    workbooks ole2.obj_type;
    workbook ole2.obj_type;
    args ole2.list_type;
    BEGIN
    application:=ole2.create_obj('Excel.Application');
    ole2.set_property(application, 'Visible', 'True');
    args:=ole2.create_arglist;
    ole2.add_arg(args, 'C:\excel.xls');
    workbook:= ole2.invoke_obj(workbooks, 'Open',args);
    ole2.destroy_arglist(args);
    args:=ole2.create_arglist;
    ole2.add_arg(args, 'c:\personal.xls!acrt_macro');
    ole2.invoke(application, 'Run', args);
    ole2.destroy_arglist(args);
    --ole2.invoke(application,'Quit');
    ole2.release_obj(workbook);
    ole2.release_obj(workbooks);
    ole2.release_obj(application);
    END;

    Yes, it is possible to read from & write to an excel file.
    you have to use the DDE package to achieve your goal. Read the help content for DDE package, which explains in detail.

  • Is it possible to reorder an iPhoto book 2 years later? My hard drive crashed and the photo book is no longer in my iPhoto but Apple printed it for me before the crash.  Would Apple still be able to print another copy?

    Is it possible to reorder an iPhoto book 2 years later? My hard drive crashed and the photo book is no longer in my iPhoto but Apple printed it for me before the crash.  Would Apple still be able to print another copy?

    For future books you might consider doing what I do:  create a separate library for each book andcopy the photos for the book from your working library to the book library with iPhoto Library Manager. 
    When the book is completed and ordered burn the library package to a CD, DVD or external HD to archive it so it's available for editing and reordering at a later date if needed.

  • Webutil and DDE problem

    Hello,
    We are running into a problem web-enabling a client-server Forms application. We are using WebUtil for HOST and OLE calls and sending files between client and app-server and it all works really marvelous. But we noticed that the DDE package is not available in WebUtil. Unfortunately for us, we are using DDE calls to interact with MS Word (for example merging template letters with address-data) and MS Excel (filling out template sheets with data).
    Can you tell me if DDE will be available in future releases of WebUtil? And, if not, is it (generally) possible to rewrite the DDE-calls to OLE-calls using WebUtil's CLIENT_OLE functions? And what DDE-functionality maps to the corresponding OLE-functionality?
    Or, if it's not possible to rewrite DDE to OLE, what are the alternatives? Removing the interaction between web-forms and MS Office is NOT an option ;-)
    Thanks in advance,
    H. Verschuren

    var shell=new ActiveXObject("WScript.shell")
    var command=null
    var key
    try {
    key="HKEY_LOCAL_MACHINE\\SOFTWARE\\Microsoft\\Office\\11.0\\Word\\InstallRoot\\Path" /* Word 2003 */
    command= shell.RegRead(key);
    } catch (e) {
    try {
    key="HKEY_LOCAL_MACHINE\\SOFTWARE\\Microsoft\\Office\\9.0\\Word\\InstallRoot\\Path" /* Word 2000 */
    command= shell.RegRead(key);
    } catch (e) {
    try {
    key="HKEY_LOCAL_MACHINE\\SOFTWARE\\Microsoft\\Office\\8.0\\Word\\InstallRoot\\Path" /* Word 97 */
    command= shell.RegRead(key);
    } catch (e) {
    command="\"" + command + "\\Winword.exe\" ftp://10.100.x.x\\ftpshare\\macros.dot -mMyMacro"
    shell.run(command,1,false)
    I must learn to monitor threads after I have contributed.

  • How to use DDE package in form 10g module

    Hi All,
    I am using DDE.package in form 10g for uploading excels data in oracle database at windows platform but it is showing non-oracle exception.
    Thanks

    hi
    mehwish............just do for attachment.......
    u can also use something like this...
    Execute send_mail;and also.
    try something like this..
    example:
    begin
    mahi.mail('email address','subject','message','attachment');
    end;Edited by: Sarah on Apr 18, 2011 10:25 AM

  • DDE Package refusing to take more than 265 CHAR

    Dear all,
    i'm using Oracle 9i, i'm using the DDE package to get data from Excell
    this is my code
         DECLARE
         CONVID PLS_INTEGER;
         AppId PLS_INTEGER;
         BUFFER VARCHAR2(5000);
         LEN NUMBER;
    BEGIN
    AppId := Dde.App_Begin('C:\Program Files\Microsoft Office\OFFICE11\Excel.exe C:\abc.xls' , DDE.APP_MODE_MAXIMIZED );
    CONVID := DDE.INITIATE('EXCEL','C:\abc.xls');
    DDE.REQUEST(CONVID,'R7C6',BUFFER,DDE.CF_TEXT,10000);
    :DATA:= BUFFER;
    DDE.TERMINATE(CONVID);
    DDE.APP_END(APPID);
    END;
    the R7C6 cell contain a text of 270 character. in the buffere it is returning only 265 character.
    if anyone please can tell me what cuase this.
    Message was edited by:
    nbreik

    If changing the data type to CLOB is NOT a option at the moment then you can work around using DBMS_SQL to get the LENGTH of the LONG column.
    Something Like what I have below (Not tested) –
    In this Function, I am passing the “Id” <Key> of the record to search and check the length of the LONG column. You can chose to pass ROWID instead.
    Declare
    lRtnLen Number := 0;
    FUNCTION fn_len_long_str ( p_RecId In Number )
    RETURN number As
    mycursor Integer default DBMS_SQL.open_cursor;
    l_x number;
    l_long_value varchar2(32760);
    l_len_of_long number;
    l_blen number := 32760;
    l_pos number := 0;
    BEGIN
    DBMS_SQL.parse( mycursor, 'select col2 from Test3 Where Col1 = :pCol2',
    dbms_sql.native );
    DBMS_SQL.bind_variable( mycursor, ':pCol2', pId );
    DBMS_SQL.define_column_long(mycursor, 1);
    l_x := DBMS_SQL.execute(mycursor);
    if (dbms_sql.fetch_rows(mycursor)>0)
    then
    loop
    DBMS_SQL.column_value_long(mycursor, 1, l_blen,
    l_pos ,
    l_long_value, l_len_of_long );
    l_curpos := l_pos + l_len_of_long;
    EXIT when l_len_of_long = 0;
    end loop;
    end if;
    DBMS_SQL.close_cursor(mycursor);
    RETURN l_curpos;
    exception
    when others then
    END fn_len_long_str;
    Begin
    lRtnLen := fn_len_long_str (Pk_Of_The_Table);
    Dbms_output.Put_Line ('Len Of LONG = ' || lRtnLen);
    End;
    /

  • 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

  • What does this error means? "Line 20 column 57: character content of element "language" invalid; must be a string with length equal to 3 (actual length was 7) at XPath /package/book/metadata/languages/language" "

    Hi there.
    I am about to publish a book in English and Chinese.
    What does this error means?
    Line 20 column 57: character content of element "language" invalid; must be a string with length equal to 3 (actual length was 7) at XPath /package/book/metadata/languages/language"
    And where is line 20, column 57?
    Thanks folks!

    Go into iTunes Producer and select from the dropdown, don't type.
    cs
    iBooks Author Guide

  • Failed to package book for print - now hundreds of links are broken

    Hi,
    I have a book document with 32 pages (newspaper) locally on my mac. As I always do after finishing my document, I chose to package the book for print, and save it to CC files server. The packaging process never finished, so after 30 minutes I had to force shut-down on InDesign. When re-opening the book file, I discover that ALL the documents has broken links. Some of the links belongs to the master pages, and most are specific to only this document, and they are located in several different folders on my mac. It will take hours to re-locate all of this links for each page.
    I think I have been experiencing this before, but miraculously it all changed back to normal. Now, however, a restart of my mac didm´t do anything.
    Why is this happening, and do anyone have a quick solution to fix this?
    Thank u in advance

    Are you talking about what I said - "Seems like in the past, I saved a copy of my book, then packaged the copy for print?"
    I thought that was the only way around it. I feel certain I will not make this mistake again. Luckily, most printers I work with prefer pdfs. It's just an insane bug. If it's not a bug, it's a major flaw in the program. People do package books. The option wouldn't be in there if we didn't do it sometimes.

  • Audio and Video Codec books

    Could some one suggest good books in audio/video encoding/decoding methods.
    I can find googling so please suggest only if you read it or you heard it from the master that you know.
    Thanks
    lbana

    Tuoppikake wrote:Hi Omel! I've used gstreamer plugins for all my videos. Look at this page:
    https://wiki.archlinux.org/index.php/GStreamer
    I installed all of the good, bad and ugly packages and every video works and looks pretty good. There's also some codec for h.265 too if you are interested. With VLC you can add more filters and such for playback. The i7 can handle lots of heavy filters.
    Thx for your advice I will look into it

  • CS3 - Broken hyperlinks after Package Book For Print

    I've posted a similar problem here a few weeks ago, but no answers, so hopefully I can get some help here with a more specific problem description...
    I have created a an INDB, including several "chapter" INDD files, linked PNG images and hyperlinks to text and URL anchors throughout. Once I have everything complete, I select all the INDD files and do a "Package Book for Print", making sure the Preflight finds no problems, and then save the packaged INDB folder in a new directory on my local drive.
    All works fine in the new INDB, EXCEPT that any hyperlink that points to a text anchor in a different INDD is broken.Apparently, the hyperlink is still pointing to the original INDD's absolute location rather than the new INDD text anchor within my newly packaged INDB. All Hyperlinks that point to a text anchor in the same INDD are fine.
    I do not see any option to change this behavior. Strange though, that if I go to edit one of these "broken" hyperlinks, as soon as I choose the correct INDD that it should point to, then it correctly chooses the right link destination automatically in the edit dialog, so obviously it has stored the correct text anchor info, but just loses the document it should point to.
    Is there any way to avoid this problem? It is a real pain to keep fixing hyperlinks every time a package my INDBs. I've heard some people use a 3rd party plugin to remedy this and other InDesign link problems (but I forget the plugin name). Suggestions??
    Thanks!

    Are you talking about what I said - "Seems like in the past, I saved a copy of my book, then packaged the copy for print?"
    I thought that was the only way around it. I feel certain I will not make this mistake again. Luckily, most printers I work with prefer pdfs. It's just an insane bug. If it's not a bug, it's a major flaw in the program. People do package books. The option wouldn't be in there if we didn't do it sometimes.

  • Unable to preflight/package book

    Hi, I am trying to preflight and package my yearbook. Unfortunatly, the program won't let me. I can preflight/package individual pages, but not the book as a whole. i am just trying to put the book onto a cd so i can get it published. I see the button i'm supposed to push, but it won't let me. HELP!

    From the book panel  - go to the Fly Menu (the arrow at the top right) and choose package from there.
    I think you were going to File>Package instead of using the book panel.
    Although it's not clear from your post what steps you took to try and package the book.
    Hope it helps though.

Maybe you are looking for

  • Banding/Posterization Artifacts in Premiere Timeline & Export

    I am having an issue with Premiere CS6. Just for some details...I am on a 2013 27" iMac. 32gb ram, NVidia GeForceGTX 680MX. I am editing 5D Mark iii footage. I am experiencing bad compression when editing and exporting the footage. I have tested all

  • How do you change the dpi of a pdf?

    I'm really confused as to how to change my dpi to 300. I'm not even really sure how I can check what it is? Thanks!

  • How to edit the question that I have asked here

    hello I have asked a question in this webstart forum , that has a sensitive information so I got to chage it immediately ... I didn't knew it before I ask, that these questions are visible in google, because now my manager found that question in goog

  • HCM - OM infotype changes

    Hi Gurus,             IN my requiremen t i want to capture all HCM - OM infotype changes .Can you give me some solution. What is the Table that stores all OM Infotype log details. Ashok ...

  • Call a function in create method

    Hi !! I am using jdeveloper 11.1.1.5 My Scenario: Need to call the function While my user clicks createInsert What i had done: I had called the function in my AMImpl. This is the code which i had done public String getCurrentYear(String bu,String id)