Hello,
I'm wondering if there's a way to start a program or game on the user's computer from an applet, or for that matter, any Web language.
Printable View
Hello,
I'm wondering if there's a way to start a program or game on the user's computer from an applet, or for that matter, any Web language.
Please let me know if you know, because there's a group of people expecting me to do something and this is the deciding factor in it really :P
ill look for you but i dont think that is since it is possibale that peole with exploit something like that
Yeah, I was afraid of that... certainly there is some way though, how else would MSN have done it?
When you say how did MSN it, does it launch a e-mail program?
You can use this methos to invoke an external application in JAVA.
Runtime.getRuntime().exec("rundll32 url.dll,FileProtocolHandler "+"freecell.exe");
Does that work in an applet?
First check it.
Hi. To run applications outside the JVM (notepad.exe,paint.exe) use this:
Runtime.getRuntime().exec("rundll32 SHELL32.DLL,ShellExec_RunDLL " +
"notepad.exe");
Note that this is just for Windows.
But Applets have restrictions and you cant do this. To solve this problem youll need to pack your applet in a jar file and sign it with the jar signer tool.