Problem with InfoPath2007IOleCommands Sample

F

Farsad

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.
 

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