Actually, while investigating this problem, I discovered something that I didn't know existed in Windows.  HTML Applications (.HTA).  This system lets you write applications in HTML/vbscript/_javascript_ that run just like an executable.  Just rename the .html extension to .hta and double-click.  The click of a link still needed some vbscript to prevent the Open/Save dialog, but it's working very well now.
 
This could be very handy.  I can see it being used instead of batch files for doing simple tasks like multiple silent installations etc, but with a much nicer interface, and the option to ask for user input etc.  Frontpage becomes the IDE :-)
 
Cheers,
Ross.
----- Original Message -----
Sent: Friday, December 17, 2004 3:29 PM
Subject: RE: [DUG] [Off-Topic] Run EXE's from local HTML page

You could do it with the HTML display Control from that guy "PBear" and  (www.pbear.com) This lets you trap the clicking of linsk etc.
It would need to be an application, but it would work.
 
Jeremy
-----Original Message-----
From: "Wilkin, Kurt" <[EMAIL PROTECTED]>
To: "NZ Borland Developers Group - Delphi List" <[EMAIL PROTECTED]>
Date: Fri, 17 Dec 2004 15:18:17 +1300
Subject: RE: [DUG] [Off-Topic] Run EXE's from local HTML page

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Ross Levis
Sent: Thursday, 16 December 2004 1:40 p.m.
To: NZ Borland Developers Group - Delphi List
Subject: [DUG] [Off-Topic] Run EXE's from local HTML page

I've written an HTML web page to burn onto CD's along with my software, and will AutoRun when inserted.  The page has some links to a few executables on the CD.  But for the life of me I can't get the executables to run when they are clicked.  This works fine from a website with the usual security warnings, but what is going on here?  Any ideas?  A better method?
 
Regards,
Ross. 
_______________________________________________
Delphi mailing list
[EMAIL PROTECTED]
http://ns3.123.co.nz/mailman/listinfo/delphi

Reply via email to