Results 1 to 4 of 4

Thread: Startup EXE from ASP page

  1. #1

    Thread Starter
    Member
    Join Date
    Oct 2000
    Location
    Netherlands
    Posts
    54
    Does anyone know a command for starting up an executable with a known location and load a file in that application in one go from an ASP page?

    I know the VB ShellExecute and Shell options, but does anyone has some readymade ASP-code?

    I want to avoid to do it through a link which always comes with the open and save as dialog.
    A mind is like a parachute, it has to open to let it work
    www.2beesoft.com for Icon Manager with over 20.000 free icons
    VB6 Ent. SP4, ASP, W2000/W98

  2. #2
    Guest

    Lightbulb

    If you have IIS5 (Windows2000) installed then you could use:

    <% server.execute "myprogram.exe" %>

  3. #3

    Thread Starter
    Member
    Join Date
    Oct 2000
    Location
    Netherlands
    Posts
    54

    Unhappy I haven't

    My company's Intranet hasn't, and judging by the service level of my company's servise desk they won't have in quite some time either. Thanx anyway.
    A mind is like a parachute, it has to open to let it work
    www.2beesoft.com for Icon Manager with over 20.000 free icons
    VB6 Ent. SP4, ASP, W2000/W98

  4. #4
    Guest
    well, first of all, "Programming till i drop", i hope you dropped, if not please read the asp documentation before posting, Server.Execute executes .asp files, not executables. Look here for more info: http://msdn.microsoft.com/library/de...f/vbob9pid.htm

    As for running executables from your asp pages, don't do it, figure out a way to do with in proc components, it'll be significantly faster than executing an Exe. If you want the pain of executing an [ActiveX] .Exe then you need to do a registry hack for IIS 4.0[IIS 5.0 ignores the hack, more info: http://support.microsoft.com/support.../Q233/9/68.ASP]. The IIS 4 hack for launching out of process components(ActiveX Exe's to clarify) can be found here:
    http://support.microsoft.com/support.../Q184/6/82.ASP


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