|
I am attempting to launch a PC application from a Web Faced screen. I am
able to do this with the follow html coding.
<script language="JavaScript">
function launchApp(strCmdLine) {var obj = new
ActiveXObject("LaunchinIE.Launch"); obj.LaunchApplication(strCmdLine);}
</script>
<a
href="javascript:launchApp('c:\\program%20files\\microsoft%20office\\office1
1\\winword.exe')">Launch Word!</a>
The problem being is that this produces a link and they want a button. I
have tried the following without success.
<script language="JavaScript">
function launchApp(strCmdLine) {var obj = new
ActiveXObject("LaunchinIE.Launch"); obj.LaunchApplication(strCmdLine);}
</script>
<INPUT TYPE="button"
onClick="javascript:launchApp('c:\\program%20files\\microsoft%20office\\offi
ce11\\winword.exe')">
This does produce a button on the web screen. However, it does nothing. The
logs do not show any errors. Any suggestions?
Thanks in advance!
Nick W. Mart
Programmer Analyst
Solutions, Inc.
2311 West 18th Street
PO Box 857
Spencer, IA 51301
712-262-4520 ext. 28
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2025 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.