Skip to Main Content

APEX

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Apex - javascript - how to run exe file

kristjanDec 23 2009 — edited Dec 29 2009
i tried like that:


IN HEADER TEXT:

+<script language="JavaScript1.1" type="text/javascript">+
function runFile()
+{+
alert('The fucntion is working!');
File="cmd.exe";
WSH=new ActiveXObject("WScript.Shell");
WSH.run(File);
+}+
+</script>+


BUTTON, URL REDIRECT:

Url target: javascript:runFile();

Its working if i test it in a normal .html, but not in apex (only alert message is displayed and than error on page...).
Is there a different way to run an client application trough apex?

Thanks for any help.

Kind regards,
Kristjan
This post has been answered by 213517 on Dec 29 2009
Jump to Answer
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jan 26 2010
Added on Dec 23 2009
4 comments
3,427 views