Execute x secs. & close VI from VB 5.0

Hi all,
I want to run a VI script from a VB program, and close it after x secs.
(where x depends from the user input in the VB exe). I tried it with the
following code (according to an example found in the doc):
vi.FPWinOpen = False 'Close front panel
Set vi = Nothing
lvapp.Quit
Set lvapp = Nothing
but ... the VI doesn't close.
What's wrong ? (I have no knowledge about LabView, and not a lot in VB too
.... ¦=)
Any help well appreciated !
tia, Markus

Hi again,
since I got no answer (and my posting is moving slowly down in the group
- is there a special group for this kind of problems ?
- is the question simply too stupid ?
- or just nobody ever did something like call LabView from VB ?
Maybe it's much easier to include the functions directly via some DLL's (I
think I saw somewhere an example ...) ?
I really appreciates every hint, or some other source indications ...
Thanks again, Markus
"Markus Grossrieder"
wrote in message news:[email protected]..
> I forgot to mention that if the VI is corrupt/not working (missing sub-VI
> o.s.), then the code works ...
> Hope somebody can help ?
>
> bye, Markus
>
> "Markus Grossrieder"
[email protected]>
> wrote in message news:[email protected]..
> > Hi all,
> >
> > I want to run a VI script from a VB program, and close it after x secs.
> > (where x depends from the user input in the VB exe). I tried it with the
> > following code (according to an example found in the doc):
> >
> > vi.FPWinOpen = False 'Close front panel
> > Set vi = Nothing
> > lvapp.Quit
> > Set lvapp = Nothing
> >
> > but ... the VI doesn't close.
> > What's wrong ? (I have no knowledge about LabView, and not a lot in VB
too
> > ... ¦=)
> > Any help well appreciated !
> >
> > tia, Markus
> >
> >
>
>

