Wrox Programmer Forums
|
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Flash (all versions) section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old August 22nd, 2003, 05:55 AM
Authorized User
 
Join Date: Aug 2003
Posts: 20
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to ells228
Default Flash to load external Programme

Hi,

Is there a way in Flash that I can make a button open an external .exe programme

If i use the GetURL command, i get a warning about .exe files.


Cheers,
C.

Chris Ellis
Icon-Business Ltd
www.icon-business.net
[email protected]
__________________
Cheers,
C.

Chris Ellis
Icon-Business Ltd
www.icon-business.net
[email protected]
 
Old January 5th, 2007, 12:14 AM
Friend of Wrox
 
Join Date: Oct 2003
Posts: 479
Thanks: 0
Thanked 3 Times in 3 Posts
Send a message via MSN to surendran Send a message via Yahoo to surendran
Default

hai,
still are you looking a solution for this,
if please make a file .hta file and paste following code, and call the hta file. it will open you the exe file without warning.

exeopen.hta

<HTML>
<title>Scan</title>
<HTA:APPLICATION
     ID="Test"
     SHOWINTASKBAR="yes"
     SINGLEINSTANCE="yes"
     SYSMENU="yes"
     WINDOWSTATE="normal"
     MAXIMIZEBUTTON="no"
     MINIMIZEBUTTON="yes">
<SCRIPT>
 function PROCRun()
 {
 var shell = new ActiveXObject("WScript.Shell");
 shell.run('"C:\\WINDOWS\\notepad.exe"', 1, false );

 self.close();
 }
 </SCRIPT>
 <BODY onload='PROCRun();'>
</form>
</BODY>
</HTML>

surendran
(Anything is Possible)
http://ssuren.spaces.msn.com





Similar Threads
Thread Thread Starter Forum Replies Last Post
flash button not causing page load event olambe Flash (all versions) 3 June 22nd, 2007 10:17 PM
please help, how to load external application hard boiled Beginning VB 6 3 June 11th, 2007 03:47 PM
i need help about c++ programme skyelva C++ Programming 2 November 8th, 2006 09:36 PM
Load external script within Page_Load Event kwilliams General .NET 0 October 9th, 2006 10:56 AM
flash button not causing page load event olambe BOOK: ASP.NET Website Programming Problem-Design-Solution 1 June 27th, 2004 09:02 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.