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.)