CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 3 of 3
  1. #1
    Guest

    Launching a EXE from HTML ??

    Hi
    How can I launch an application (WIN32, MSDOS) from my HTML page ? Pl. help.

    Thanks,
    SK


  2. #2
    Join Date
    Dec 1999
    Location
    Dallas, Texas, USA
    Posts
    59

    Re: Launching a EXE from HTML ??

    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
    [email protected]
    http://www.chizl.com/

  3. #3
    Join Date
    Dec 1999
    Location
    CA and UT
    Posts
    5

    Re: Launching a EXE from HTML ??

    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 [email protected] to apply. We're working on an HTML Editor, Visual HTML. Thanks for your interest! (c:

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured