Eric'o'theque!
Friday, May 26, 2006

 

Maybe you're a big InfoPath fan and have downloaded the public beta. Hmm, and you hear that we actually have done a lot of hard work to make InfoPath 2007 hostable within your own code.

How do you figure out how to use this spiffy control so that you can integrate InfoPath 2007's ability to edit structured data within your application? Use the Source: Download details: Using IOLECommands with the InfoPath Form Control

We'll follow-up with more details on the InfoPath Team Blog but for right now, if you're the dive in and do it technical sort, we've done a lot of hard work to code up a .NET application example of hosting the InfoPath control.

I-O-What? you might ask. Well, first there's hosting the control and calling into it via methods and interfaces it provides. Then there's doing jazzy stuff like hooking up menu and toolbar items so that you have an InfoPath-like experience (like editing within rich-text fields). You need to use IOLECommands for that, and there are specific parameters you need to pass. So once again: Use the Source.

(One small warning: we will be moving some of the commands into just plain query status when the next public release comes. Meaning? Well, we'll be re-releasing this example to show you we've simplified and streamlined a few things. You'll need to match and recompile. Sorry about that, but it's for your benefit.)

 
Comments: Post a Comment

Links to this post:

Create a Link



<< Home
Eric Richards' place of techno (as in technology) happiness, rants, and corporate love. I work in Microsoft Office as a development lead.

 My Photo
Name: EricRi
Location: Redmond, Washington, US

email: Eric_Richards at ericri dot com

Lots More About Eric.

Eric-isms
Archives
May 2005
August 2005
November 2005
January 2006
February 2006
March 2006
April 2006
May 2006
June 2006
July 2006
August 2006
September 2006
October 2006
November 2006
December 2006

Disclaimer

Disclaimer: The postings (and comments) here represent personal point of views and in no way represent the point of view or official opinions of my employer (Microsoft Corporation). The postings here are provided "AS IS" with no warranties, and confers no rights. And if you're reading this blog, you're not only incredibly discerning, you're also knee-weakening good looking.


More blogs about Eric Richards.

Powered by Blogger