Windows Develop Bookmark and Share   
 index > Windows Forms Sample Applications > Problem with InfoPath2007IOleCommands Sample
 

Problem with InfoPath2007IOleCommands Sample

Hi
I download InfoPath2007IOleCommands sample from microsoft download site.
when I open this solution and tye to build it. I get 49 error in Commands.c
 such as:
'Microsoft.Office.InfoPath.FormControlCommandIds.CommandIds' does not 
contain a definition for 'IsFontFormattingBold' 
'Microsoft.Office.InfoPath.FormControlCommandIds.CommandIds' does not 
contain a definition for 'IsFontFormattingUnderline' 
'Microsoft.Office.InfoPath.FormControlCommandIds.CommandIds' does not 
contain a definition for 'IsSpellingOptionCheckAsYouTypeOn'
and ...

I check FormControlCommandIds.CommandIds Enumeration in MSDN and this does 
not contain any of thoes commands. 
but in this sample Used those commands!

how I can fix this problem.
thanks.
farsad ghaffarian  Saturday, May 10, 2008 3:34 AM

The VSTO forum targets the VSTO technology. VSTO is not the equivalent of "Office interop" - it's a set of tools that extends the UI of some Office 2003 and 2007 applications. Looking at the information on the Download page, one sees that this is a sample for a Windows Forms application - nothing to do with VSTO. This question is off-topic in the VSTO forum.

At the bottom of the article related to the download there's a list of links for relevant sites, I suggest you try those.

Apparently, the author, Mike Talley, doesn't have ablog. But this article is mentioned in another blog, and the persons there invite questions. So you might ask them.

I'm moving this message thread to a WinForms forum.

Cindy Meister  Sunday, May 11, 2008 3:47 PM

You can use google to search for other answers

Custom Search

More Threads

• Where to get the C# source for TaskVision
• Maneuvering Objects
• .Net Terrarium
• Visual Studio.net cannot find "System.Drawing"
• Extensive Debug environment in new Terrarium?
• PocketTaskVision in VB.NET?
• State of Affairs
• When will Terrarium work with C# Express?
• Server Install Error: The parameter is incorrect. (taskvisionsource_1.1.0.0.msi)
• Terrarium Status -- Contest, Framework 1.1