Free Trial

Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.

  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint
Share this Page URL
Help

Chapter 15. Non-SharePoint Functionality > Creating an InfoPath Host Applicatio...

Creating an InfoPath Host Application

As we mentioned earlier, there are many reasons that you may want to host InfoPath within your own application. The main reason comes down to the fact that you want to take advantage of the form-editing features in InfoPath without having to create your own form-editing application.

To make hosting possible, InfoPath 2010 includes its editing component packaged as an ActiveX control. Therefore, you can host InfoPath using any technology that allows you to host ActiveX controls, such as .NET Windows Forms applications, Microsoft Foundation Classes (MFC), or the Active Template Library (ATL). This also means that you can use C#, Visual Basic .NET, C++, or any other programming language that enables you to interface with the Component Object Model (COM). (As a side note, InfoPath does not include a redistributable package for the form-editing ActiveX control. Users of your application will still need to have InfoPath 2010 installed.)


  

You are currently reading a PREVIEW of this book.

                                                                                                                    

Get instant access to over $1 million worth of books and videos.

  

Start a Free Trial


  
  • Safari Books Online
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint