Running child programs from a Parent one...

Hi everyone it's the newbie again.
Is it possible to start a seperate flash application from a main flash application.  I really want it to be like how a messenger works... where the chat window is independent of the parent program and the user can minimize it or move it around the screen.  I also need to be able to pass variables to the "chat window".  I am thinking about using something like fsCommand maybe.. but I would also like the child window to be a swf and not exe file.
What I got is a parent program that will be responsible for child programs.  The child programs will be started using variables that the parent initializes the child with (flashVar).  The child window will be similar to chat windows such as Yahoo messenger.
Again I appreciate all the help this forum has given thus far.  You guys are a lifesaver!
- Stan
*Tip: If you want your project to stop growing in size or complexity, get your boss to take a vacation .

Hey everyone,
I am figuring to do it the VB / Flash way.  Thanks for your assistance on alot of stuff.  - Stan

Similar Messages

  • Spawning child program from parent concurrent program.

    Hi All,
    I am trying to spawn multiple child programs from Parent concurrent program, Parent concurrent program is having execution method as HOST.
    Here is how I designed it.
    1. Parent Concurrent program (Parent Conc program with execution method as HOST).
    2. Host file is abc.prog calls PLSQL package xyz.main.
    3. xyz.main has logic to launch multiple child programs - (Child Conc program with execution method as PLSQL stored proc) using fnd_request.submit_request utility.
    All the child programs are getting launched but are in INACTIVE/NOMANAGER state. Could you please let me know how to overcome this issue.
    Both Parent and child programs are added to standard concurrent manager. This issue is only coming when parent program as execution method as HOST if parent program execution method is PLSQL stored procedure then child programs are running fine..
    I also tired initializing apps in HOST file (abc.prog) before calling PLSQL package xyz.main.
    Thanks.
    Sham.

    hi,
    even i was facing the same issue. while submitting the child requests through fnd_request.submit_request i tried the following:
    FND_REQUEST.submit_request (
    application => 'Application Short Name',
    program => 'Program Executable Name',
    description => 'Program Description',
    start_time => NULL,
    sub_request => FALSE,
    argument1 => 'Input 1',
    argument2 => 'Input 2' );
    After this the Programs were submitted successfully.

  • How to run java program from website?

    Hello
    I'd like to know how to run java program from my web page.
    I'd like to push some button in this web page so java program that would be on my server
    would pop-up. Can it be done automaticaly upon running this web site? (without any buttons - I just enter website and program pops up).
    Cheers

    I rather thought about RMI. But I could try servlets. So how it would look like?.
    I would make http request in browser (enter address) and program would show up in its window?. And I would not have to change anything in my program?. This program would run then on both boxes?. One remotely and one not?.
    But I would have to learn some basics, I've never worked with servlets. Could you suggest some good sites about it?. With ready examples so I could tweak them to my purpose.
    Message was edited by:
    macmacmac

  • PLSQL WANTS TO RUN  WINDOWS PROGRAM FROM PLSQL PROCEDURE

    WANTS TO RUN WINDOWS PROGRAM FROM PLSQL PROCEDURE.
    I want to run EXE file from pl/sql program , i have tried host it does
    work in pl/sql .
    Is there any Solution to this problem
    Thank you

    Hi,
    It sounds like what you are trying to do, is run one mapping in a pre-mapping process of another mapping. You use a wrapper that implements sqlplus_exec_template.sql in PL/SQL. Is that correct?
    I don't think that by the way you execute this mapping, it ends up in the context of the process flow. The reason is because according to Warehouse Builder the mapping is being invoked standalone (through the wrapper that implements the template). As a result, the context in which Warehouse Builder would log the messages is lost.
    What I suggest you do (assuming I understand the problem correctly), is run the mapping as a separate mapping in the process flow. Because in the current release we do not support passing output parameters in the process flow, you will have to (temporarily) store the results of the first mapping in a table and pick it up from there in the other mapping. In the next major release (autumn 2004) we will support passing parameters between activities.
    Thanks,
    Mark.

  • I just upgraded to a new computer running Windows 7 from an old one running XP. I would like to transfer all my bookmarks but I don't know where they were and where to move them to in the new computer. Thank You.

    I just upgraded to a new computer running Windows 7 from an old one running XP. I would like to migrate my old bookmarks to the new computer but I do not know where to find them or where to migrate them to.
    I do have the old computer's disk drive.
    Thank You.

    See https://support.mozilla.com/en-US/kb/Backing%20up%20and%20restoring%20bookmarks
    and
    https://support.mozilla.com/en-US/kb/Backing%20up%20your%20information?s=new+computer&r=4&as=s#os=win&browser=fx8

  • PE4-Win7: Please run this program from the Administrator account so it can set up your license. Once the license is set up, you can run it from any account.

    Hi,
    I'm using Premiere Elements 4 in Windows 7 (64 bit). When I launch PE I get the following error:
    Please run this program from the Administrator account so it can set up your license. Once the license is set up, you can run it from any account.
    Any idea how to solve it?

    I came across this link online. Please check it out and decide if it will or will not advance your case.
    http://www.howtogeek.com/howto/windows-vista/enable-the-hidden-administrator-account-on-wi ndows-vista/
    ATR

  • Running My Program From Windows?

    Hi, now that I'm done with my program, is there any way that I can run the program from windows by creating a shortcut? I would like the program to run on other machines without having to start or install the JDK.

    Hi, now that I'm done with my program, is there any
    way that I can run the program from windows by
    creating a shortcut? I would like the program to run
    on other machines without having to start or install
    the JDK.First, the other machines do not need the JDK - they need the JRE which is much smaller. Second, your question is a variant of the most asked question on this forum. Try searching for "exe" or "executable" or something similar and you will find lots of answers.
    Quickly I can tell you that if your program use any GUI (ie AWT/Swing), there is no way you can avoid having the JRE on the target machines. You can, however, make installation programs that install the JRE along with you program if you wish.

  • Run a program from java code

    I want to run this program from my java code,
    In Linux(ubuntu) I write this command to open the program window
    $ paraFoam -case /home/saud/OpenFOAM/OpenFOAM-1.5/run/tutorials/icoFoam/cavity/In my java code I wrote it like this("/home/saud/OpenFOAM/OpenFOAM-1.5/bin/" is the path of the program):
    String command = "/home/saud/OpenFOAM/OpenFOAM-1.5/bin/paraFoam " +
              "-case /home/saud/OpenFOAM/OpenFOAM-1.5/run/tutorials/icoFoam/cavity/";
    final Process myProcess = Runtime.getRuntime().exec(command);
    BufferedReader buf = new BufferedReader(new InputStreamReader(
              myProcess.getInputStream()));
    String line;
    while ((line = buf.readLine()) != null) {
         System.out.print(String.format("%s\t\n", line));
    buf.close();
    int returnCode = myProcess.waitFor();
    System.out.println("Return code = " + returnCode); Return code = 0
    but the program is not opening
    Edited by: Saud.R on Apr 11, 2009 3:37 AM

    Welcome to the Sun forums.
    I am not sure of the answer to your question, but people who use Processes regularly, warn other users to ensure they are also doing something with the error stream of the process, otherwise it can hang as you describe.

  • How to run java programs from a master java program?

    Hello,
    I have several java programs which run from the command prompt. I am seeking help with code for starting java programs from within a java program. For example, a program called master.java works something like this:
    import java.*;
    create connection pool
    create variables and result sets
    start/run slave1.java (var1, var2);
    start/run slave2.java (var3, var4, var5);
    start/run slave3.java (var1, var4);
    end of program master.java
    Each of the slave.java programs will run for up to an hour. I do not want the master.java program to pause for each slave program to stop. Instead, the master program will keep running and multiple slave programs will be running simultaneously with the master program. When a slave program starts, it is on its own. Also, if possible, I would like to have each of these slave.java programs open in a new separate command window, so I can observe each slave program running in separate windows.
    Any suggestions for code or helpful documentation are greatly appreciated.
    Thank you,
    Logan

    Thank you all.
    At the bottom of master.java I have successfully started a batch file with these lines:
    String jcmd = "cmd.exe /c start c:/data/simulations/MsgViewCount2.bat";
    Process proc = Runtime.getRuntime().exec(jcmd);
    But I still cannot get a java program to start. Here is one variation I have tried:
    String [] cmdArray = new String[2];
    cmdArray[0] = "java";
    cmdArray[1] = "slave1";
    Runtime runtime = Runtime.getRuntime();
    Process process = runtime.exec(cmdArray);
    This compiles, and no errors occur, but nothing happens.
    Regarding this comment:
    Why Runtime.exec? Either make the slaves Runnable or
    just call their main() methods.
    Oh, I see. Sepearate output. :PNone of the slave.java programs have any output.
    Thanks again.

  • Removing a child instance from a parent child list. - non L2 Caching

    I have a parent Entity
    Parent
    int id
    String name
    @onetomany
    List <Child> list
    and a child Entity
    Child
    int id
    String name
    First, let me say, I have L2 cache turned off.
    So lets say I have a parent record with three children and I want to remove child 2. I have found if you remove the child only in the EM then when you select the parent again, it shows the child still being there even though the child has been removed from the db. I liked only having to remove the child because its only one instance to pass and remove over the web. But with that said, how do I remove the entity our of the parents Children list so it no longer shows up in the front end in the list? I cant use the selected index in the front end because I sort the data.
    Or is it better to save the state of Parent too? But if so, what if Parents Children is hundreds of records. Thats alot of overhead for one record to be deleted. Could use some help here. Thanks in advance.

    You should always maintain bi-directional relationships. You need to remove the child from the parent.
    Since you are not caching, if you acquire a new EntityManager after commit, the parent's child will be gone.
    If you refresh the parent in the same EntityManager after commit, then it will be gone.
    If the collection is really big, then consider not mapping it, just query for it if you need it. There is no point having a relationship that is too big to read.
    Note that if you use weaving, and a List, then remove() will not trigger the collection to instantiate in EclipseLink (nor add, but contains or size will).

  • Running a program from Java

    how do i launch one Java program from another?
    both .class files and the JRE directory are in the same directory

    You can use Runtime.exec() to run it as a seperate process, or you can always instantiate your secondary class. Do a search on the term "runtime.exec()" befure you go spawning another thread asking how to use it. That particular subject has been done to death many times already.

  • Running java program from DOS

    I have just installed JDK 5.0 (update 4) and have tried writing a small demo program. The .class module is created ok but when invoking java I get "Exception in thread "main" java.lang.NoClassDefFoundError. I am running java from a DOS batch file with one command of c:\progra~1\java\jdk15~1.0_0\java %1. A similar batch file is used to invoke javac which works.
    Any ideas what I'm doing wrong? Thanks.

    You can't run a Java program from DOS, in fact you can't even install a JRE under that old operating system as Java requires a 32 bit or 64 bit operating system architecture which DOS never offered.
    But on the off chance you mean a command prompt from Windows...
    Check your classpath, most likely you forgot to add the current directory to that.

  • Jdeveloper runs another program as the selected one

    After selecting a program (from Java Examples) and trying it to
    run or debug, JDeveloper starts another program which runs
    before. This behaviour is independent of the entry in "Default
    Runable Class/File" in Project property, Run/Debug tab. If this
    entry is empty, the first try to run my program writes in this
    field the other program I don't want to execute. How works the
    program execution exactly? JDeveloper has to register somewhere
    the previous running program and overrule the standard
    (executing the selected program). Does anyone know this
    difficulty?
    Thanks for the hints.

    Georg,
    I have done some testing and am not having any problems with
    this.
    My suggestion is:
    Make sure the samples you want to run are in your project.
    Make sure Show enty points on classpath is not selected.
    Right-click the program (with a Main()), select Run from the
    context menu.
    The Run option from the top menu automatically selects (in this
    order) the selected program in the navigator, or if one is not
    selected, the first one in the project.
    The safest way is to right-click the one you want and run it
    from the context menu.
    Gary
    JDev Team

  • Running Chuck program from iphone application

    Hi,
    I am trying to integrate chuck to my iphone application. How I can do this.?
    I want to run one chuck program from iphone application.
    Regards,
    Ganesh Pisal
    Vavni Inc.

    Expect to get a lot of problems as embedding Java GUI application into native X GUI application is very complicated process which usually requires clear understanding of design of AWT native code for X. One of the problems is events sharing, another is X resource sharing. If you could provide more details on design of your program and interaction with Java we might try to at least estimate hardness of the problems and possibility of such an implementation at all.
    The questions are:
    1) Does you program uses the same X display connection as Java?
    2) What kind of X toolkit are you going to use?
    3) How are you going to embed Java windows into you X windows(if at all)?
    4) Are you going to use Java X window(or widgets) from your program or you are going to use JNI and Java to interact with them through Java?

  • Run java program from start menu

    Does anyone know how to write a class so that when a user is running my program for the first time they can run an installation file that will put a shortcut to my bat file in the start menu.Know of any place i can get info on setting up an installation class or something similar.
    If you could give me some info would greatly appreciate it,it's my first time doing anything this big and not really sure where to start with writing an installation file

    If your program is just for windows then giving the user an exe instead of a .bat file will help.
    http://www.rolemaker.dk/nonRoleMaker/javalauncher/marner_java_launcher.htm
    Your user will either need to have a JVM installed on their machine or you will need to provide one with the application. If you intend to provide one, the licence doesn't allow you to install it on to the target machine, but you can place the java dir in your directory structure and access the java/javaw command by a relative path (see the help on the above site for that)
    Once you have a directory structure set up for your application, you can use any comercial intall program to give give you a setup.exe file or whatever. if you are providing the VM with your distribution, then the file will at least 14MB plus your class and resource files. If you read the licence agreement for distributing the VM, it tell you what files can and can't be removed from it to make the file a bit smaller. For instance, you can remove webstart because you won't be using that.
    search http://www.download.com/ for installers. I think there are a few ad supported ones if you don't want to pay

Maybe you are looking for

  • ITunes not working after upgrading to Lion OS V10.7

    I have upgraded to Lion OS V10.7 but I lost all my playlists on iTunes. I tried restoring iTunes from my last back up, but now I am unable to open iTunes at all.

  • Connection on windows 8.1 pro

    How many other users can connect to a windows 8.1 computer at the same time before you get a connection error?

  • Force use of accessors? (getters & setters)

    How to prevent/detect the incorrect direct use of properies in cf9 e.g. aPerson.FirstName = "Rumplestiltskin"; ...when a component is rewritten to use accessors e.g. aPerson.setFirstName("Rumplestiltskin"); e.g. a component is changed from... Compone

  • Subfolder-easy dms

    Dear all, I my facing problen in easy DMS new login id  . Public folder is visible in that id  but subfolder is not display which is created under the public folder. Kindly help

  • Weblogic Server 5.1 TXDataSource InvocationTargetException

    Hi, I am trying to convert from Weblogic 452 to Weblogic 5.1. I am getting an error on startup trying to create and bind a TXDatasource. What do I need to do to correct this problem? The startup error is as follows: Wed Nov 08 16:32:56 CST 2000:<I> <