|
-
Nov 2nd, 2000, 06:13 AM
#1
Thread Starter
Member
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
-
Nov 2nd, 2000, 02:59 PM
#2
If you have IIS5 (Windows2000) installed then you could use:
<% server.execute "myprogram.exe" %>
-
Nov 2nd, 2000, 05:49 PM
#3
Thread Starter
Member
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
-
Nov 4th, 2000, 07:38 PM
#4
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
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|