There is an undocumented activex control shipped with Office 2003 that can be used to open a document directly into office from a web page link to a webdav resource. It locks the document in the process. This is the control that SharePoint uses.
-----Original Message----- From: Miguel Figueiredo [mailto:[EMAIL PROTECTED] Sent: Tuesday, December 06, 2005 12:45 PM To: 'Slide Users Mailing List' Subject: RE: Direct Link to a resource Bom dia, I don't believe it's possible to use MS Office webdav features unless you are using them through MS WebFolders interface. It means the results you are having would be the ones I would expect when opening a file from the IE, or opening them through an office application. Nevertheless, there is a workaround I managed to store for a (maybe) future use, that would transform an URL into a webfolders link. Found these snippets (as attachment) in the slide users mailing list, don't remember who delivered them, but all credits are due to him. Espero k ajude, Miguel Figueiredo -----Original Message----- From: Rocha, Joaquim Fernando [mailto:[EMAIL PROTECTED] Sent: terça-feira, 6 de Dezembro de 2005 12:55 To: [email protected] Subject: Direct Link to a resource 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? --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
