Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / General MS InfoPath Questions / August 2007

Tip: Looking for answers? Try searching our database.

Add reference to InfoPath in VS 2005 (c#) not visible

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Emil - 24 Aug 2007 20:49 GMT
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.
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.