How to build Custom dialog boxes using infopath 2007 compatible framework? - InfoPath Dev Sign in | Join | Help in Code InfoPath (Entire Site) InfoPath Dev InfoPath Dev is dedicated to bringing you the information and tools you need to be successful in your Microsoft Office InfoPath development projects. Home Blogs Forums Photos Downloads InfoPath Dev » InfoPath » Code » How to build Custom dialog boxes using infopath 2007 compatible framework? How to build Custom dialog boxes using infopath 2007 compatible framework? Last post 08-30-2007 01:50 AM by psp1979. 4 replies. Page 1 of 1 (5 items) Sort Posts: Oldest to newest Newest to oldest Previous Next 08-25-2007 03:26 AM psp1979 Joined on 08-04-2007 Posts 5 How to build Custom dialog boxes using infopath 2007 compatible framework? Reply Contact Hello,I have infopath form in which my code behind has C# office 2007 compatibility support. On clicking on button on my infopath form I need to show custom dialog box, so I was wondering if I could achieve custom dialog boxes by incorporating some code in code behind of my infopath form. I found some tutorials over net as I noticed that ShowModalDialog can be used to show custom dialog box using office 2003 compatible object model of infopath forms. However I didn't find anything which can help me to build custom dialog boxes using office 2007 compatible model of infopath. Could anyone post me sample code using office 2007 compatible model that work similar to ShowModalDialog function? Also, are there any pros or cons of using Office 2007 compatible model of infopath than office 2003 compatible model in code behind of infopath form? If I am designing infopath forms for Office 2007 then which office XXX compatible model should I apply to my forms.Appreciate for your help. Thanks ~pSP 08-27-2007 12:51 PM In reply to Greg Collins Joined on 08-08-2006 Posts 2,126 Re: How to build Custom dialog boxes using infopath 2007 compatible framework? Mark as Not AnswerMark as Answer... Reply Contact I believe that David Airapetyan has done this using WinForms to create a custom dialog box, and then including that in the project and calling it up as needed. Sorry I don't hae any more details than this. Maybe david can respond. Please Visit:BraintroveGreg's Paintings 08-28-2007 12:40 AM In reply to psp1979 Joined on 08-04-2007 Posts 5 Re: How to build Custom dialog boxes using infopath 2007 compatible framework? Mark as Not AnswerMark as Answer... Reply Contact Thanks Greg. Is there any sample code available which was developed by David Airapetyan for custom dialog box? Would really appreciate. ~pSP 08-29-2007 03:37 PM In reply to davidair Joined on 01-14-2007 Canada Posts 282 Re: How to build Custom dialog boxes using infopath 2007 compatible framework? Mark as Not AnswerMark as Answer... Reply Contact Here is a blog post that addresses your issue: http://www.infopathdev.com/blogs/david/archive/2007/08/29/showing-custom-modal-dialogs-in-managed-code.aspx It contains a link to source code for the custom message box winform. David Airapetyan / Software Services ArchitectQdabra® Software / Streamline data gathering to turn process into knowledge 08-30-2007 01:50 AM In reply to psp1979 Joined on 08-04-2007 Posts 5 Re: How to build Custom dialog boxes using infopath 2007 compatible framework? Mark as Not AnswerMark as Answer... Reply Contact Thanks David. It worked for me :-) ~pSP Page 1 of 1 (5 items) Copyright © 2003-2019 Qdabra Software. All rights reserved.View our Terms of Use.
Also, are there any pros or cons of using Office 2007 compatible model of infopath than office 2003 compatible model in code behind of infopath form? If I am designing infopath forms for Office 2007 then which office XXX compatible model should I apply to my forms.
Thanks
I believe that David Airapetyan has done this using WinForms to create a custom dialog box, and then including that in the project and calling it up as needed.
Sorry I don't hae any more details than this. Maybe david can respond.
Thanks Greg. Is there any sample code available which was developed by David Airapetyan for custom dialog box?
Would really appreciate.
Here is a blog post that addresses your issue:
http://www.infopathdev.com/blogs/david/archive/2007/08/29/showing-custom-modal-dialogs-in-managed-code.aspx
It contains a link to source code for the custom message box winform.
Thanks David. It worked for me :-)