M
Michael Hall
Hi,
I have installed the Office XP PIAs and it all works fine for word, excel
and so on.
But for Visio, Visual Studio will just not link to
Microsoft.Office.Interop.Visio.dll assembly, it just keeps creating a local
file called Interop.Visio.dll and referencing that. Whats strange is that the
application uses this completly fine and runs well (C# commandline
application)
Here are the steps I have taken:
1) Downloaded, the Office XP PIAs.
2) Ran the register.bat from a visual studio command prompt
3) Created a C# project and referenced the COM Word type libary (named:
Microsoft Word 10.0 Object Library) and Visio Type Library (Microsoft Visio
2002 Type Library (Service Release 1))
4) Coded application
Now...the Word reference's path is set to the location of the word interop
dll, but as I said the visio one is set to a local file called
Interop.Visio.dll not the Visio interop dll. I know the PIAs are installed
because I can see them in windows/assembly
Is visual studio generating this itself?
Also, as my application works with this. Its it ok to distribute this file
with it?
I have installed the Office XP PIAs and it all works fine for word, excel
and so on.
But for Visio, Visual Studio will just not link to
Microsoft.Office.Interop.Visio.dll assembly, it just keeps creating a local
file called Interop.Visio.dll and referencing that. Whats strange is that the
application uses this completly fine and runs well (C# commandline
application)
Here are the steps I have taken:
1) Downloaded, the Office XP PIAs.
2) Ran the register.bat from a visual studio command prompt
3) Created a C# project and referenced the COM Word type libary (named:
Microsoft Word 10.0 Object Library) and Visio Type Library (Microsoft Visio
2002 Type Library (Service Release 1))
4) Coded application
Now...the Word reference's path is set to the location of the word interop
dll, but as I said the visio one is set to a local file called
Interop.Visio.dll not the Visio interop dll. I know the PIAs are installed
because I can see them in windows/assembly
Is visual studio generating this itself?
Also, as my application works with this. Its it ok to distribute this file
with it?