Problem in CLIENT_OLE2.SET_PROPERTY usage

Hi,
I am trying to call this procedure with a need to pass value of CLIENT_OLE2.OBJ_TYPE type. I did it this way:
ARG_LIST := CLIENT_OLE2.CREATE_ARGLIST;
CLIENT_OLE2.ADD_ARG_OBJ(ARG_LIST,variable of OBJ_TYPE type);
CLIENT_OLE2.SET_PROPERTY(obj,'property name','1',ARG_LIST);
CLIENT_OLE2.DESTROY_ARGLIST(ARG_LIST);
Unfortunately, this give me error.
I think the problem is in the third parameter in SET_PROPERTY call.
What that correct value for this parameter?
Notice that WebUtil is correctly installed and well working.
If any one has solution for this problem, please help me.
Thanks

You can modify webutil.pll (make a backup, of course). Have a look at the client_ole2.set_property procedure and change the line
v_str varchar2(4000 char);
into whatever you want, e.g.
v_str varchar2(32767);
Compile and save webutil.pll, then try again.
Gerald

Similar Messages

  • I'm having problems with excessive email usage on my iphone 4/ios 7. Just noticed that (settings/usage) it was using 900  mb. I deleted all my mail, deleted the mail account, and it still says it's using 661 mb. My ipad uses a fraction of that.

    I'm having problems with excessive email usage on my iphone 4/ios 7. Just noticed that it (settings/usage) was using 900+ mb. I deleted all my mail, deleted the mail account, turned the phone off and back on, downloaded any remaining mail on the server to Outlook on my computer, and it still says it's using 661 mb. My ipad uses a fraction of that.
    Background: I recently (December) bought an ipad and set up icloud for contacts and calendar, but NOT mail. My email provider is Verizon. I use computer, iphone, and ipad to check my email; eventually I download it from the server using Outlook on the computer and then delete any remaining emails from the phone and ipad. I can't find info on this problem anywhere.

    Howdy there COUGAR444,
    It sounds like your iPad all of a sudden seems to be restarting out of no where. If you haven't called AppleCare yet, I would start with quitting either the app that seems to be causing the issue, or all the apps if a single doesn't seem to be the culprit. 
    iOS: Force an app to close
    Double-click the Home button.
    Swipe left or right until you have located the app you wish to close.
    Swipe the app up to close it.
    When you have done that restart the device and test the issue again:
    iOS: Turning off and on (restarting) and resetting
    If the issue persists, backup your device to iTunes, then restore it as new and verify that it works. 
    How to erase your iOS device and then set it up as a new device or restore it from backups
    If it does, then restore your backup to either verify it still works and the software just needed reinstalled, or isolate the issue to the backup file itself. 
    Thank you for using Apple Support Communities.
    Regards,
    Sterling

  • Problem while using Component Usage

    Hi,
    I am using Component - BT116IT_SRVO/TableWindowOVE as component usage in my component - SRQM_INCIDENT_H. Added this as assignment block.
    The problem is :
    It is not showing any button as "Edit List" as it is showing in Service Order. And I am not able to see any values in dropdown to select "SHOW".
    Can you please help me, how to enable Edit List and how to make it work as same in Service Order.
    Thanks,
    Sandeep

    Hi Sandeep
    Check whether you have added below formate to the ComponentUsages of SRQM_INCIDENT_H. If not add like below. It will get you out from the issue.
    ComponentUsage :CUItemTable 
    Used Component : BT116IT_SRVO
    InterfaceView: BT116IT_SRVO/TableWindowOVE
    InterfaceView :TableWindow
    Once you added component usage properly as mentioned above, you can able see below lines of code in Repository.xml of SRQM_INCIDENT_H. BUT Dont cahnge manually in  Repository.xml
      <!-- Declaration of windows -->
       <Window id="SRQM_INCIDENT_H/MainWindow" default="TRUE">
    <EmbeddedView id="CUItemTable.TableWindow"/> 
    </Window>
    <ViewSet id="SRQM_INCIDENT_H/IncidentOV">
    <EmbeddedView id="CUItemTable.BT116IT_SRVO/TableWindowOVE"/>
    </ViewSet>
    Now restart your browser and test the application.
    Thanks
    Chand

  • Problem removing Diagnostic and Usage Data Log

    I have had several iPod crashes and ironically that's not my problem. The problem is the Diagnostic and Usage Data log is getting larger and larger. I have my iPod Touch 4th Gen. set to not send reports to Apple and I do no see any way to delete or editing it. Is there a way to delete the  log or remove some of its lines of reports or dose it have to be sent to Apple to remove it?

    I may be a little rusty on the rules here but I didn't think hijacking a thread was not aloud. If it was me I would have started my own thread instead of taking the original question in a different direction. Just sayin.
    We I was looking for my answer I found yours.
    http://support.apple.com/kb/HT2534

  • Problems with basic keys usage

    I'm going crazy. Quite often now the following key or keys combinations I use the most often stop working:
    - using Shift to select all files between two clicked on items
    - using Command to select several individual files
    - using Command-c and Command-v for Copy and Paste operations
    They stop working as they should sometimes immediately after new boot, sometimes hours after my iMac was already working properly. The only solution so far is to restart the system - but problem accelerates and I need now to restart system twice and sometimes more than twice to get the keys working. Switching keyboard with another one doesn't help, it is definitely a Finder's issue.
    Desperately need a solution.

    Hi,
    Having the same problem here. Every once in a while, Finder stops working. Command F as well as other command keys stop functioning until a restart. Getting worse. Any fixes?
    iMac G5/20inch/1.8ghz/1.25GBram   Mac OS X (10.4.9)  

  • Problem with CLIENT_OLE2 functions, please help

    Hi all,
    I´m trying to create a new excel document on client side, filled with data from database tables.
    When server tries to execute the following line:
    aplicacion     := CLIENT_OLE2.CREATE_OBJ('Excel.Application');
    it hangs up and in the Java console appears the following trace:
    "Exception occurred during event dispatching:
    java.lang.NoClassDefFoundError
    at oracle.forms.webutil.ole.OleFunctions.create_obj(OleFunctions.java:513)
    at oracle.forms.webutil.ole.OleFunctions.getProperty(OleFunctions.java:218)
    at oracle.forms.handler.UICommon.onGet(Unknown Source)
    at oracle.forms.engine.Runform.onGetHandler(Unknown Source)
    at oracle.forms.engine.Runform.processMessage(Unknown Source)
    at oracle.forms.engine.Runform.processSet(Unknown Source)
    at oracle.forms.engine.Runform.onMessageReal(Unknown Source)
    at oracle.forms.engine.Runform.onMessage(Unknown Source)
    at oracle.forms.engine.Runform.processEventEnd(Unknown Source)
    at oracle.ewt.lwAWT.LWComponent.redispatchEvent(Unknown Source)
    at oracle.ewt.lwAWT.LWComponent.processEvent(Unknown Source)
    at java.awt.Component.dispatchEventImpl(Unknown Source)
    at java.awt.Container.dispatchEventImpl(Unknown Source)
    at java.awt.Component.dispatchEvent(Unknown Source)
    at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
    at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
    at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
    at java.awt.Container.dispatchEventImpl(Unknown Source)
    at java.awt.Window.dispatchEventImpl(Unknown Source)
    at java.awt.Component.dispatchEvent(Unknown Source)
    at java.awt.EventQueue.dispatchEvent(Unknown Source)
    at java.awt.EventDispatchThread.pumpOneEventForHierarchy(Unknown Source)
    at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
    at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
    at java.awt.EventDispatchThread.run(Unknown Source)"
    I think webutil configuration is right, because other webutil functions like "client_get_file_name" work correctly... and the same code worked fine in my test server.
    More info:
    Test server: Windows XP, Oracle 10g, Forms 9.0
    Final server: Unix, Oracle 10g, Forms 9.0
    Any help?
    Thanks in advance.

    Have you got the Jacob files installed on the application server? These are not part of webutil, you will need to do a web search to find them.
    See section 2.3 of the Webutil Users Guide.

  • Problem with entity- set_property. Does not set the value on Save

    There is a custom field enhanced in BP_HEAD component in node header structure.
    Code to set the property is written in do_prepare_output method. This value gets set with X after BACK from contact details.
    I see the value X before Save of the account details. After Save, the set_property does not work and so the value is not displayed.
    Please help to explain what could be the reason and how to rectify it.
    Note: Before Save, If I select Edit I see the value on the field. If I select Save after the Edit. The value is retained.
    This issue occurs only when new account details is Saved.

    Hi ,
    The set_property( ) does not work if the field is non-editable. You have to make sure that you do this operation only for fields which are editable.
    Also if you done a set_property(   ), make you perform a modify also and there should be a save followed by a commit ( framework does it for you or you do it manually).
    * 1. Lock an entity and modify a property
    * here booking entity with technical name u2018UIFBokkingu2019
    2 Basic Features of the BOL Application Programming Interface
    <January 2009> 19
    lv_booking = lv_flight->get_related_entity(
    u2018FlightBookingRelu2019 ).
    IF lv_booking->lock( ) = ABAP_TRUE.
    lv_booking->set_property( iv_attr_name = u2018SMOKERu2019
    iv_value = u2018Xu2019 ).
    ENDIF.
    * 2. send all changes to BO layer
    lv_bol_core->modify( ).
    * 3. get the implicitly created global transaction
    DATA: lv_transaction TYPE REF TO if_bol_transaction_context.
    lv_transaction = lv_bol_core->get_transaction( ).
    * 4. save and commit your changes
    lv_transaction->save( ).
    lv_transaction->commit( ).
    Regards
    Kavindra

  • Problem in Z1 Battery usage

    Hi ,
    In my xperia Z1 phone , In the battery usage histroy details shows always turned on WIFI. But actully i have not at all turned on WIFI and and Not used WIFI only.
    But still in history details of batter usage , its showing alwayas on on WIFI.
    Please suggest for this problem

    Force restart your phone(power button+vol up until the phone vibrates).After that,charge it to 100% and do not use wifi.See how this goes.
    All we have to decide is what to do with the time that is given to us - J.R.R. Tolkien

  • Problem with stored procedure usage when Toplink api is used

    In one of our applications we used the combination of JBoss4.0.2 application server, Oracle Toplink 10g (9.0.4.5), JDBC Driver Version is ..... 10.1.0.2.0, Database Product Version is Oracle9i Enterprise Edition Release 9.2.0.6.0, j2sdk1.4.2_08
    We faced problem in the application when it is trying to call stored procedure using Oracle Toplink api
    code snippet:
    public ByteArrayOutputStream baos = new ByteArrayOutputStream();
    public PrintStream pos = new PrintStream(baos);
    public String delete(String Id)
    String procedureName = "abc";
    try
    UnitOfWork uow = PersistenceManager.getCurrent().getUnitOfWork();
    StoredProcedureCall call = new StoredProcedureCall();
    call.setProcedureName(procedureName);
    call.addUnamedArgumentValue(Id);
    uow.executeNonSelectingCall(call);
    uow.commit();
    catch (Exception e)
    message = e;
    e.printStackTrace(pos);
    message = message+ baos.toString();
    return message;
    Stack Trace:
    Exception [TOPLINK-4002] (OracleAS TopLink - 10g (9.0.4.5) (Build 040930)): oracle.toplink.exceptions.DatabaseException Exception Description: java.sql.SQLException: ORA-06550: line 1, column 7: PLS-00201: identifier 'abc' must be declared ORA-06550: line 1, column 7: PL/SQL: Statement ignored Internal Exception: java.sql.SQLException: ORA-06550: line 1, column 7: PLS-00201: identifier 'abc' must be declared ORA-06550: line 1, column 7: PL/SQL: Statement ignored Error Code: 6550Local Exception Stack: Exception [TOPLINK-4002] (OracleAS TopLink - 10g (9.0.4.5) (Build 040930)): oracle.toplink.exceptions.DatabaseException Exception Description: java.sql.SQLException: ORA-06550: line 1, column 7: PLS-00201: identifier 'abc' must be declared ORA-06550: line 1, column 7: PL/SQL: Statement ignored Internal Exception: java.sql.SQLException: ORA-06550: line 1, column 7: PLS-00201: identifier 'DELETE_LOADED_RESULT_SET' must be declared ORA-06550: line 1, column 7: PL/SQL: Statement ignored Error Code: 6550 at oracle.toplink.exceptions.DatabaseException.sqlException(DatabaseException.java:227) at oracle.toplink.internal.databaseaccess.DatabaseAccessor.executeDirectNoSelect(DatabaseAccessor.java:733) at oracle.toplink.internal.databaseaccess.DatabaseAccessor.executeNoSelect(DatabaseAccessor.java:781) at oracle.toplink.internal.databaseaccess.DatabaseAccessor.executeCall(DatabaseAccessor.java:642) at oracle.toplink.publicinterface.UnitOfWork.executeCall(UnitOfWork.java:1400) at oracle.toplink.internal.queryframework.CallQueryMechanism.executeCall(CallQueryMechanism.java:131) at oracle.toplink.internal.queryframework.CallQueryMechanism.executeCall(CallQueryMechanism.java:115) at oracle.toplink.internal.queryframework.CallQueryMechanism.executeNoSelectCall(CallQueryMechanism.java:164) at oracle.toplink.internal.queryframework.CallQueryMechanism.executeNoSelect(CallQueryMechanism.java:143) at oracle.toplink.queryframework.DataModifyQuery.execute(DataModifyQuery.java:41) at oracle.toplink.queryframework.DatabaseQuery.execute(DatabaseQuery.java:493) at oracle.toplink.publicinterface.Session.internalExecuteQuery(Session.java:1958) at oracle.toplink.publicinterface.UnitOfWork.internalExecuteQuery(UnitOfWork.java:2236) at oracle.toplink.publicinterface.Session.executeQuery(Session.java:1086) at oracle.toplink.publicinterface.Session.executeQuery(Session.java:1038) at oracle.toplink.publicinterface.Session.executeNonSelectingCall(Session.java:816) at com.abc.de.fg.model.resultSet.ResultSetProvider.delete(ResultSetProvider.java:150) at
    Could anyone please let me know what might be the problem in this case.

    Tried and couldn't reproduce the problem using 9.0.4.7.
    Here's the code:
        System.out.println("storedProcedureUnamedValueTest");
        StoredProcedureCall call = new StoredProcedureCall();
        String lastName = "Jones";
        call.setProcedureName("STOREDPROCEDURE_IN");
        call.addUnamedArgumentValue(lastName);
        session.executeNonSelectingCall(call);stored procedure definition in data base:
    CREATE OR REPLACE  PROCEDURE "TEST_904"."STOREDPROCEDURE_IN"  (
         IN_PARAM VARCHAR2) AS
    BEGIN
      UPDATE EMPLOYEE SET F_NAME = 'Indiana' WHERE (L_NAME = IN_PARAM);
    END;log:
    storedProcedureUnamedValueTest
    DatabaseSession(15)--Execute query DataModifyQuery()
    DatabaseSession(15)--Connection(16)--BEGIN STOREDPROCEDURE_IN('Jones'); END;
    DatabaseSession(15)--Connection(16)--reconnecting to external connection poolAndrei

  • Sound problems and excessive data usage. Anyone else had this problem?

    Just upgraded from 3GS to 4S literally had the phone for 3 weeks, firstly within first week got told I'd used 90% of my 500mb data allowance when I hadn't even used the phone for much data only maps and general quick web page no YouTube vids or emails.  I found this odd as O2 told me I don't even use 500mb per month wiv my 3GS and with that I was streaming YouTube lots and emailing! And now today all my sound has gone! No ringing no alert sounds and when I call I can't hear anything and neither can the person at the other end.  I have tried resetting and everything anybody else had these problems??

    The iPhone is DESIGNED to switch to cellular data when asleep, unless it's connected to a power source, in which case it will stay logged onto the WiFi network.  iPhones have ALWAYS behaved this way.
    Either turn cellular data off at night, or leave your phone connected to a power source to continue the WiFI.

  • Problem with quality and usage of 865PE Platinium motherboard?

    :hypecrite:
    hello everybody i just wanted to ask how to use The Core Center with my P4 865PE Platinium motherboard and wanted to ask about the fact of its quality as it does not have any warrenty as intel 865PE has of 3 years in Pakistan this motherboard was very expensive i need to know will this motherboard last 3 years with a stabilizer with daily power breakdowns if i might ask will it last longer then its intel competetor please help me out guys mail me at [email protected] ok  
    bye

    Quote
    Originally posted by midhat
    hey guys,
                 i asked that what is the quality of 865PE Platinium board and will it stand power break downs with stabilizer , will it run 3 years or not i did not ask about overclocking my board i am not an overclocker, i just asked how do you control the corecell feature where do you control it ok
    reply to me now and in a forward way read out my statement ok
    mail me at [email protected]
    Surely, you must understand that your question is impossible to answer, but anyway I can get you some opions about it.
    MSI 865pe platinum are built of quality components and have passed several Q-controls before reaching the market for sale.
    http://www.msi.com.tw/html/service/techexpress/mainboard/6728v20/page2.htm
    http://www.msi.com.tw/program/products/mainboard/mbd/pro_mbd_trp_detail.php?UID=556
    Still there will never be a 100% guarantee, that some boards will have some faults
    of some reasons and have to be RMA:ed.
    Nearly all PC componenets are sensitive for elektromagnetic´s and electrical shocks, so be very careful when touching the motherboard and it´s components and see to it that you get yourself "statical unloaded" before touching anything.
    and always unplug power cable when doing something inside the PC.
    Second you have to get a high-quality PSU that has built-in power overload protection.
    You can not protect yourself from power breakdowns, unless you get your own powerstation.
    Anyway, my 865pe platinum have survived a couple of power breakdown´s.
    But if it should be damaged because of heavy power overload / bad PSU I would not be too sure that it will be within the official guarantee anyway.

  • Some wire connection problem for SCB-68 usage in measuring voltage

    I am using FPGA 7831R along with SCB-68 to measure some voltage from my monitor terminal from my motor. When I measure the voltage between the monotor output and GND using a multi-meter the measurement is very reasonable and it can be changed when motor speed is changed. However, When I use FPGA input function to measure the monitor output(corresponding AI0 on SCB-68), the number displayed on the scope is always 10. The displayed value from GND is also 10(corresponding AI1 on SCB-68), so when I substract  AI0 from AI1 the value is zero. Did I do something wrong in wire connection.
    Should I connect the AIGND terminal to somewhere or leaving it floating.

    Hi shuishen1983,
    What are the connections that you have made for this measurement?  What kind of signal is it?  Are you trying to do a differential or single-ended measurement?  In either case, you should have a look at this wiring guide.
    Jared S.
    Applications Engineering
    National Instruments

  • Problem with field-symbols usage

    Hi guys,
    I am trying to read a record of table gi_outtab as follows:
    read table gi_outtab into wa_outtab index wa_ir2_data_changed-row_id.
    And now i want the value of a field of wa_outtab and this field is contained in a field-symbol <field> .
    I thought wa_outtab-<field> would give the value for that field. But it gives syntax error saying component doesn't exist.How do I fix it ? Any help or sample code to fix this error is greatly appreciated.The code is below.
    Thanks,
    SHK
    I have fieldname info and row index info in wa_ir2_data_changed.I assign field-name info to a field-symbol.wa_outtab-<field> gives error saying no component like that exists. <field> dynamically changes for ever iteration of the loop below.How do I fix it ?
    data : wa_ir2_data_changed like line of ir2_data_changed->mt_good_cells.
    field-symbols : <field> type ANY .
    loop at ir2_data_changed->mt_good_cells into wa_ir2_data_changed.
    assign wa_ir2_data_changed-fieldname to <field> .
    read table gi_outtab into wa_outtab index wa_ir2_data_changed-row_id.
    call method ir2_data_changed->modify_cell
       exporting i_row_id  = wa_ir2_data_changed-row_id
               i_fieldname = wa_ir2_data_changed-fieldname
               i_value     = wa_outtab-<field>.
    endloop.
    wa_ir2_data_changed has 3 components.
    a) row_id
    b) fieldname
    c) value

    The following code fixed it.Thanks Suresh for the tip.
    loop at ir2_data_changed->mt_good_cells into wa_ir2_data_changed.
    read table gi_outtab into wa_outtab index wa_ir2_data_changed-row_id.
    ASSIGN COMPONENT wa_ir2_data_changed-fieldname of structure wa_outtab to
    <field>.
    call method ir2_data_changed->modify_cell
       exporting i_row_id  = wa_ir2_data_changed-row_id
               i_fieldname = wa_ir2_data_changed-fieldname
               i_value     = <field>.
    endloop.

  • Problem with memory usage and CPU usage

    Hello,
    i have a problem with the memory usage and cpu usage in my project!
    My application must run for more than 24 hrs. The problem is that the longer it runs the bigger is the memory and cpu usage!
    It starts with ~15% CPU usage and ~70 MBytes memory usage. After ~ 24hrs the CPU usage is ~60% and the memory usage is ~170 MBytes!
    After  3 days the CPU usage is almost about 70% and the memory usage is about 360 MBytes!
    What can I do to reduce this huge recource usage?
    Thank you!

    Hi Pahe,
       I think the issue is memory usage, since CPU usage can increase due to greater memory requirements.
       Anyway, it's difficult to debug without seeing your code, can you post it (possibly for LV 7.1 compatibility)?  Or just post a JPEG of the piece of code that can give problems...
       I guess you're appending data to an array instead of replace data elements, but I can't be sure...
       Have a nice day!
    graziano

  • WEBUTIL - CLIENT_OLE2 : Clientside Word Integration problem

    Hi,
    I have attached webutil.pll and webutil.olb and configured the necessary files as per the webutil manual in Oracle Forms 10g under Windows 2000. I have compiled the libraries before running the form.
    When I run the form, encountering following error message:
    WUC-015: Your form must contain the following bean for this function to be available : oracle.forms.webutil.ole.olefunction
    Please help me out to trace the error.
    Thanks - Mundhir.
    [email protected]
    In my forms [When-Button-Pressed], I added the following code :
    ==========================================================
    PROCEDURE worddoc IS
    BEGIN
    DECLARE
    -- Declare the OLE object
    application CLIENT_OLE2.OBJ_TYPE;
    -- Declare handle to the OLE argument list
    args CLIENT_OLE2.LIST_TYPE;
    BEGIN
    -- Start WordBasic and make Word visible
    application:=CLIENT_OLE2.CREATE_OBJ('Word.Basic');
    CLIENT_OLE2.INVOKE(application, 'AppShow');
    -- Create a new Word document
    CLIENT_OLE2.INVOKE(application, 'FileNew');
    -- Navigate to the bookmark called 'LetterHead'
    args:=CLIENT_OLE2.CREATE_ARGLIST;
    CLIENT_OLE2.ADD_ARG(args, 'ViewHeader');
    CLIENT_OLE2.INVOKE(application, 'EditGoto', args);
    CLIENT_OLE2.DESTROY_ARGLIST(args);
    args:=CLIENT_OLE2.CREATE_ARGLIST;
    CLIENT_OLE2.ADD_ARG(args, :TXT_HEADER);
    CLIENT_OLE2.INVOKE(application, 'Insert', args);
    CLIENT_OLE2.DESTROY_ARGLIST(args);
    -- Insert the text item into the Word document
    args:=CLIENT_OLE2.CREATE_ARGLIST;
    CLIENT_OLE2.ADD_ARG(args, :TXT_COMMENT);
    CLIENT_OLE2.INVOKE(application, 'Insert', args);
    CLIENT_OLE2.DESTROY_ARGLIST(args);
    -- Save the document to the filesystem
    args:=CLIENT_OLE2.CREATE_ARGLIST;
    CLIENT_OLE2.ADD_ARG(args, 'c:\temp\EXAMPLE.DOC');
    CLIENT_OLE2.INVOKE(application, 'FileSaveAs', args);
    CLIENT_OLE2.DESTROY_ARGLIST(args);
    -- Release the OLE object
    CLIENT_OLE2.RELEASE_OBJ(application);
    END;
    END;
    ==========================================================

    I used code given below, it gives an error ORA-305501
    I am using Microsoft Office-2003.
    how can I export contents(modified) of MSWORD back to form?
    declare
         app CLIENT_OLE2.OBJ_TYPE;
         docs CLIENT_OLE2.OBJ_TYPE;
         doc CLIENT_OLE2.OBJ_TYPE;
         selection CLIENT_OLE2.OBJ_TYPE;
         args CLIENT_OLE2.LIST_TYPE;
    BEGIN
    -- create a new document
              app := CLIENT_OLE2.CREATE_OBJ('Word.Application');
              CLIENT_OLE2.SET_PROPERTY(app,'Visible',1);
              docs := CLIENT_OLE2.GET_OBJ_PROPERTY(app, 'Documents');
              doc := CLIENT_OLE2.INVOKE_OBJ(docs, 'add');
              selection := CLIENT_OLE2.GET_OBJ_PROPERTY(app, 'Selection');
         -- insert data into new document from long item
              CLIENT_OLE2.SET_PROPERTY(selection, 'Text', :b1.t1);
    -- save document as example.doc
         args := OLE2.CREATE_ARGLIST;
         CLIENT_OLE2.ADD_ARG(args, 'c:\temp\example.doc');
              CLIENT_OLE2.INVOKE(doc, 'SaveAs', args);
              CLIENT_OLE2.DESTROY_ARGLIST(args);
    -- close example.doc
              args := CLIENT_OLE2.CREATE_ARGLIST;
              CLIENT_OLE2.ADD_ARG(args, 0);
              CLIENT_OLE2.INVOKE(doc, 'Close', args);
              CLIENT_OLE2.DESTROY_ARGLIST(args);
              CLIENT_OLE2.RELEASE_OBJ(selection);
              CLIENT_OLE2.RELEASE_OBJ(doc);
              CLIENT_OLE2.RELEASE_OBJ(docs);
    -- exit MSWord
              CLIENT_OLE2.INVOKE(app,'Quit');
    END;

Maybe you are looking for

  • How do I use the alternate list template when rendering web app items to a page?

    I need to have the ability to use the main list template on particular pages, but then use different markup for other pages - is there a way that I can specify the alternate list template within the module tag?

  • How to Migrate Process Instance in Process Workspace with ps4fp

    Hi everyone, I am using BPM 11gR5 with ps4fp, I want to Migrate Process Instance in Process Workspace, then deployed two version for a BPM project. but can not find the "Migrate" menu in "Process Tracking tab->Action" in process workspace. Is it corr

  • IE with SSL problem

    HI All, I am using https to display my pages. But when I display .xls file over https it doesn't open and gives me a error "Internet explorer can not downloaded". So is there any setting in IE to be done or need to change MIME type or any other way..

  • Can't retrieve item indexes for app.project.selection[x]

    Hello, I'm relatively new to scripting.  I'm trying to write a script that dupliates the selected comps in the project window a number of times and then modifies each of the dupliates.  How do you retrieve the item index for each app.project.selectio

  • Facebook settings in Nokia C7

    Hi! How to change settings to Facebook app in my Nokia C7? It shows mainly game notifications from my friends, which I don't want to see. When using Facebook by PC, I have settings so that it doesn't show those notifications.