Click to See Complete Forum and Search --> : Launching a EXE from HTML ??


December 9th, 1999, 10:26 AM
Hi
How can I launch an application (WIN32, MSDOS) from my HTML page ? Pl. help.

Thanks,
SK

Chizl
December 10th, 1999, 01:02 AM
You will have to create a COM object then download it to the client. From your HTML you can use Clint side code to access the object telling it to launch applications. That COM object would be what access the application not the HTML. Unless of course the application your accessing it a COM object.

JavaScript
var o = ActiveObject("Object.Class");

VBScript
set o = CreateObject("Object.Class");

--
Chizl
chizl@NOSPAM.karland.com
http://www.chizl.com/

vhtml
December 29th, 1999, 08:01 PM
You can't using straight HTML. Doing so would be a MAJOR security breach. Microsoft or Netscape couldn't allow that. You basically can't execute anything on the user's side. If you want to execute something on the server-side and you're using ASP, you could write a simple active-x dll that calls the ShellExecute API and then use that component in your page, but otherwise it's not possible on client-side. Wish I could help ya more, but that's the best I can do! (c; Have a great day! Bye!!


Sincerely,
- David Hoyt -
We're currently looking for any programmer who wants to join our programming team. Please check out the website for more information. Feel free to e-mail me at vhtml@hotmail.com to apply. We're working on an HTML Editor, Visual HTML. Thanks for your interest! (c: