Close form when user - 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 » Close form when user Close form when user Last post 11-20-2008 01:02 AM by sandhyapati. 1 replies. Page 1 of 1 (2 items) Sort Posts: Oldest to newest Newest to oldest Previous Next 11-20-2008 12:55 AM norale Joined on 08-03-2007 Posts 39 Close form when user Reply Contact hi, can infopath handles close when user close the browser? in .net, we can use HandleOnClose() function if user close the browser. Does InfoPath provides the same function? Thanks.. 11-20-2008 01:02 AM In reply to sandhyapati Joined on 06-12-2008 Posts 54 Re: Close form when user Mark as Not AnswerMark as Answer... Reply Contact Hi, you can use the following code for closing the form XDocument.View.Window.Close(true); if you want to close the whole InfoPath application you can use Application.ActiveWindow.Close(); Thanks,Sandhya Page 1 of 1 (2 items) Copyright © 2003-2019 Qdabra Software. All rights reserved.View our Terms of Use.
hi, can infopath handles close when user close the browser?
in .net, we can use HandleOnClose() function if user close the browser.
Does InfoPath provides the same function?
Thanks..
Hi,
you can use the following code for closing the form
XDocument.View.Window.Close(true);
if you want to close the whole InfoPath application you can use
Application.ActiveWindow.Close();