Cannot Find Microsoft.Office.Interop.InfoPath...

R

Rob V

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

S.Y.M. Wong-A-Ton

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/...aa-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).
 
R

Rob V

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
 
S

S.Y.M. Wong-A-Ton

You're welcome. :)
---
S.Y.M. Wong-A-Ton


Rob V said:
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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top