Invoking a Macro

Hello friends
                     I have a workbook which has 5 queries on different worksheets. Now I wrote a Macro which does some calculation based on the results of the query  in the last worksheet and populates a chart. Now, I want to do the following:
I want the Macro to be invoked as soon as the Workbook is opened and the query is populated in al the sheets.

Please find the follwing blog.
Long Texts in SAP BW: Displaying in BEx Analyzer. Introduction to Excel Workbooks Formatting. Part II.
Regards,
PK

Similar Messages

  • To Run a Word Macro recorded in 2000 in latest versions of Word

    Hello All,
    I have recorded a macro in word 2000 and calling that macro through Jacob 1.11 in my Java Swing application. That works fine for word 2000. I just want to use that same macro in Word Xp and for latest versions of Word. The problem is it is not invoking the macro in Word XP. But internally it is functionaning. I want to open it whenever the Word is opened.
    I have placed the macro other than in Normal.dot file and trying to open it. It opens in word 2000 as i said but not in XP and latest versions. Please refer the following code and help me....
    thanks in advance
    import java.io.File;
    import com.jacob.activeX.ActiveXComponent;
    import com.jacob.com.Dispatch;
    import com.jacob.com.Variant;
    public class WordEventTest
         public WordEventTest()
                   try
                        File wordFileName = new File("C:"+File.separator+"example5.rtf");
                   String strWordFile = wordFileName.toString();
                        String secondFile = "C:" + File.separator+"example1.rtf";
                        ActiveXComponent wordDocuments = new ActiveXComponent("Word.Application");
                        wordDocuments.setProperty("Visible", new Variant(true));
                        Dispatch documents = Dispatch.get(wordDocuments, "Documents").toDispatch();
                        Dispatch openDocuments = Dispatch.call(documents, "Open", new Variant(strWordFile)).toDispatch();
                        Dispatch.call(openDocuments, "SaveAs", new Variant(secondFile), new Variant(6));
                        wordDocuments.setProperty("Visible", new Variant(false));
                        Dispatch copiedDocument = Dispatch.call(documents, "Open", new Variant(secondFile)).toDispatch();
                        Dispatch.call(wordDocuments, "Run", new Variant("iMedXGrading.NewMacros.Grading"));
                        Dispatch oldDocuments = Dispatch.call(documents, "Open", new Variant(secondFile)).toDispatch();
                   }catch(Exception e)
                        e.printStackTrace();
         public static void main(String args[])
              WordEventTest wordTest = new WordEventTest();
    }

    Hi All,
    While doing the same I am facing an issue.
    Actually I am getting the exception
    com.jacob.com.ComFailException: A COM exception has been encountered:
    At Invoke of: Documents
    Description: An unknown COM error has occured.
         at com.jacob.com.Dispatch.invokev(Native Method)
         at com.jacob.com.Dispatch.get(Dispatch.java)
         at WordEventTest.<init>(WordEventTest.java:24)
         at WordEventTest.main(WordEventTest.java:47)
    where line 24 marked as"Dispatch documents = Dispatch.get(wordDocuments, "Documents").toDispatch();"
    and the line 47 is as"WordEventTest wordTest = new WordEventTest();"
    any suggestion to remove the exception.
    Thanks
    Kushagra

  • To format an Excel worksheet invoked by oracle form using DDE functions

    I'm exporting data from oracle form6 into excel sheet using DDE functions.
    Is there any DDE functions to format the excel sheet.

    Maybe you can use format commands through DDE (if the DDE server suports them) but I personally don't know.
    My approach is to record an excel macro which formats your sheet and then invoke the macro through DDE. You can fill cells with control numbers (like number of rows, number of cells) so you can make your macro even smarter by reading these numbers.

  • Indexing a membership directory in CS2

    I'm building a 256 page membership directory. There are 8 sections and a member may be listed in more than one section. These listings are being imported from 55 different Excel files.
    I want to create an index in the back that will list members in alphabetical order and show which pages they can be found.
    Example:
    Member........................................Page No.
    John Doe................................33, 108, 224
    Bob Smith..............................................55
    Jane Smith.....................................10, 178
    Is there an easy way to accomplish this?

    I've done this, though I wouldn't call it easy -- because in the text I had "John Doe," but in the index I actually needed "Doe, John" (and I suspect you will too).
    I wrote a macro using QuicKeys (these run slower than AppleScripts but have the advantage that they can watch and record keystrokes and therefore require less programming knowledge). I placed the cursor at the beginning of "John Doe," invoked the macro, and it repeated the keystrokes required to select and rearrange the two parts of the name, adding the comma, then creating an index marker, and then changing the name back to its original order in the text. I had a modified macro for names with a middle initial, and names with two parts ("Jane Van Shmoe") I did by hand since there weren't many. Each macro was assigned to an F-key, and I paged through the document paragraph by paragraph hitting appropriate F-keys until I was done.
    If anyone knows an easier way, I'd love to hear it :-)
    Rodney

  • __VA_ARGS__ does not expand correctly when no argument is given

    It seems that there is a bug in expansion of __VA_ARGS__ for variable argument macros.
    test1.c
    #define debug(arg1, ... ) myfunc(arg1, __VA_ARGS__)
    main() {
    int i;
    debug(i)
    debug(i,i);
    preprocessed output
    bash-3.00$ cc -E testvar1.c
    # 1 "testvar1.c"
    # 3
    main() {
    int i;
    "testvar1.c", line 7: warning: argument mismatch
    myfunc ( i , )
    ^^^
    myfunc ( i , i );
    #ident "acomp: Sun C 5.8 Patch 121015-02 2006/03/29"
    Notice the extra comma after the first argument in the first invocation.
    Is this a bug or am I using it wrong?

    Variable-argument macros are not officially part of C++. Sun C++ uses the C99 definition of variable-argument macros, which is likely to be adopted into the next C++ standard.
    The C99 Standard says in the "Constraints" part of section 6.10.3, "there shall be more arguments in the invocation than there are parameters in the macro definition (excluding the ...)."
    You can have a fixed argument in the macro definition
    #define debug(arg1, ...) <something>
    but you must have at least 2 arguments in each invocation.
    if you want to be able to invoke the macro with one argument, the macro definition cannot have any fixed arguments.
    The rule is different than for variable-argument functions. For variable-argument functions to work, the called function must have a first parameter of known type so that it can find the remainder of its arguments. There is no such problem for macros. Macro arguments do not have types, and the macro is completely expanded at compile time.
    Message was edited by:
    clamage45

  • Problem on OLE2 -- Excel

    Does anyone know how can I invoke a Macro in Excel from Form 6i or how can I format an existing excel worksheet form Form 6i?
    Please help ??

    And interestingly, the Excel Help indicates an additional key combo:  Control+Option+Enter
    I never knew about that one.  I've always used Command+Option+Enter, which seemed to make more sense to me because the Command key is in the same location as the Alt key on a PC keyboard so it's easier on my muscle memory.  No matter how much you think you know, one learns that RTM is ridiculously important with Microsoft products.

  • How to "fix" a hijacked keyboard shortcut?

    So there's a shortcut in Xcode I'm accustomed to using on my desktop: command-option up (it switches between header and implementation files while in the editor view). Thing is, when I try to use it on my MBP nothing happens. Other shortcut keys that use the command-option modifiers work fine and the up key certainly works.
    I switched over to another application (TextMate) that uses the same shortcut key and tried it out to no avail.
    I checked out the keyboard preference pane, where the shortcut wasn't assigned to anything -- I even tried entering it as an application specific shortcut for Xcode, but it still didn't work when I went back to try it out in the application.
    I also tried to get Keyboard Maestro to recognize and run a macro using the command-option up shortcut. While I could enter it as a trigger (interesting, as it shows the key combination can be detected by an application), using the shortcut wouldn't invoke the macro afterwards.
    I also installed KeyCue (a pretty neat application, though I doubt I'll keep it around) to have it tell me what the command-option up shortcut was currently "hooked up" to. Result: nada. It's not listed in the shortcut list.
    I've restarted and logged in after turning off startup applications and just run Xcode, and the shortcut key still doesn't work. After much hair-pulling, my conclusion is simply that something I cannot find has hijacked the key combination as a global shortcut of sorts, but how do I reset it?
    (Note that I did log in as a different user and managed to get the shortcut key to work then, but I couldn't find any processes running as the other user that I was running as me.)
    Thanks for any advice!

    If it works in a new admin user account, then there's corruption or a conflict i n the original, usually in /Preferences.  There are a couple of ways to resolve those. One is to copy the names of all plist files in /new user/Library/Preferences/, log back into the old account, remove the same one from that user's Preferences folder into a new folder on the Desktop, and log out and back in. Now try the shortcut. If it works, put a few of the moved ones back, log out and back in, and test again. Eventually, you'll find the one that's broken. Most likely one related to finder or system preferences.

  • Rounding sharp corners and minimum path size

    I'm in sign business. We use illustrator to prepare files to cut vinyl stickers (foil) on a cutting plotter.
    I suspect there is dedicated sign software that handles the problem below, but i'm stuck with illustrator to do this.
    There are 2 requirements for cutting vinyl:
    1. Corners can not be too sharp, or they will easily come loose.
    A combination of positive and negative offset effects with "round" selected, stacked on top of eachother, does the job.
    The negative offset does remove some parts however.
    2. Minimum area: lines can't bee to small. En general rule of thumb is no to go below 1mm.
    A function would be desired that, let's say, removes parts that are extremely small (for example 1 squared mm). Other small parts should be made somewhat thicker.
    So instead manually checking and preparing every file, i want illustrator to do this for me!
    Using effects, actions, scripts, plugins, whatever.
    See the following image:
    https://dl.dropboxusercontent.com/u/8911045/example.png
    (the insert image button doesn't seem to work with me at this moment, i'll try again later)

    No special filter that does all the magic, unfortunately
    It's not that you have to draw every path point-by-point. You can use commands like outline stroke, boolean operations, etc., etc. and get paths not fully optimized, but clean enough for vinyl cutting.
    And it's not that related portions of what you need to do frequently cannot be scripted. It's that scripts are very literal; very explicit. If you expect any kind of one-size-fits-all solution, you have to very specifically nail down the requirements that would work for all situations.
    You would be better off just carefully thinking through the steps that you find yourself doing repeatedly, and then consider the portions of them that can be at least semi-automated by recording a macro (so-called "Actions" in Illustrator).
    Most of the functions you need to automate are commands in the standard interface. That's the domain of macros, not scripts. And macros are much simpler to tweak on-the-fly than scripts.
    For example, although I can and do write my own scripts, I frequently use an Action to create "halos" around individual parts in exploded assembly illustrations that are imported DXFs. It basically :
    Runs the Simplify command
    Sets stroke attributes
    Outlines strokes
    Unions the resulting fills
    Names the selection
    Duplicates
    Releases compound path
    Unions
    Offsets path
    Changes fill to white
    Sends to back
    Groups
    That yields a single offset path around the drawing of the part which creates the "halo" that visually separates it from other parts in the assembly order which it partially overlaps. (Think of a stack of washers, nuts, grommets, seals, etc. closely spaced along a single thrust line.)
    That macro is run with a single click dozens of times in the course of processing a single drawing. The first step (Simplify) often needs different settings for DXFs from different sources. It's a simple thing to do a couple of tests and tweak the parameters of that one step in a given session.
    Scripts may feel more "exotic" but in Illustrator scripting is more for things that the standard interface can't do. (One should be able to invoke a macro with a script and vice-versa, and that, like everything else that falls into the Adobe feature request black hole, has been requested since AI first acquired scripting.)
    JET

  • How to invoke a winword macro from jsp or servlet ?

    Hi,
    I have managed to open an word document from servlet. But I also need to run a macro to highlight some keywords once the document is open. Someone has suggested using runtime.exec(cmd) in the forum. Anyone can provide more details? Some code examples will be great.
    thanks,
    Aaron

    You need to find a command-line argument that will run the macro and highlight this keyword. (Try it with the Command Prompt)
    If you can find such an argument it's very easy to run it with java:
    Process process = Runtime.getRuntime().exec("<insert argument here>");

  • Making Discoverer invoke an excel sheet that uses macros

    Hi All,
    I have a sql statement which is to be implemented in discoverer:
    (select ........where user_entered_date='YYYY/MM/DD' )
    UNION
    (select ........where user_entered_date='YYYY/MM/DD'
    AND (select ........where user_entered_date='YYYY/MM/DD' ))
    Problem:
    a) There are nested select statements which require parameters to be entered by the user.
    b) How would I implement the union operator in the above scenario?
    I would really appreciate it if someone could give a work around.
    Regards,
    Nav

    This is duplicate of
    Using union operator in discoverer

  • Error while invoking BPEL Process through HTML Page

    Hi ,
    I have created a HTML Page to invoke BPEL synchronous process .
    HTML Page contains :
    <html>
    <head>
    <title>Untitled Document</title>
    <h1>Add Macro Task Input Form </h1>
    <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
    </head>
    <body bgcolor="cyan" text="#000000">
    <form name="form1" method="get" action="/httpbinding/default/AddMacroSync/process">
    EmployeeId :
    <input type="text" name="EmployeeId" ><br>
    <br>
    TaskName :
    <input type="text" name="MacroTaskName" >
    <button
    id="identifier"
    class="dialog"
    label="OK"
    accesskey="t"/>
    <br>
    </form>
    </body>
    </html>
    I am able to invoke my BPEL Process named as " AddMacroSync" .
    It also creating instance for this BPEL Process .
    But when I go BPEL Console and check my instance , it is always faulted .
    I am providing two inputs : Employee Id and Taskname through HTML Page .
    These inputs got assigned to their respective output variables .
    But when I click on audit link ..it shows error while invoking the Process .
    It Show error :
    when invoking endpointAddress 'http://152.69.248.232:8990/AddMacroTask-AddMacroTask-context-root/AddMacroTaskWebService', [java.lang.NumberFormatException]
    But this end point address is working when I put this address in URL .
    Please someone help me how to solve this problem .
    Thanks
    Prashant Dwivedi
    Message was edited by:
    Prashant Dwivedi

    Hi Clemens ,
    I changed My HTML ...Now it looks like as :
    <html>
    <head>
    <title>Untitled Document</title>
    <meta http-equiv="Content-Type" content="application/x-www-form-urlencoded; charset=iso-8859-1">
    </head>
    <body bgcolor="#FFFFFF" text="#000000">
    <form name="form1" method="post" action="/httpbinding/default/AddMacroSync">
    <input type="hidden" name="msg_part" value="payload">
    <input type="hidden" name="namespace" value="http://xmlns.oracle.com/AddMacroSync">
    EmployeeId:
    <input type="text" name="EmployeeId">
    TaskName :
    <input type="text" name="TaskName">
    <input type="submit" name="Submit" value="Submit">
    </form>
    </body>
    </html>
    After this when I try to incoke my BPEL Process through this HTML :
    I am gettign following error :
    500 Internal Server Error
    java.lang.IllegalStateException: IOException: Premature end of POST data
         at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].server.http.EvermindHttpServletRequest.getParameter(EvermindHttpServletRequest.java:2452)
         at com.collaxa.cube.ws.http.HttpBindingServlet.checkSecurity(HttpBindingServlet.java:281)
         at com.collaxa.cube.ws.http.HttpBindingServlet.doPost(HttpBindingServlet.java:85)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:824)
         at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:330)
         at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:830)
         at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].server.http.HttpRequestHandler.run(HttpRequestHandler.java:285)
         at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].server.http.HttpRequestHandler.run(HttpRequestHandler.java:126)
         at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:192)
         at java.lang.Thread.run(Thread.java:534)

  • Problem in invoking BPEL Process through JSP

    Hi ,
    I have created a simple BPEL asynchronous process called as " BPELProcessAddMacroTask" .
    JSP File looks like :
    <%@page import="com.oracle.bpel.client.Locator" %>
    <%@page import="com.oracle.bpel.client.NormalizedMessage" %>
    <%@page import="com.oracle.bpel.client.dispatch.IDeliveryService" %>
    <html>
    <head>
    <title>Invoke AddMacro Task</title>
    </head>
    <body>
    <%
    String EmployeeId = request.getParameter("EmployeeId");
    if (EmployeeId == null)
    %>
    <!-- Construct HTML form here -->
    <h3>Invoke AddMacro Task BPEL Application</h3>
    <h4>Add Macro Task Form</h4>
    <form>
    <table>
    <tr>
    <td>EmployeeId:</td>
    <td><input type="text" name="EmployeeId" value="43"></td>
    </tr>
    <tr>
    <td>TaskName</td>
    <td><input type="text" name="MacroTaskName" value="DIMPLETTE_EXAMPLE"></td>
    </tr>
    <input type="submit" value="Send Input">
    </form>
    <%
    else
    // 1. Get form fields
    //String EmployeeId = request.getParameter("EmployeeId");
    String MacroTaskName = request.getParameter("MacroTaskName");
    // 2. Create loan application XML document
    String xml = "<AddMacroTask xmlns=\"http://xmlns.oracle.com/BPELProcessAddMacroTask\">"
    + "<EmployeeId>" + EmployeeId + "</EmployeeId>"
    + "<MacroTaskName>" + MacroTaskName + "</MacroTaskName>" ;
    // 3. Initiate the BPEL process here
    Locator locator = new Locator("default","bpel");
    IDeliveryService deliveryService = (IDeliveryService)
    locator.lookupService(IDeliveryService.SERVICE_NAME );
    // Construct a normalized message and send to Oracle BPEL Process Manager
    NormalizedMessage nm = new NormalizedMessage();
    nm.addPart("payload", xml);
    // Initiate the BPEL process
    deliveryService.post("BPELProcessAddMacroTask", "initiate", nm);
    %>
    <p>BPEL Process <code>BPELProcessAddMacroTask</code> initiated
    with the input containing EmployeeId=<%= EmployeeId %></p>
    <p>Please refer to the
    BPEL Console
    to see the status of the initiated AddMacroTask BPEL Process.</p>
    <%
    %>
    <body>
    </html>
    I am not finding my " addmacrotask.jsp" in home.jsp even after running "Obant" command .
    I am getting following error when try to invoke the web service :
    My UI Path is : http://localhost:9700/InvokingProcessesUI/addmacrotask.jsp
    I am getting this error :
    Exception Message:
    [java.lang.Exception] Invalid Login. Domain not specified.
    Exception Trace:
    java.lang.Exception: Invalid Login. Domain not specified. at com.collaxa.cube.fe.util.ServletUtils.getLocator(ServletUtils.java:80) at displayInstance.jspService(_displayInstance.java:88) at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:56) at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:350) at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:509) at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:413) at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:65) at com.collaxa.cube.fe.DomainFilter.doFilter(DomainFilter.java:103) at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:663) at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:330) at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:830) at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:285) at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:126) at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:186) at java.lang.Thread.run(Thread.java:534)
    Please someone help me out with this problem .
    Thanks
    Deepika

    Hi ,
    I have set it to this in server.xml :
    <application name="orabpel" path="../../../BC4J/redist/bc4j.ear" auto-start="true" />
    <application name="BPELProcessAddMacroTask" path="D:\BPEL\integration\orabpel\system\appserver\oc4j\j2ee\home\applications\InvokingProcessesUI.ear" parent="orabpel" auto-start="true" />
    </application-server>
    But still not able to create instance . Same problem persists.
    Thanks
    Deepika

  • Error in invoking target 'mkldflags ntcontab.o nnfgt.o' of makefile

    Now i am try to install 64 bit 11g r2 to 64bit Redhat5,but always error when go to 68%,tell me "
    Error in invoking target 'mkldflags ntcontab.o nnfgt.o' of makefile '/u4/ORA11/app/ora11/product/11.2.0/dbhome_1/network/lib/ins_net_client.mk'. See '/u4/BI/BIDB/oraInventory/logs/installActions2009-10-15_03-58-46PM.log' for details
    Then i check the log,find there are lot's of error:
    INFO: Start output from spawned process:
    INFO: ----------------------------------
    INFO:
    INFO: rm -f ntcontab.*
    INFO: (if [ "compile" = "compile" ] ; then \
    /u4/ORA11/app/ora11/product/11.2.0/dbhome_1/bin/gennttab > ntcontab.c ;\
    gcc -m64 -c ntcontab.c ;\
    rm -f /u4/ORA11/app/ora11/product/11.2.0/dbhome_1/lib/ntcontab.o ;\
    mv ntcontab.o /u4/ORA11/app/ora11/product/11.2.0/dbhome_1/lib/ ;\
    /usr/bin/ar rv /u4/ORA11/app/ora11/product/11.2.0/dbhome_1/lib/libn11.a /u4/ORA11/app/ora11/product/11.2.0/dbhome_1/lib/ntcontab.o ; fi)
    INFO: In file included from /usr/include/features.h:329,
    from /usr/include/sys/types.h:27,
    from ntcontab.c:7:
    /usr/include/sys/cdefs.h:313:27: bits/wordsize.h: No such file or directory
    INFO: In file included from /usr/include/features.h:352,
    from /usr/include/sys/types.h:27,
    from ntcontab.c:7:
    /usr/include/gnu/stubs.h:11:3: #error "unexpected value for __WORDSIZE macro"
    In file included from /usr/include/sys/types.h:31,
    from ntcontab.c:7:
    /usr/include/bits/types.h:132:3: #error
    INFO: In file included from /usr/include/sys/types.h:31,
    from ntcontab.c:7:
    /usr/include/bits/types.h:137: error: syntax error before "__UQUAD_TYPE"
    /usr/include/bits/types.h:138: error: syntax error before "unsigned"
    /usr/include/bits/types.h:139: error: syntax error before "unsigned"
    /usr/include/bits/types.h:140: error: syntax error before "unsigned"
    /usr/include/bits/types.h:141: error: syntax error before "__UQUAD_TYPE"
    /usr/include/bits/types.h:142: error: syntax error before "unsigned"
    /us
    INFO: r/include/bits/types.h:143: error: syntax error before "__UWORD_TYPE"
    /usr/include/bits/types.h:144: error: syntax error before "long"
    /usr/include/bits/types.h:145: error: syntax error before "__SQUAD_TYPE"
    /usr/include/bits/types.h:146: error: syntax error before "int"
    /usr/include/bits/types.h:147: error: syntax error before "struct"
    /usr/include/bits/types.h:148: error: syntax error before "long"
    /usr/include/bits/types.h:149: error: syntax error before "unsigned"
    /usr/include/bits/types.h:150: error: s
    INFO: yntax error before "__UQUAD_TYPE"
    /usr/include/bits/types.h:151: error: syntax error before "unsigned"
    /usr/include/bits/types.h:152: error: syntax error before "long"
    /usr/include/bits/types.h:153: error: syntax error before "unsigned"
    /usr/include/bits/types.h:154: error: syntax error before "long"
    /usr/include/bits/types.h:156: error: syntax error before "int"
    /usr/include/bits/types.h:157: error: syntax error before "long"
    /usr/include/bits/types.h:158: error: syntax error before "int"
    /usr/include/bits
    INFO: /types.h:161: error: syntax error before "int"
    /usr/include/bits/types.h:164: error: syntax error before "void"
    /usr/include/bits/types.h:167: error: syntax error before "long"
    /usr/include/bits/types.h:172: error: syntax error before "long"
    /usr/include/bits/types.h:173: error: syntax error before "__SQUAD_TYPE"
    /usr/include/bits/types.h:176: error: syntax error before "unsigned"
    /usr/include/bits/types.h:177: error: syntax error before "__UQUAD_TYPE"
    /usr/include/bits/types.h:180: error: syntax error befo
    INFO: re "unsigned"
    /usr/include/bits/types.h:181: error: syntax error before "__UQUAD_TYPE"
    /usr/include/bits/types.h:183: error: syntax error before "__SWORD_TYPE"
    /usr/include/bits/types.h:187: error: syntax error before "__loff_t"
    /usr/include/bits/types.h:192: error: syntax error before "__SWORD_TYPE"
    /usr/include/bits/types.h:195: error: syntax error before "unsigned"
    In file included from ntcontab.c:7:
    /usr/include/sys/types.h:41: error: syntax error before "fsid_t"
    /usr/include/sys/types.h:46: error: synt
    INFO: ax error before "loff_t"
    /usr/include/sys/types.h:50: error: syntax error before "ino_t"
    /usr/include/sys/types.h:62: error: syntax error before "dev_t"
    /usr/include/sys/types.h:67: error: syntax error before "gid_t"
    /usr/include/sys/types.h:72: error: syntax error before "mode_t"
    /usr/include/sys/types.h:77: error: syntax error before "nlink_t"
    /usr/include/sys/types.h:82: error: syntax error before "uid_t"
    /usr/include/sys/types.h:88: error: syntax error before "off_t"
    /usr/include/sys/types.h:100: error:
    INFO: syntax error before "pid_t"
    /usr/include/sys/types.h:105: error: syntax error before "id_t"
    /usr/include/sys/types.h:110: error: syntax error before "ssize_t"
    /usr/include/sys/types.h:116: error: syntax error before "daddr_t"
    /usr/include/sys/types.h:123: error: syntax error before "key_t"
    In file included from /usr/include/sys/types.h:133,
    from ntcontab.c:7:
    /usr/include/time.h:77: error: syntax error before "time_t"
    /usr/include/time.h:93: error: syntax error before "clockid_t"
    /usr/incl
    INFO: ude/time.h:105: error: syntax error before "timer_t"
    In file included from /usr/include/sys/types.h:217,
    from ntcontab.c:7:
    /usr/include/endian.h:37:25: bits/endian.h: No such file or directory
    In file included from /usr/include/sys/types.h:220,
    from ntcontab.c:7:
    /usr/include/sys/select.h:31:25: bits/select.h: No such file or directory
    INFO: In file included from /usr/include/sys/select.h:44,
    from /usr/include/sys/types.h:220,
    from ntcontab.c:7:
    /usr/include/time.h:123: error: syntax error before "__time_t"
    /usr/include/time.h:125: error: syntax error before '}' token
    INFO: In file included from /usr/include/sys/select.h:46,
    from /usr/include/sys/types.h:220,
    from ntcontab.c:7:
    /usr/include/bits/time.h:71: error: syntax error before "__time_t"
    INFO: In file included from /usr/include/sys/types.h:220,
    from ntcontab.c:7:
    /usr/include/sys/select.h:49: error: syntax error before "suseconds_t"
    INFO: In file included from ntcontab.c:7:
    /usr/include/sys/types.h:235: error: syntax error before "blkcnt_t"
    INFO: /usr/include/sys/types.h:239: error: syntax error before "fsblkcnt_t"
    /usr/include/sys/types.h:243: error: syntax error before "fsfilcnt_t"
    In file included from ntcontab.c:7:
    /usr/include/sys/types.h:270:32: bits/pthreadtypes.h: No such file or directory
    INFO: mv:
    INFO: cannot stat `ntcontab.o'
    INFO: : No such file or directory
    INFO:
    INFO: /usr/bin/ar: /u4/ORA11/app/ora11/product/11.2.0/dbhome_1/lib/ntcontab.o: No such file or directory
    Anyone can tell me why?
    Best Regards!
    Thanks very much!

    # rpm -q binutils
    binutils-2.17.50.0.6-9.el5
    # rpm -q compat-libstdc++-33
    compat-libstdc++-33-3.2.3-61
    compat-libstdc++-33-3.2.3-61
    # rpm -q elfutils-libelf
    elfutils-libelf-0.137-3.el5
    elfutils-libelf-0.137-3.el5
    # rpm -q gcc
    gcc-4.1.2-44.el5
    # rpm -q gcc-c++
    gcc-c++-4.1.2-44.el5
    # rpm -q glibc
    glibc-2.5-34
    glibc-2.5-34
    # rpm -q glibc-common
    glibc-common-2.5-34
    # rpm -q glibc-devel
    glibc-devel-2.5-34
    glibc-devel-2.5-34
    # rpm -q glibc-headers
    glibc-headers-2.5-34
    # rpm -q ksh
    ksh-20080202-2.el5
    # rpm -q libaio
    libaio-0.3.106-3.2
    libaio-0.3.106-3.2
    # rpm -q libaio-devel
    libaio-devel-0.3.106-3.2
    libaio-devel-0.3.106-3.2
    # rpm -q libgcc
    libgcc-4.1.2-44.el5
    libgcc-4.1.2-44.el5
    # rpm -q libstdc++
    libstdc++-4.1.2-44.el5
    libstdc++-4.1.2-44.el5
    # rpm -q libstdc++-devel
    libstdc++-devel-4.1.2-44.el5
    # rpm -q make
    make-3.81-3.el5
    make-3.81-3.el5
    # rpm -q sysstat
    sysstat-7.0.2-3.el5
    # rpm -q unixODBC
    unixODBC-2.2.11-7.1
    unixODBC-2.2.11-7.1
    # rpm -q unixODBC-devel
    unixODBC-devel-2.2.11-7.1
    unixODBC-devel-2.2.11-7.1

  • Digital Signatures macro

    I was using Macro Express Pro to do the digital signatures in Acrobat 9. (It takes too long without a macro when signing multiple docs.)
    I had it working great in Acrobat 9, but Acrobat X changed that. (almost have it working, but one last glitch)
    Does anyone have a solution to speed up this process?

    I am signing documents using digital signatures. Using Macro Express Pro, I am using two macros.
    Macro1 allows me to place the signature field using these keystrokes...
    Alt+V+T+S, F6, down, down, down, down, down, down, down, Enter
    At this point I need to click and drag a rectangle to place digital signature field with the mouse. I ended the Macro1 here to allow user input for mouse move. (do not know if Macro Express can pause for user input )
    After using the mouse to place the field on the document, the "Sign Document" dialog box appears to enter the password.
    With the "Sign Document" dialog box open, I now invoke Macro2 to enter my password and sign and save. Macro2 does these keystrokes...
    <TAB><TAB>password<TAB><TAB><TAB><TAB><ENTER><TAB><TAB><ENTER>y
    Macro2 tabs thru the "Sign Document" dialog box to the password field, types my password, tabs to the SIGN button and clicks (enter) the SIGN button.
    The SIGN button brings up the "Save As" dialog box and Macro2 tabs to the SAVE button and click (enter) it. Because it is replacing a document, another dialog box asks to confirm.
    I am no Macro Express Pro expert, but the Macro2 has a glitch on the "Save As" box.
    Macro2 gets to the "Save As" dialog box and has a problem. I think the problem is with the macro, not Acrobat X, but like I said it was working in Acrobat 9.
    I have never used javascript, but am williing to take a look.
    Thanks,
    Bill

  • Word macro from Forms

    How can I start a macro in Word from Forms with the DDE-package? For Excel I use this command ('update' is the macro-name):
    DDE.Execute(ConvID, [run "'test.xls!update"]', 10000);
    Does anybody know the right approach for a Word macro?
    Thanks.
    null

    You should use OLE2 instead of DDE.
    Use this procedure if you're using Word version >= 97:
    PROCEDURE RUN_MACRO(cMacroName VARCHAR2) IS
    objWordApp OLE2.OBJ_TYPE := OLE2.CREATE_OBJ('WORD.APPLICATION');
    objArgList OLE2.LIST_TYPE := OLE2.CREATE_ARGLIST;
    BEGIN
    OLE2.ADD_ARG(objArgList,cMacroName);
    OLE2.INVOKE(objWordApp,'Run',objArgList);
    OLE2.DESTROY_ARGLIST(objArgList);
    OLE2.INVOKE(objWordApp,'QUIT');
    OLE2.RELEASE_OBJ(objWordApp);
    END;
    you can contact me for further explanation.
    Carlos

Maybe you are looking for