faqts : Computers : Programming : Languages : Asp : ASP/VBScript

+ Search
Add Entry AlertManage Folder Edit Entry Add page to http://del.icio.us/
Did You Find This Entry Useful?

29 of 68 people (43%) answered Yes
Recently 2 of 10 people (20%) answered Yes

Entry

How can I launch iexplore.exe on client computer from a server?

Apr 23rd, 2003 07:23
Craig Newbury, tuoc le,


I dont think  that you can launch a program from the server because of 
security reasons. Just think - if you could you could format the users 
hard drive.
You could try:
<%
Response.Redirect("file:///C:/Program%20Files/Internet%
20Explorer/IEXPLORE.EXE")
%>
or
<%
Server.Transfer("file:///C:/Program%20Files/Internet%
20Explorer/IEXPLORE.EXE")
%>
However you can put a hyperlink on the page that you visitor could 
click on e.g. <a target="_blank" href="file:///C:/Program%
20Files/Internet%20Explorer/IEXPLORE.EXE">internet explorer</a>, this 
would open it in a new window. The visitor would however have to click 
the open button on the file download alert box.
You could do it many other ways by just linking to it.



© 1999-2004 Synop Pty Ltd