Similar Messages

  • TestStand close notification from a DLL

    How can I get a close notification from TestStand to my loaded DLL? I would like to have a message/notification from TestStand that it is in progress of shutdown, before it does FreeLibrary() on my DLL. This is to ensure that I always do a clean exit.
    Alternatively; can I have TestStand call a function inside my DLL before doing FreeLibrary?

    You can use the dll entry point DLL_PROCESS_DETACH in your DLL which is executed each time teststand unloads your DLL. See also http://msdn2.microsoft.com/en-us/library/ms682583.aspx
    In Teststand you can define when your DLL should be unloaded in the Step Properties of your C/C++ Prototype Adapter -> Run Options -> Unload Options. The Dll is also unloaded if Teststand shuts down.
    If you use CVI you can insert the code needed with:
    Edit->Insert Construct ->DLLMain
    This is what you get:
    #include <cvirte.h>
    int __stdcall DllMain (HINSTANCE hinstDLL, DWORD fdwReason, LPVOID lpvReserved)
     switch (fdwReason)
      case DLL_PROCESS_ATTACH:
       if (InitCVIRTE (hinstDLL, 0, 0) == 0)
       return 0;   /* out of memory */
       break;
      case DLL_PROCESS_DETACH:
    //here you can enter your clean up code: FreeLibrary(..)
       CloseCVIRTE ();
       break;
     return 1;

  • Error when executing interface which load data from csv file which has 320

    Hi,
    Can some one provide a resolution for below error:
    I have created an interface which load data from csv file which has 320 columns, to a Synonym which has 320 columns in it
    using LKM File to SQL, IKM Sql Control Append.
    I am getting below error when executing the interface :
    com.sunopsis.tools.core.exception.SnpsSimpleMessageException: ODI-17517: Error during task interpretation. Task: 6 java.lang.Exception: BeanShell script error: Sourced file: inline evaluation of: ``out.print("The application script threw an exception: java.lang.StringIndexOutOf . . . '' Token Parsing Error: Lexical error at line 2, column 42. Encountered: "\\" (92), after : "": <at unknown location> BSF info: Create external table at line: 0 column: columnNo
    at com.sunopsis.dwg.codeinterpretor.SnpCodeInterpretor.transform(SnpCodeInterpretor.java:485)
         at com.sunopsis.dwg.dbobj.SnpSessStep.createTaskLogs(SnpSessStep.java:711)
         at com.sunopsis.dwg.dbobj.SnpSessStep.treatSessStep(SnpSessStep.java:461)
         at com.sunopsis.dwg.dbobj.SnpSession.treatSession(SnpSession.java:2093)
         at oracle.odi.runtime.agent.processor.impl.StartSessRequestProcessor$2.doAction(StartSessRequestProcessor.java:366)
         at oracle.odi.core.persistence.dwgobject.DwgObjectTemplate.execute(DwgObjectTemplate.java:216)
         at oracle.odi.runtime.agent.processor.impl.StartSessRequestProcessor.doProcessStartSessTask(StartSessRequestProcessor.java:300)
         at oracle.odi.runtime.agent.processor.impl.StartSessRequestProcessor.access$0(StartSessRequestProcessor.java:292)
         at oracle.odi.runtime.agent.processor.impl.StartSessRequestProcessor$StartSessTask.doExecute(StartSessRequestProcessor.java:855)
         at oracle.odi.runtime.agent.processor.task.AgentTask.execute(AgentTask.java:126)
         at oracle.odi.runtime.agent.support.DefaultAgentTaskExecutor$2.run(DefaultAgentTaskExecutor.java:82)
         at java.lang.Thread.run(Thread.java:662)
    Caused by: org.apache.bsf.BSFException: BeanShell script error: Sourced file: inline evaluation of: ``out.print("The application script threw an exception: java.lang.StringIndexOutOf . . . '' Token Parsing Error: Lexical error at line 2, column 42. Encountered: "\\" (92), after : "": <at unknown location>
    BSF info: Create external table at line: 0 column: columnNo
         at bsh.util.BeanShellBSFEngine.eval(Unknown Source)
         at bsh.util.BeanShellBSFEngine.exec(Unknown Source)
         at com.sunopsis.dwg.codeinterpretor.SnpCodeInterpretor.transform(SnpCodeInterpretor.java:471)
         ... 11 more
    Text: The application script threw an exception: java.lang.StringIndexOutOfBoundsException: String index out of range: 2 BSF info: Create external table at line: 0 column: columnNo
    out.print("createTblCmd = r\"\"\"\ncreate table ") ;
    out.print(odiRef.getTable("L", "COLL_NAME", "W")) ;
    out.print("<?=(extTabColFormat.getUseView())?\"_ET\":\"\"?>\n(\n\t") ;
    out.print(odiRef.getColList("", "[CX_COL_NAME]\\t"+
              "<?=extTabColFormat.getExtTabDataType(\\u0022[CX_COL_NAME]\\u0022,\\u0022[SOURCE_DT]\\u0022, \\u0022[DEST_WRI_DT]\\u0022, \\u0022[COL_FORMAT]\\u0022, \\u0022[BYTES]\\u0022, \\u0022[LONGC]\\u0022, \\u0022[SCALE]\\u0022)?>"
         , ",\\n\\t", "","")) ;
    out.print("\n)\nORGANIZATION EXTERNAL\n(\n\tTYPE ORACLE_LOADER\n\tDEFAULT DIRECTORY dat_dir\n\tACCESS PARAMETERS\n\t(\n\t\tRECORDS DELIMITED BY 0x'") ;
    out.print(odiRef.getSrcTablesList("[XFILE_SEP_ROW]","")) ;
    out.print("'\n\t\t") ;
    out.print(odiRef.getUserExit("EXT_CHARACTERSET")) ;
    out.print("\n\t\t") ;
    out.print(odiRef.getUserExit("EXT_STRING_SIZE")) ;
    out.print("\n\t\tBADFILE\t\t'") ;
    out.print(odiRef.getSrcTablesList("", "[RES_NAME]", "", "")) ;
    out.print("_%a.bad'\n\t\tLOGFILE\t\t'") ;
    out.print(odiRef.getSrcTablesList("", "[RES_NAME]", "", "")) ;
    out.print("_%a.log'\n\t\tDISCARDFILE\t'") ;
    out.print(odiRef.getSrcTablesList("", "[RES_NAME]", "", "")) ;
    out.print("_%a.dsc'\n\t\tSKIP \t\t") ;
    out.print(odiRef.getSrcTablesList("", "[FILE_FIRST_ROW]", "", "")) ;
    out.print("\n") ;
    if (odiRef.getSrcTablesList("", "[FILE_FORMAT]", "", "").equals("F")) {out.print("\n\t\tFIELDS\n\t\t") ;
    out.print(odiRef.getUserExit("EXT_MISSING_FIELD")) ;
    out.print("\n\t\t(\n\t\t\t") ;
    out.print(odiRef.getColList("", "[CX_COL_NAME]\\tPOSITION([FILE_POS]:[FILE_END_POS])\\t"+
                        "<?=extTabColFormat.getExtTabFormat(\\u0022[CX_COL_NAME]\\u0022,\\u0022[SOURCE_DT]\\u0022, \\u0022DEST_WRI_DT\\u0022, \\u0022[COL_FORMAT]\\u0022, \\u0022[BYTES]\\u0022, \\u0022[LONGC]\\u0022, \\u0022[SCALE]\\u0022)?>"
                        , ",\\n\\t\\t\\t", "","")) ;
    out.print("\t\t\n\t\t)\n\t)\n") ;
    } else {out.print("\n\t\tFIELDS TERMINATED BY x'") ;
    out.print(odiRef.getSrcTablesList("", "[XFILE_SEP_FIELD]", "", "")) ;
    out.print("'\n\t\t") ;
    if(odiRef.getSrcTablesList("", "[FILE_ENC_FIELD]", "", "").equals("")){out.print("\n\t\t") ;
    } else {out.print("OPTIONALLY ENCLOSED BY '") ;
    out.print(odiRef.getSrcTablesList("", "[FILE_ENC_FIELD]", "", "").substring(0,1)) ;
    out.print("' AND '") ;
    out.print(odiRef.getSrcTablesList("", "[FILE_ENC_FIELD]", "", "").substring(1,2)) ;
    out.print("' ") ;
    }out.print("\n\t\t") ;
    out.print(odiRef.getUserExit("EXT_MISSING_FIELD")) ;
    out.print("\n\t\t(\n\t\t\t") ;
    out.print(odiRef.getColList("", "[CX_COL_NAME]\\t"+
                        "<?=extTabColFormat.getExtTabFormat(\\u0022[CX_COL_NAME]\\u0022,\\u0022[SOURCE_DT]\\u0022, \\u0022DEST_WRI_DT\\u0022, \\u0022[COL_FORMAT]\\u0022, \\u0022[BYTES]\\u0022, \\u0022[LONGC]\\u0022, \\u0022[SCALE]\\u0022)?>"
                        , ",\\n\\t\\t\\t", "","")) ;
    out.print("\t\t\n\t\t)\n\t)\n") ;
    }out.print("\tLOCATION (") ;
    out.print(odiRef.getSrcTablesList("", "'[RES_NAME]'", "", "")) ;
    out.print(")\n)\n") ;
    out.print(odiRef.getUserExit("EXT_PARALLEL")) ;
    out.print("\nREJECT LIMIT ") ;
    out.print(odiRef.getUserExit("EXT_REJECT_LIMIT")) ;
    out.print("\n\"\"\"\n \n# Create the statement\nmyStmt = myCon.createStatement()\n \n# Execute the trigger creation\nmyStmt.execute(createTblCmd)\n \nmyStmt.close()\nmyStmt = None\n \n# Commit, just in case\nmyCon.commit()") ;
    ****** ORIGINAL TEXT ******
    createTblCmd = r"""
    create table <%=odiRef.getTable("L", "COLL_NAME", "W")%><?=(extTabColFormat.getUseView())?"_ET":""?>
         <%=odiRef.getColList("", "[CX_COL_NAME]\t"+
              "<?=extTabColFormat.getExtTabDataType(\u0022[CX_COL_NAME]\u0022,\u0022[SOURCE_DT]\u0022, \u0022[DEST_WRI_DT]\u0022, \u0022[COL_FORMAT]\u0022, \u0022[BYTES]\u0022, \u0022[LONGC]\u0022, \u0022[SCALE]\u0022)?>"
         , ",\n\t", "","")%>
    ORGANIZATION EXTERNAL
         TYPE ORACLE_LOADER
         DEFAULT DIRECTORY dat_dir
         ACCESS PARAMETERS
              RECORDS DELIMITED BY 0x'<%=odiRef.getSrcTablesList("[XFILE_SEP_ROW]","")%>'
              <%=odiRef.getUserExit("EXT_CHARACTERSET")%>
              <%=odiRef.getUserExit("EXT_STRING_SIZE")%>
              BADFILE          '<%=odiRef.getSrcTablesList("", "[RES_NAME]", "", "")%>_%a.bad'
              LOGFILE          '<%=odiRef.getSrcTablesList("", "[RES_NAME]", "", "")%>_%a.log'
              DISCARDFILE     '<%=odiRef.getSrcTablesList("", "[RES_NAME]", "", "")%>_%a.dsc'
              SKIP           <%=odiRef.getSrcTablesList("", "[FILE_FIRST_ROW]", "", "")%>
    <% if (odiRef.getSrcTablesList("", "[FILE_FORMAT]", "", "").equals("F")) {%>
              FIELDS
              <%=odiRef.getUserExit("EXT_MISSING_FIELD")%>
                   <%=odiRef.getColList("", "[CX_COL_NAME]\tPOSITION([FILE_POS]:[FILE_END_POS])\t"+
                        "<?=extTabColFormat.getExtTabFormat(\u0022[CX_COL_NAME]\u0022,\u0022[SOURCE_DT]\u0022, \u0022DEST_WRI_DT\u0022, \u0022[COL_FORMAT]\u0022, \u0022[BYTES]\u0022, \u0022[LONGC]\u0022, \u0022[SCALE]\u0022)?>"
                        , ",\n\t\t\t", "","")%>          
    <%} else {%>
              FIELDS TERMINATED BY x'<%=odiRef.getSrcTablesList("", "[XFILE_SEP_FIELD]", "", "")%>'
              <% if(odiRef.getSrcTablesList("", "[FILE_ENC_FIELD]", "", "").equals("")){%>
              <%} else {%>OPTIONALLY ENCLOSED BY '<%=odiRef.getSrcTablesList("", "[FILE_ENC_FIELD]", "", "").substring(0,1)%>' AND '<%=odiRef.getSrcTablesList("", "[FILE_ENC_FIELD]", "", "").substring(1,2)%>' <%}%>
              <%=odiRef.getUserExit("EXT_MISSING_FIELD")%>
                   <%=odiRef.getColList("", "[CX_COL_NAME]\t"+
                        "<?=extTabColFormat.getExtTabFormat(\u0022[CX_COL_NAME]\u0022,\u0022[SOURCE_DT]\u0022, \u0022DEST_WRI_DT\u0022, \u0022[COL_FORMAT]\u0022, \u0022[BYTES]\u0022, \u0022[LONGC]\u0022, \u0022[SCALE]\u0022)?>"
                        , ",\n\t\t\t", "","")%>          
    <%}%>     LOCATION (<%=odiRef.getSrcTablesList("", "'[RES_NAME]'", "", "")%>)
    <%=odiRef.getUserExit("EXT_PARALLEL")%>
    REJECT LIMIT <%=odiRef.getUserExit("EXT_REJECT_LIMIT")%>
    # Create the statement
    myStmt = myCon.createStatement()
    # Execute the trigger creation
    myStmt.execute(createTblCmd)
    myStmt.close()
    myStmt = None
    # Commit, just in case
    myCon.commit().
         at com.sunopsis.dwg.dbobj.SnpSessStep.createTaskLogs(SnpSessStep.java:738)
         at com.sunopsis.dwg.dbobj.SnpSessStep.treatSessStep(SnpSessStep.java:461)
         at com.sunopsis.dwg.dbobj.SnpSession.treatSession(SnpSession.java:2093)
         at oracle.odi.runtime.agent.processor.impl.StartSessRequestProcessor$2.doAction(StartSessRequestProcessor.java:366)
         at oracle.odi.core.persistence.dwgobject.DwgObjectTemplate.execute(DwgObjectTemplate.java:216)
         at oracle.odi.runtime.agent.processor.impl.StartSessRequestProcessor.doProcessStartSessTask(StartSessRequestProcessor.java:300)
         at oracle.odi.runtime.agent.processor.impl.StartSessRequestProcessor.access$0(StartSessRequestProcessor.java:292)
         at oracle.odi.runtime.agent.processor.impl.StartSessRequestProcessor$StartSessTask.doExecute(StartSessRequestProcessor.java:855)
         at oracle.odi.runtime.agent.processor.task.AgentTask.execute(AgentTask.java:126)
         at oracle.odi.runtime.agent.support.DefaultAgentTaskExecutor$2.run(DefaultAgentTaskExecutor.java:82)
         at java.lang.Thread.run(Thread.java:662)

    The issue is encountered because the text delimiter used in the source file did not consist of a pair of delimiters.
    Please see support Note [ID 1469977.1] for details.

  • I downloaded the new Firefox but it constantly freezes, doing absolutely nothing, and I can't even close it from my Mac dock bar, I have to turn off my laptop using the power button as Firefox won't let me shut down. What can I do?

    Hi
    I recently downloaded the new Firefox (Firefox 4, I think - you can tell I'm very tech savvy!) and it constantly freezes, I can't do anything with it at all - I can't even close it from the icon in my Mac dock bar.
    I have tried restarting my computer - though I have to turn it off by using the power button as as Firefox is open and totally unresponsive it won't let me shut down. About a minute after re-starting Firefox, restoring my tabs or starting afresh, it freezes again.
    This is obviously very annoying and I'm not sure what I can do about it. Firefox is my preferred browser, and I'd really like to be able to use it again!

    This is not a reply. I just want to elaborate on this problem.
    My computer freezes occasionally when it is used after being sleep for a while. The spinning ball appears and everything is totally disabled. Nothing on the keyboard works.
    The mouse moves, but does not work.
    The only solution is to turn the power off and on (losing all data in open applications.)
    I kept the System monitor running on the side to find out which program was running when the computer froze. The Monitor as well as all other applications froze, but the data showed:
    Firefox 18.4%
    Activity Monitor 0.9%
    Firefox Plugin 0.2%
    This is all the information I have. By the way, I am using iMac with OS 10.6.

  • When closing Firefox 29, it remains active as process even if there is any open windows. So I have to use close process from Application management.

    OS-Win 7 Home Edition
    When I close Firefox 29 (just installed) the firefox.exe *32 process remains active and I must close it from task manager.
    Otherwise when I try to run it again I get the message:
    "Firefox is already running but not responding. To open a new window you must first close ...."
    No such problem with previous version 28
    Regards
    Riccardo

    For those that have the problem after the update or after changing the ''seer'' preference please set Firefox to NOT delete history at closedown
    # Use new Button [[Image:New Fx Menu]] -> Preferences -> <br />|Privacy|Firefox will : [Remember History v]
    # Does that help and allow you to restart ok ?
    * Note
    *# You should be able to open and use Private Browsing Windows ok still. You may need to close those windows before closing down Firefox though. <br />See [[Private Browsing - Browse the web without saving information about the sites you visit]]
    *# This hang or close down issue is a known bug in Firefox 29 that has yet to be fixed. With luck it may be fixed in the next Firefox version. <br /> Note the known issues mentioned in <br /> http://www.mozilla.org/en-US/firefox/29.0.1/releasenotes/

  • Create A JOB  must execute in every 20 minutes from 8:00 AM to 8:00 PM

    Hi,
    Can any one a write a script to create a job suppose “ERP_CONS_POST_JOB” in a database.
    This job must execute in every 20 minutes from 8:00 AM to 8:00 PM.
    Thanks in advance.Please reply me its urgent.

    bpat wrote:
    Go through the below link
    http://download.oracle.com/docs/cd/B19306_01/appdev.102/b14258/d_job.htm
    http://psoug.org/reference/dbms_job.html
    It will provide a better understanding.
    Look at the INTERVAL procedure.That's not really correct.
    The dbms_job package is the "old" way of scheduling jobs.
    Since 10g the dbms_scheduler package has superceded that and is the preferred option, as well as it offering greater flexibility. dbms_job is only kept for backwards compatibility.

  • How to close siri from the lock-screen in ios 7.1??

    How to close siri from the lock-screen in ios 7.1??
    Some times when I place something on the phone siri start woking and the phone get hot fast and the battery is dead faster than normal.

    Sorry, that cannot be changed.

  • Executing a Operating System command from Stored Procedure ??

    I want to execute a Operating System command from a PL/SQL Stored Procedure, can anyone suggest me how can I do this ??
    I am on Sun-Solaris with Oracle 8.1.7 database.
    Please do email me at [email protected]
    Thanks in Advance,
    Ramesh L.

    Are you using a webserver? If so, you could make your operating system script into a CGI program, then execute it from pl/sql using utl_http.request.

  • [svn:cairngorm3:] 16810: Changed close event from flash.events.Event. CLOSE to mx.events.CloseEvent.CLOSE.

    Revision: 16810
    Revision: 16810
    Author:   [email protected]
    Date:     2010-07-03 03:32:49 -0700 (Sat, 03 Jul 2010)
    Log Message:
    Changed close event from flash.events.Event.CLOSE to mx.events.CloseEvent.CLOSE. See MXML examples in PopupTest.
    Modified Paths:
        cairngorm3/trunk/libraries/PopupTest/src/samples/ModulePopups.mxml

    Hmmm Strange!!!
    Seems like a bug which requires target for parallel effect while hide only but does not set it.
    For the time being you can remove the sequence effect as there is no othe effect other than parallel and use effect like
             <mx:Parallel id="fadeOutTw">
                <mx:Fade alphaFrom="1.0" alphaTo="0.0" duration="1000"/>
                <mx:WipeUp duration="1000" />       
            </mx:Parallel>
    or you can also set target explicitly like :
    <mx:Sequence id="fadeOutTW" >
            <mx:Parallel target="{largeImgTW}">
                <mx:Fade alphaFrom="1.0" alphaTo="0.0" duration="1000"/>
                <mx:WipeUp duration="1000" />       
            </mx:Parallel>   
        </mx:Sequence>
    I have tested on this code, and works fine. Hope this helps you
    -Vikash

  • [svn:cairngorm3:] 16809: Changed close event from flash.events.Event. CLOSE to mx.events.CloseEvent.CLOSE.

    Revision: 16809
    Revision: 16809
    Author:   [email protected]
    Date:     2010-07-03 03:05:21 -0700 (Sat, 03 Jul 2010)
    Log Message:
    Changed close event from flash.events.Event.CLOSE to mx.events.CloseEvent.CLOSE. See MXML examples in PopupTest.
    Modified Paths:
        cairngorm3/trunk/libraries/PopupTest/.actionScriptProperties

    Hmmm Strange!!!
    Seems like a bug which requires target for parallel effect while hide only but does not set it.
    For the time being you can remove the sequence effect as there is no othe effect other than parallel and use effect like
             <mx:Parallel id="fadeOutTw">
                <mx:Fade alphaFrom="1.0" alphaTo="0.0" duration="1000"/>
                <mx:WipeUp duration="1000" />       
            </mx:Parallel>
    or you can also set target explicitly like :
    <mx:Sequence id="fadeOutTW" >
            <mx:Parallel target="{largeImgTW}">
                <mx:Fade alphaFrom="1.0" alphaTo="0.0" duration="1000"/>
                <mx:WipeUp duration="1000" />       
            </mx:Parallel>   
        </mx:Sequence>
    I have tested on this code, and works fine. Hope this helps you
    -Vikash

  • [svn:cairngorm3:] 16808: Changed close event from flash.events.Event. CLOSE to mx.events.CloseEvent.CLOSE.

    Revision: 16808
    Revision: 16808
    Author:   [email protected]
    Date:     2010-07-03 03:04:40 -0700 (Sat, 03 Jul 2010)
    Log Message:
    Changed close event from flash.events.Event.CLOSE to mx.events.CloseEvent.CLOSE. See MXML examples in PopupTest.
    Modified Paths:
        cairngorm3/trunk/libraries/Popup/src/com/adobe/cairngorm/popup/PopUpBase.as
        cairngorm3/trunk/libraries/PopupTest/.actionScriptProperties
        cairngorm3/trunk/libraries/PopupTest/.flexProperties
        cairngorm3/trunk/libraries/PopupTest/src/PopUpMXMLExample.mxml
        cairngorm3/trunk/libraries/PopupTest/src/samples/MyPopup.mxml
        cairngorm3/trunk/libraries/PopupTest/src/samples/ZoomAndFadePopUpBehavior.mxml
        cairngorm3/trunk/libraries/PopupTest/src/samples/parsley/ParsleyPopup.mxml
    Added Paths:
        cairngorm3/trunk/libraries/PopupTest/src/samples/ModulePopups.mxml

    Hmmm Strange!!!
    Seems like a bug which requires target for parallel effect while hide only but does not set it.
    For the time being you can remove the sequence effect as there is no othe effect other than parallel and use effect like
             <mx:Parallel id="fadeOutTw">
                <mx:Fade alphaFrom="1.0" alphaTo="0.0" duration="1000"/>
                <mx:WipeUp duration="1000" />       
            </mx:Parallel>
    or you can also set target explicitly like :
    <mx:Sequence id="fadeOutTW" >
            <mx:Parallel target="{largeImgTW}">
                <mx:Fade alphaFrom="1.0" alphaTo="0.0" duration="1000"/>
                <mx:WipeUp duration="1000" />       
            </mx:Parallel>   
        </mx:Sequence>
    I have tested on this code, and works fine. Hope this helps you
    -Vikash

  • How To... Execute Planning Functions and Sequences from MS Office Ribbon

    Dear all,
    I am working with a SAP how to paper, which is called:
    How To... Execute Planning Functions and Sequences from MS Office Ribbon.
    It is working absolutely fine and I am pretty satisfied, but as you probably know "Control the visibility of a button based on the visibility of a related crosstab: the  button just disappears once the related crosstab is not located on the active sheet."
    This means, when I insert different queries in different crosstabs, only one crosstab will have my own created ribbon. Is it also possible to set another specific ribbon with other buttons for another crosstab? Can I change the macro, included in the appendix of the how to paper, regarding this issue?
    Thanks in advance!
    Kind regards
    Dominik Drebinger

    Hey Martin,
    thanks for your reply, but I solved the problem on my own. Unfortunately my colleague did not see that the crosstabs had to be defined differently.
    Like this:
    Label
    Screentip
    Msolmage name
    Crosstab name
    Copy Initial Aligned
    Copy Initial Aligned
    CacheListData
    SAPCrosstab1
    Copy Initial Aligned 
    Copy Initial Aligned
    CacheListData
    SAPCrosstab3
    Copy Initial Aligned
    Copy Initial Aligned
    CacheListData
    SAPCrosstab5
    The macro, provided by the HowTo, is therefore working perfectly fine.
    Thanks though
    Dominik

  • How to call up an executable file (eg. MSPaint) from within my java program

    How to call up an executable file (eg. MSPaint) from within my java program

    Ummm... why would you want to get MSPaint anyway? Even in the absense of real software, Java's own graphics tools are way more sophisticated - with a little time and effort, you could write a simple paint package that beat MSPaint hands down.

  • How to execute a Command Prompt command from J2SE code executing on Windows

    How to execute a Command Prompt command from J2SE code executing on Windows??
    Please help me

    [http://java.sun.com/docs/books/tutorial/getStarted/]
    ~

  • Execute a Linux konsole command from Java

    Hy,I am having problems when trying to execute a command for konsole from java.
    This is a part of my code
    try {
         Runtime.getRuntime().exec("konsole");
    catch (IOException ex) {ex.printStackTrace();}this code opens the Linux konsole ; is the a method to append a command for Linux from java??
    Thanks

    OK
    this is what I am trying to do : by pressing a button
    in a JFrame I want to start Snort (the exact command
    is snort -c /etc/snort/snort.conf )
    What I want is the following: I press that button
    and the Konsole in Linux opens and that command to
    be executed I would just use the Process.getInputStream() method to retrieve what Snort said and display that in a JTextArea or something... why bother launching it in a terminal?
    I don't know if Snort is a daemon or what... if it's a daemon, you're not going to get much output from it... it'll fork itself into the background and exit.
    If it isn't a daemon, then you can either just redirect the output to a file, a la:
    konsole snort /etc/snort/snort.conf > /tmp/snort.outand do a "tail" sort of monitoring on the file. You could also just keep that process up in a different thread, and use a timer to periodically update the output into a JTextArea (this would also allow you to be notified when the process ended). Finally, you could wrap your command in a script and execute it that way.

  • I want to execute a addon of R3 from VBA.

    Dear all.
    (sorry not good English)
    I want to execute a addon of R3 from VBA.
    The addon have 'commit' multiple times.
    I am using "RFC_CALL_TRANSACTION_USING" from VBA.
    but, addon is finished by one commitment processing.
    I want to execute a addon continuously after having committed it.
    like a "Cont.after commit" of Recoding parameters of SHDB.
    Please give me advice other methods or other Function Module.
    best regards.

    Thank you for an answer.
    SLIN understands it with a syntax check of the addon.
    It is a program practice method from VBA to want to know me.
    Would you give me any advice ?

Maybe you are looking for