How to launch a local program from a Form running on Web

How to launch a program in local hard disk, say notepad, from a Form running on web?
I tried the HOST() function but it will launch notepad on the application server other than the client.
Thanks,

You can use the following code from a Pluggable Java Component (PJC) to invoke notepad
String cmd = "notepad.exe";
Process p1 = null;
Runtime rt = Runtime.getRuntime();
int exitValue;
try
p1 = rt.exec(cmd);
exitValue = p1.exitValue();
System.out.println("Command returned status : " + exitValue);
catch (Exception e)
System.out.println("Error : " + e);
Of course in reality the command to execute would be sent from the Forms Program as a Set_Custom_Property on the PJC
Note that the PJC to do this would have to be signed to allow access to run such commands

Similar Messages

  • How do you uninstall a program from mountain lion osx

    Hi first time on mac forum
    my question is being new to imacs how do you uninstal a program from an imac running osx mountain lion. And of course get rid of the icon for that program from launchpad
    thanks

    What app do you want to uninstall? If it's an app that is provided by the installation of OS X, e.g. Safari, Reminders, Notes, Mail, etc. - there are many others - they shouldn't be uninstalled.
    If it is an app that was downloaded from the Mac App Store, in Launchpad click and hold its icon until it jiggles. Click on the 'x' in the corner to delete it.
    If it's an app that was installed using an installer program it is always best to see if an uninstaller is available from the developer of the app (there is often an uninstaller bundled in with the installer package).
    Other third party apps that are simply drag-installed into the Applications folder - like Skype, for example - can be just dragged to the Trash and will be deleted when the Trash is emptied.

  • So I downloaded the wrong Airplane Mode program for my operating system and I now have AppleScript Error message.  It will not allow me to quit the program.  Also, once that happens how do I remove the program from the computer?

    So I downloaded the wrong Airplane Mode program for my operating system and I now have AppleScript Error message.  It will not allow me to quit the program.  Also, once that happens how do I remove the program from the computer?

    What Airplane Mode program? To stop a running program launch Activity Monitor (in utilities folder) and quit the program from there. To remove the program drag it to the trash or better use the uninstaller that should have come with it.

  • Launching a Java Program from UNIX ( C/C++ )

    How do I launch my Java program from c/c++? Do I need to wrap my java command line ( ie. java -classpath .... ) in a C shell ? Is there another way?

    How do I launch my Java program from c/c++? Do I need
    to wrap my java command line ( ie. java -classpath
    .... ) in a C shell ? Is there another way?You can do it directly using Java Native Interface (JNI). Using this approach the Java program runs in the current process.
    Sylvia.

  • How to EXPORT a concurrent program from one instance to another

    Hi,
    I am new to EBS.
    How to EXPORT a concurrent program from one instance to another. I dont want to use FNDLOAD.
    Is there any other way from where we can export the concurrent program to anothere instance from CLIENT connection server.
    Thanks
    Asis

    Hi;
    What is EBS version? Why you dont use FNDLOAD?
    Pelase see below thread
    Move concurrent program to prod
    Move concurrent program to prod
    Regard
    Helios

  • How to submit a cuncurrent program from UNIX?

    How to submit a concurrent program from UNIX.Plz reply immediatly

    Please see;
    Oracle Metalink Document: How to Submit a Concurrent Request Using CONCSUB Syntax: Doc ID: Note:457519.1
    https://metalink.oracle.com/metalink/plsql/f?p=130:14:5250231761732667752::::p14_database_id,p14_docid,p14_show_header,p14_show_help,p14_black_frame,p14_font:NOT,457519.1,1,1,0,helvetica
    Adith

  • How do i stop my programs from automatically popping up when i turn on the computer?

    how do i stop my programs from automatically popping up when i turn on the computer?

    When you log out or shut down, there will be a checkbox that asks you if you want to reopen windows when you log in. Just uncheck this box. If that isn't it, you may have login items turned on. Go to System Preferences>Users and Groups and then under your name click the Login Itens tab. Make sure nothing is there.
    If you want to stop windows from restoring when you open applications (so for example when you open Safari it doesn't open the 50 tab page you just had open when you quit) go to SystemPreferences>General and then hit the checkbox that says Close windows when quitting an application.

  • How do I transfer TV Programs from my iTunes account to my iPod Classic (so I can watch them on my TV)?

    How do I transfer TV Programs from my iTunes account to my iPod Classic (so I can watch them on my TV)?

    Ha, it worked. Thank you anyways!

  • HT1379 How do I stop a program from opening at start up(iPhoto)?

    How do I stop a program from opening at start up? (iPhoto)
    Also, my mac recently shuts down completely while in sleep mode.  Any reason why this happens?

    If the app is opened when you shut down the Mac, untick Restore windows when logging back in. Open System Preferences > Users and Groups > Login Items and delete iPhoto

  • How to invoke a Java Program from Oracle 10g?(uRGENT)

    Hello.
    I've a query, that i have a program, that basically retreives the records from the
    oracle table and then parser this information and then insert the values in corresponding database base tables. I want that, whenever the new program is inserted, a Trigger should fire and pass the most recently entered record to the Parser Program, means
    1) Firing a Trigge
    2)Storing the most latest data and pass it to the Parser PROGRAM
    Can someone tell me how to do this? How to invoke a Java Program from within the database? Please if anyone has examples provide me. Its very urgent and tell me what is the basic mechanism.
    Thankyou.
    Ben

    With Java Stored Procedures Java may be caleed from a database.
    http://www.oracle.com/technology/tech/java/jsp/index.html

  • How to start an executable program from a java program ?

    Hi,
    does someone know how to start an executable program from a JAVA program ?
    Thanks, Fred.

    Take a look at the Runtime class.
    -S-

  • How to access the abap program from MS Excel?

    Hi ,
    How to access the abap program from MS Excel or MS access ?
    The abap program "z..."  has the below input and output attributes
    Input : Date,Index and file name with location (.htm or .xls)
    Output : htm or xls file downloaded at the above location.
    Please help me here.Do we haev to use BAPI and RFC?If yes,please tell me how to use them
    Regards
    Dinesh

    Maybe this could help you up -;)
    [Simple SE38 Emulator using Microsoft Excel|Simple SE38 Emulator using Microsoft Excel]
    Greetings,
    Blag.

  • How can I stop the program from going through all of the text previously put in.  It is making the process very slow.

    How can I stop the program from going through all of the text previously put in.  It is making the process very slow. 

    while True:
    and just indent everything else under it
    Ends when you press ^C.
    if you wish to have a way to break out of the loop, say, when you press enter at the VPC number without entering anything, add the following after your vpc input:
    if not vpc:
    break
    which will break out of the while loop and end your program.
    Last edited by buttons (2007-12-14 22:03:06)

  • How do i remove a program from finder?

    how do i remove a program from system preferences?

    Drag it to the trash & empty.  If that is not the answer you are looking for, you need to clarify your problem & "remove."  Where is the program in the Finder?  On your desktop?  Finder menu bar?  Dock? 
    Care to share which OS you are using? 

  • How do I delete a program from speed dial?

    How do I delete a program from speed dial?

    How do I delete a program from speed dial?

Maybe you are looking for

  • Doubts reg: payement term

    Hi all, I have a requirement to create a payment term  30 Days, 3 % Cash Discount . This means if payement is done with in 30 days 3% discount will be given. But there is no specification of net days here. SO does that mean that net is 31 days? Also,

  • Numbers ne s'ouvre pas

    bonjour j'ai télécharger numbers et je n'arrive pas à l'ouvrir un message d'erreur survient.. que faire??? merci d'avance

  • How do I download Lightroom 4 from the Adobe website?

    I purchased Lightroom 4 about a year and a half ago and chose the download version as opposed to the disk sent to home version. I erased the contents of my hard drive recently and now I don't have Lightroom 4. I'd like to download it again. How can I

  • USING ALV PUSH BUTTONS

    I am working on ALV PUSH BUTTONS. When I am clicking the button  some records in an internal table is displayed in ALV. Each column is repeated twice for the first time and on the second time it is working fine.What is the reason and what I have to d

  • Printing scanned documents

    I am having a problem printing from my scanned documents......when i print  a scanned card it prints backwards......all the writing and picture is reversed? How do i change this ...I tried but got no where