Good day,
I have a intranet page which displays multiple files that users can open. I need the files to open in the office application it needs to, for example Excel files must open in Excel. I have code that works:
<SCRIPT LANGUAGE=VBScript>
Dim objExcel
Sub OpenEXCELFile(sFile)
Call OpenWorkbook(sFile)
End Sub
Sub OpenWorkbook(strLocation)
Set objExcel = CreateObject("Excel.Application")
objExcel.Visible = True
objExcel.Workbooks.Open strLocation
objExcel.UserControl = True
End Sub
</SCRIPT>
The problem with this is I need to change the Local Intranet secruity settings on each PC for the code to work properly. Does anyone know another way of opening a file in its application or otherwise how to programmatically change the local intranet security settings to LOW?
Thanks