Hi,
Is it possible to access a file via a link in a webpage?
Currently I'm executing a script that opens a file in excel:
<SCRIPT LANGUAGE=3DVBScript>
Dim objExcel
Sub Btn1_onclick()
call OpenWorkbook("http://localhost:9090/webdav/path/file.xls/")
End Sub
Sub OpenWorkbook(strLocation)
Set objExcel =3D CreateObject("Excel.Application")
objExcel.Visible =3D true
objExcel.Workbooks.Open strLocation
objExcel.UserControl =3D true
End Sub
</SCRIPT>
However this does not execute the Lock and the file is opened as read
only.
Can anyone help?