For some odd reason, I cannot locate the COM library,
Microsoft.Office.Interop.InfoPath.
I can see it in the GAC (C:\WINDOWS\assembly), but, when I try to add a
reference to it from within a Visual Studio Project, it is no where to be
found. As well, do not see it under c:\program files\Microsoft Office\Office
12.
I have reinstalled InfoPath 2007 with no success.
Any suggestions would be greatly appreciated.
For the record, I am running Visual Studio 2005 with VTSO and Office 12
installed, including InfoPath 2007.
Thanks in advance.
Rob Vettor
S.Y.M. Wong-A-Ton - 05 Feb 2007 06:38 GMT
Did you select ".NET Programmability Support" under "Microsoft Office
InfoPath" when installing InfoPath? This installs the PIA for InfoPath.
Another option is to download the PIAs for Office 2007 and install
them(http://www.microsoft.com/downloads/details.aspx?FamilyID=59daebaa-bed4-4282-a28c
-b864d8bfa513&DisplayLang=en).
You could also just copy the DLL from the GAC (use a command window to
navigate to C:\Windows\Assembly\etc. and copy the DLL to another location
that is accessible from VS).
---
S.Y.M. Wong-A-Ton
> For some odd reason, I cannot locate the COM library,
> Microsoft.Office.Interop.InfoPath.
[quoted text clipped - 13 lines]
> Thanks in advance.
> Rob Vettor
Rob V - 05 Feb 2007 18:40 GMT
S.Y.M. Wong-A-Ton ...
Thanks a million. I ended up copying the dll out of the GAC into another
directory.
Interesting that on install of InfoPath, I did check the ".NET
Programmability Support" under "Microsoft Office. In fact, I
uninstalled/reinstalled twice just to make sure. However, could never find
the Microsoft.Office.Interop.InfoPath dll.
But, I'm good to go now. Thanks again for your help.
btw, a good reference source for the command to copy out of the dll -->
http://www.lcbridge.nl/download/gacaid.htm
Rob Vettor
> Did you select ".NET Programmability Support" under "Microsoft Office
> InfoPath" when installing InfoPath? This installs the PIA for InfoPath.
[quoted text clipped - 23 lines]
> > Thanks in advance.
> > Rob Vettor
S.Y.M. Wong-A-Ton - 06 Feb 2007 02:51 GMT
You're welcome. :)
---
S.Y.M. Wong-A-Ton
> S.Y.M. Wong-A-Ton ...
>
[quoted text clipped - 40 lines]
> > > Thanks in advance.
> > > Rob Vettor