Close InfoPath using Code - 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 InfoPath using Code Close InfoPath using Code Last post 06-22-2007 12:32 PM by aehicks. 2 replies. Page 1 of 1 (3 items) Sort Posts: Oldest to newest Newest to oldest Previous Next 06-22-2007 09:05 AM aehicks Joined on 01-18-2007 Posts 17 Close InfoPath using Code Reply Contact I have an infopath form that, for specific reasons, need to be able close using vbscipt. Right now I am using "Application.ActiveWindow.Close". Although the code works, I get a "catastrophic" error becuase of the code I am using. Any suggestions? 06-22-2007 10:12 AM In reply to davidair Joined on 01-15-2007 Canada Posts 282 Re: Close InfoPath using Code Mark as Not AnswerMark as Answer... Reply Contact Are you running InfoPath 2003? I think it has some issues with closing from code. Is your code running from the taskpane? David Airapetyan / Software Services ArchitectQdabra® Software / Streamline data gathering to turn process into knowledge 06-22-2007 12:32 PM In reply to aehicks Joined on 01-18-2007 Posts 17 Re: Close InfoPath using Code Mark as Not AnswerMark as Answer... Reply Contact Yes, I am running InfoPath 2003. My code is running from the "Edit Form Code..." property on a button. Page 1 of 1 (3 items) Copyright © 2003-2019 Qdabra Software. All rights reserved.View our Terms of Use.