G
Guest
Dear All,
Actually I am trying to open a word document in my ASP.net application.
I
am using the following code in Form Load Event:
Dim oWord As New Word.Application
Dim oDoc As Word.Document
oWord = CreateObject("Word.Application")
oWord.Visible = True
oDoc = oWord.Documents.Add
I am geting an error of Access denied. I have installed Primary Interop
Assemblies (PIAs) for Office XP and also have added reference (COM Library)
But still I am geting this error I know that I have to setup some sort of
permissions. But dont know where.
Any help would be greatly appreciated.
Cheers,
Sunil Sabir
Actually I am trying to open a word document in my ASP.net application.
I
am using the following code in Form Load Event:
Dim oWord As New Word.Application
Dim oDoc As Word.Document
oWord = CreateObject("Word.Application")
oWord.Visible = True
oDoc = oWord.Documents.Add
I am geting an error of Access denied. I have installed Primary Interop
Assemblies (PIAs) for Office XP and also have added reference (COM Library)
But still I am geting this error I know that I have to setup some sort of
permissions. But dont know where.
Any help would be greatly appreciated.
Cheers,
Sunil Sabir