I have created a ActiveX dll in
VB to open a word template and then create a new word file with certain data. I am using this dll in an ASP page and it gives me "Permission Denied" error. The code in the dll
====================================
Dim wdApp As New Word.Application
Dim sSourcePath As String
'sSourcePath = "c:\Complete\W_532A_R.dot"
sSourcePath = App.Path & "\Complete\W_532A_R.dot"
wdApp.Documents.Open sSourcePath
====================================
The last line causes the error when used through ASP with the path specified both ways(commented & uncommented). The dll works fine if used in another
VB app on the server.
The folder where the dll and the Word template is stored has full access for everyone including the IUSR... user.
Please Help.
Thanks
RB