Hi,
I want to email a InfoPaht form from an existing Visual Studio project and I
want to add a reference to InfoPath, but
the Microsoft.Office.InfoPath is not visible in the list of COM objects.
I have both VSTA and VSTO intalled on my machine.
If I start a VSTO project from scratch it will add a reference to
Microsoft.Office.InfoPath, pointing to :
C:\WINDOWS\assembly\GAC_MSIL\Microsoft.Office.InfoPath\12.0.0.0__71e9bce111e9429c\Microsoft.Office.InfoPath.dll
I cannot browse to this location if I try to add a reference by browsing the
file system.
Shouldn't a reference to Microsoft.Office.Interop.Infopath be available?
I'm using XP Professional with Infopath 2007 and VS 2005.
S.Y.M. Wong-A-Ton - 25 Aug 2007 07:02 GMT
You cannot reference an assembly directly from the GAC, but you can copy that
assembly, put it elsewhere and reference it from there. Another option is to
browse to the assembly from within Visual Studio to add a reference to it.
The Microsoft.Office.InfoPath and Microsoft.Office.Interop.InfoPath
assemblies are located in C:\Program Files\Microsoft Office\Office12.
---
S.Y.M. Wong-A-Ton
> Hi,
> I want to email a InfoPaht form from an existing Visual Studio project and I
[quoted text clipped - 12 lines]
>
> I'm using XP Professional with Infopath 2007 and VS 2005.