External applicatio​n or exe launched within my own software environmen​t

Hello All. 
I want to launch external application or .exe file within my own software environment. I know the way of launching external exe file but it runs on a separate window above my software. All i want is to launch the exe not in a separate window but within premesis or window of my own software in a defined rectangular area. What will be way of doing this?
Thanks & Regards.

Hello,
Please find an attachment. Kindly have a look on .uir file in the example. If i want to launch any external exe say e.g cmd.exe in the rectangular region drawn, what will be way of doing this as i am unable to launch .exe in the rectangular region specified
Thanks & Regards. 
Moshi.
Attachments:
Example.uir ‏2 KB

Similar Messages

  • Starting notepad.exe from within Java app?

    Is it possible to start notepad.exe from within a java app to display a log file (for instance)?

    search the forum for Runtime.getRuntime()

  • Calling startrfc.exe from within a vbs script

    Hello, can someone help me please
    I am trying to process xml idocs into SAP on a Windows 2008 server. I have written a vbs script to process the file and am trying to call STARTRFC.EXE from within the vbs script. However I keep getting an error that it cannot open the file. The code is shown below. I have changed the server name and gateway and user/passwd for security. I'm passing the filename as a variable (str_expfile) but it does not seem to be able to extract the actual file name from the variable. I know from past experience that you can pass it variables if its running on a unix box and in a shell. But for some reason it not decipering the variable name in the vbs script
    Set objShell = CreateObject("Wscript.Shell")
    str_startrfc = "D:\usr\sap\SID\SYS\exe\uc\NTAMD64\startrfc.exe -d SID -3 -h hostname -s 00 -g hostname -x sapgw00 -u user -p passwd -c 100 -l EN -t -F EDI_DATA_INCOMING -E PORT=MYPORT -E PATHNAME=str_expfile"
    objShell.Run str_startrfc, ,True
    The error I'm getting is shown below:
    ERROR file opened at 20110510 134219 GMT Daylight Time, SAP-REL 700,0,278 RFC-VER 3 1200864 MT-SL
    T:2584 Error in program 'startrfc': ======> Error at OPEN 'str_expfile' (check file)
    T:2584 Error in program 'startrfc': <* RfcReceive [1] : returns 3:RFC_SYS_EXCEPTION
    T:2584 Error in program 'startrfc': <* RfcCallReceive [1] : returns 3:RFC_SYS_EXCEPTION
    Thanks
    Regards
    Steve

    Hi Markus
    Unfortunately I can't do that because I need it to process hundreds of files one after another and I would have to hard code the file path each time. That's why I need it automated.
    Can startrfc.exe not take a variable for the pathname in a vb script? It works fine in a unix shell. We are migrating from unix to windows and I need to convert all my unix scripts into vb scripts.
    I notice there is a nother rfc type program available, can I use rfcexec.exe instead of startrfc.exe and would it take variables?
    Thanks
    Regards
    Steve

  • Exe launcher, classpath and dynamic jar loading

    hi,
    i made an exe launcher for my java app which works fine. but i need i way to specify the classpath for the application and i don't know how to do it in this case.
    it would, actually, be enough to make the app load the libraries it needs dynamically - i can make a properties file with paths to required libraries and load them upon startup. however, i don't know how do the dynamic library loading.
    anny help on specifying the classpath through an exe launcher and/or on dynamic jar library loading?
    thanx

    I'm gonna try something I've never tried before... include a link when I say search the forums/net
    Search the forums/net
    http://www.cs.put.poznan.pl/dweiss/xml/projects/invoker/index.xml?lang=en

  • Embed JConsole within our own application

    Has anyone out there embedded a JConsole within their own application? Why might I want to do this? Well, we have a large number of Java applications running and we want to monitor them! Rather than have to run a hundred separate JConsoles, it would be nice to run one tool where we could navigation to the application (usinga JTree/JTable or whatever) and press a launch JConsole button.
    I've managed quite easily to fork the jconsole (from inside our all-systems-monitor) using:
    String hostname = "locahost"; //REALLY DISCOVER THIS PROPERLY
    int port = 9999; //AND THIS!
    String appRoot = "oxbow/jmx/my_app"; //THIS TOO
    final String url = String.format("service:jmx:rmi:///jndi/rmi://%s:%d/%s", hostname, port, appRoot);
    final String execLocation = System.getenv("JAVA_HOME") + "/bin/jconsole";
    new Thread(new Runnable() {
        public void run() {
            try {
                Process p = Runtime.getRuntime().exec(execLocation + " " + url);
                p.waitFor();
           catch (Exception e) {
               //HANDLE
    }).start();Which is cool, but it would be nice to be able to embed in the app itself. Are there any plans for Sun to create an API for this?

    FYI, JConsole already supports multiple connections
    to multiple agents in a single process.
    Regards,
    Luis-Miguel Alventosa
    JMX Java SE development team
    Sun Microsystems, Inc.We have hundreds of systems which our tool is set up to monitor (they heartbeat over our network using a messaging infrastructure and advertise their JMX service URL and we can view the "universe" as a heatmap). From a usage point of view, we only want to "drill-down" into an application's state if it is reporting that there's something wrong or we want invoke an MBean operation.
    This is not the normal state of affairs, so it's very unusual that we want any more than one JConsole up at a time, and certainly not one monitoring 100 systems. This would presumably cause us memory and CPU problems anyway. Playing with how the JConsole lauches when multiple connections are supplied looks like it would give us usage difficulties anyway.
    I'll have to be happy launching the console individually via Runtime.exec() for now but thanks for your reply, Luis-Miguel.

  • I've got a MacBook pro 15' running 10.6.6. I want to use an external monitor for my graphic design work running Adobe software and thought I'd try an HD TV. I ran a Mini Display to HDMI lead to the TV but the picture quality was disappointing.

    I've got a MacBook Pro 15' running 10.6.6. I want to use an external monitor for my graphic design work using Adobe software and thought I'd try an HD TV. I ran a Mini Display to HDMI lead to the TV but the picture quality was disappointing. I also tried a Mini Display to VGA lead and that wasn't much better. I tried all variations of resolutions in System prefs - Displays but nothing helped. Am I getting something wrong? Thanks all.

    In addition to pixel density, you are up against the translation driver card in the TV.
    If you read the fine print of computer-resolution-capability in the TV user guide, you will see a chart as tall as the manual page.  At the top is the smallest resolution capable, at the bottom is the full use of the 1080p in the TV.
    Mac falls into the top 25% of the page, maxing out at 1366x768 often.  This is because the TV control card is expected to do too much of the work, but is not designed for computer-monitor processing.
    I looked at the resolution charts on 2 TVs before deciding to buy a 1080p LCD monitor that has a TV interface/connector.  Computer monitor first, TV second.  But the thing is only 27 in.  Good thing TV is not as important to me as it is to others.

  • ITunes Mac launches on its own - interferes with Magicjack and Airport

    I have a headless Mac Mini 2010 which I occasionally hook up to my HD-TV that occasionally will launch on its own iTunes a short period after boot. Temporarily I've had to stop this action by compressing the application into an archive.   We are running Mac OS X 10.6.8.  As soon as iTunes launches, the airport connection from the Mac Mini disappears, and the Magicjack software goes in the background and my Magicjack connection then dies.  It happens at random, and I can't figure out why.  
    I upgraded to Airport firmware 7.6 on my Airport Extreme base station, and that didn't help.  But it seems it stays connected always when there is a keyboard connected, but once I remove it, that connection dies after a few calls.  Zapping the PRAM may have helped for now, and then immediately after removing the keyboard and mouse.   Lately it is working fine, so I don't want to mess with it, but anyone know why iTunes would launch on its own even when the helper is not listed in the Login Items?
    When I've played around with it, the Airport won't accept my WPA2 password on the Mac  Mini even though I'm careful with the password case, and username, and other computers on the airport are working fine.  And yes, I disabled all the Bluetooth settings for looking for a keyboard when it is not connected, and the iTunes launching still happens.  I would like to leave iTunes unarchived on the machine so I can use the iTunes sharing to connect to my HDTV occasionally since my original AppleTV doesn't work reliably with it either.  I only want to connect a keyboard and mouse when I connect to my HDTV, but then otherwise leave those disconnected and it not interfere with my Magicjack.
    If someone can help me find a way to leave iTunes unarchived, while keeping my Magicjack always up, and my Airport connection never dying that would be great!   Thank you.

    Upeace, it's so long ago I can't remember now… But I do know that my newer MBP's volume can be affected by someone tinkering with the Apple TV remote. Is that a possibility? If so you can turn this off in System Preferences. It's not at all easy to find though—you have to go into 'Security Privacy > Firewall > Advanced' and then tick 'Disable remote control infrared receiver'.

  • Can I integrate my exe program into my LabView software?

    I developed a LabView software. Can I integrate my old xx.exe program into this LabView software? Any information on this point would be appreciated.
    Yun

    The way to do this is to redirect the text output from the program to a file, and then read the file into LV. I unfortunately don't have all the information with me, but do a search in the archives here. The way I learned about is was a discussion a couple years ago. You can also check online for information related to writing DOS batch files--which is how you actually run the DOS program--that should get you pointed in the right direction.
    So it is possible, messy, but possible.
    Mike...
    Certified Professional Instructor
    Certified LabVIEW Architect
    LabVIEW Champion
    "... after all, He's not a tame lion..."
    Be thinking ahead and mark your dance card for NI Week 2015 now: TS 6139 - Object Oriented First Steps

  • E-mail setup launching of its own accord

    I'm using a Nokia X6 and ever since Orange merged with T-Mobile, the E-mail setup wizard has been launching of its own accord asking me to allow the application to use network to send or recieve data, I hit No and it goes away, but the wizard will keep launching.
    It only seems to launch when the phone is locked and if I go in and out of signal.
    Some help would be appreciated.
    Thanks.

    Any help? It's quite a pain. I've tried restarting, but that hasn't fixed it.

  • Apps launching on their own

    Today while using Net News Wire, the app crashed, and the Scrabble app launched all by itself. Has anyone else experienced this type of behavior? I can see an app crashing from time to time, but to have another one launch on its own is very weird.

    I think following the software troubleshooting path would allow you to eliminate software as a problem.  If you eliminate that, then it would have to be some hardware issue. Not sure if your phone is still under warranty, but if you can demonstrate that you've done all of the software troubleshooting you can, and you are still under warranty, you could get a replacement phone at the Genius bar. 

  • I have an old Minimac with a 100GB HD. I run Time Machine to an external HD. I want to update my Lion software but need 8GB of HD capacity to do this. I only have 5GB. My photo library is 4GB so since this is backed up I deleted this to Trash. But I still

    I have an old Minimac with a 100GB HD. I run Time Machine to an external HD. I want to update my Lion software but need 8GB of HD capacity to do this. I only have 5GB. My photo library is 4GB so since this is backed up I deleted this to Trash. But I still have only 5GB of capacity on the HD. Why ?

    You need to empty the trash to get the space back.

  • ITunes 8.1 launching on its own repeatedly

    I have yet to see anything recent on this, so I'm asking here.
    Since upgrading to iTunes 8.1, I have noticed it will launch without provocation. I have set Podcasts to update Manually. I do not appear to have any iTunes clients running in the background. I have not attached any iPod or iPhone device to the Mac. It seems no matter what I do, iTunes will launch on its own. Feature? Bug?
    Would two users running iTunes Helpers cause any problems? I just logged out a user account that had a second iTunes Helper running. I'm not sure if that will help.

    I should note that a reboot cleared up the issue. It might have something to do with two instances of iTunes Helper running at the same time. Also, my wife and I have separate active logins on this iMac most of the time. I will try to recreate the problem, but for now, it's "fixed."

  • HT4356 can i airprint to my airprint printer remotely, with ipad, from another wifi connection or only when i am within my own network?

    can i airprint to my airprint printer remotely, with ipad, from another wifi connection or only when i am within my own network?

    Air print, and the normal hp airprint set up requires that the pad and the printer be on the same wifi net work.  The 'connecting' is done by your router.  That means remote printing wont work with the out of the box stuff.  I think you might find some 3rd party apps that do support remote  printing, but i have not seen any reports from users that found a really good solution.  Print n share reads like it might work, i am sure some users will chime in.

  • External exe launched in a rectangular region drawn

    Hello,
    Please find an attachment. Kindly have a look on .uir file in the example. If i want to launch any external exe say e.g cmd.exe in the rectangular region drawn, what will be way of doing this as i am unable to launch .exe in the rectangular region specified.
    Thanks & Regards.
    Moshi.
    Attachments:
    Example.uir ‏2 KB

    Moshi,
    You can use pipes to do this, though when I tried this I couldn't get a reliable solution. I abandoned pipes and simply coerced the output into a file that I then read in. This is a very crude solution and I suspect isn't very future proof but it works in W7! Code below might help:
      sprintf (Cmd, "\"%s\" > \"%s\"", BatchFilePath, OutputFile);
      Ret = system(Cmd);
      if ( Ret < 0)  
        //file is not there   
        sprintf( Msg, "Can't run %s, error: %i", Cmd, Ret);
       return Msg;

  • LabView Exe Applicatio​n file not launch Excel applicatio​n for report generation

    Dear All,
    I created one LabVIEW application file for report generation (using Excel Template).
    While I run the program in programming mode it works well and create the report file in the specified path.
    After creation of the application file(exe), it gives the correct path of where the excel template is placed. The same path is given to New Report.vi, but it gives the error 'File Not Found'.
    Tell me, is any other configuration required for generating Excel reports? (During exe application mode)
    Give me the solution.
    Thank You
    Jegan.

    Hello,
    Most likely you are encountering a problem of stripping and/or building paths.  Probably the easiest thing to do is put a couple indicators on your front panel for the path or paths you care about, build your exe, and make sure you are really using the path you'd like.  If you always put the report at some deterministic place relative to the exe (that is, even it the exe is moved, it will go with the exe and remain in the same relative path location, then you can use the Current VIs Path funtion found in the ... File I/O -> File Constants palette as a start path (where you will want to strip at least the exe name off of course).
    I think this will bring some clarity to the issue!
    Best Regards,
    JLS
    Best,
    JLS
    Sixclear

Maybe you are looking for