Close InfoPath using Code - InfoPath Dev
in

InfoPath Dev

Close InfoPath using Code

Last post 06-22-2007 12:32 PM by aehicks. 2 replies.
Page 1 of 1 (3 items)
Sort Posts: Previous Next
  • 06-22-2007 09:05 AM

    Close InfoPath using Code

    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

    Re: Close InfoPath using Code

    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 Architect
    Qdabra® Software / Streamline data gathering to turn process into knowledge
  • 06-22-2007 12:32 PM In reply to

    Re: Close InfoPath using Code

    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.