Can you compile an Office Class Library of available functions
(basically just exposing an Office Interop) and then make that
available on your server as a Web Service?

Taf

P.S. Is WORD a type that the interpreter is getting confused?



> Server Error in '/EHSAccidentNearMiss' Application.
> --------------------------------------------------------------------------------
>
> Compilation Error
> Description: An error occurred during the compilation of a resource
> required to service this request. Please review the following specific
> error details and modify your source code appropriately.
>
> Compiler Error Message: BC30002: Type
> 'Microsoft.Office.Interop.Word.Application' is not defined.
>
> Source Error:
>
> Line 338:
> Line 339:        'Dim strFileName As String
> Line 340:        Dim word As New
> Microsoft.Office.Interop.Word.Application
> Line 341:        Dim doc As Microsoft.Office.Interop.Word.Document
> Line 342:
>
> Source File: c:\inetpub\wwwroot\EHSAccidentNearMiss
> \AccidentNMForm.aspx.vb    Line: 340

Reply via email to