I'm searching for any small example how to automate Microsoft Excel or Visio with FTN95 .NET.
This small code runs into an error during compilation:
PROGRAM DotNetTest
! LIBRARY 'Microsoft.Office.Interop.Visio.dll' ! ASSEMBLY_EXTERNAL(NAME='Microsoft.Office.Interop.Visio.Documents.Add')NEWDOC ! OBJECT('Microsoft.Office.Interop.Visio.Application')VISIOAPP OBJECT('Microsoft.Office.Interop.Visio.Documents')VISIODOC ! END
The error code is:
*** Error 1117: The .NET method Microsoft.Office.Interop.Visio.Documents.Add was not found - have you forgotten a LIBRARY directive?
Thanks in advance for any help,
Detlef Pannhorst