sjravee is right, is a major security hazard when you execute progrmas (not pass the documents from the server to the client like the example of goatstudio) but if you really need to do it, by default IIS doesn't allow you to execute an Application. You have to fix a key in the registry to do it. At least in IIS4
You can add controls to web pages which can do their work locally. You will have to give it the permission needed. Describe the goal, and perhaps there is a server-side method of achieving it using the office app of your choice. Jonathan Galpin
Basically when you logon to your PC I want Internet Explorer be in the startup group and open the companys intranet. On the default page of the intrnet will be shortcuts instead of on the desktop to open our users programs. E.g. shortcuts to all the office apps - when a user click on say Word - word will open. Matthew Wilde
matthew@ukwebsite.com
You could use Automation to do this although it requires ActiveX controls so will not work with Netscape. I have a site with links to word,excel,powerpoint documents that open the documents in the clients copy of word/excel/powerpoint.
The client browser needs to be configured to allow scripting of ActiveX controls. If it's for an Intranet then you have a degree of control over your audience so you could create a setup file (as we did) to modify the registry to allow these ActiveX controls to be run from the client.
Let me know if you want any more info on how we dd this
GIven that office apps generally reside in the same spots on computers (program files/microsoft office/office or some such), why not make links like
<a href="c:\program files\microsoft office\office\winword.exe">Open M$ Word</a> codestorm
Fire bad. Tree pretty. - Buffy
select * from population where talent > 'average'
<insert witticism here>
<html>
<head></head>
<body bgcolor="#FFFFFF" topmargin="1" leftmargin="3" onunload="killAll()">
<script language=vbscript>
dim ex
dim wd
dim ppt
sub launchExcel()
set ex = createobject("Excel.application"
ex.visible= true
end sub
sub launchWord()
set wd = createobject("Word.application"
wd.visible= true
end sub
sub launchPPT()
set ppt = createobject("PowerPoint.application"
ppt.visible= true
end sub
sub killAll()
on error resume next
set ex=nothing
wd.quit
set wd=nothing
ppt.quit
set ppt=nothing
end sub
</script>
<a href="#" onclick="launchExcel(); return false">Excel</a><br>
<a href="#" onclick="launchWord(); return false">word</a><br>
<a href="#" onclick="launchPPT(); return false">PPT</a><br>
Yeah, it should work as long as you have word installed on your pc, you may need to do a full install of office for the automation to work, im not 100% sure about that though
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.