# Closing the App

**URL:** <https://tech-community.robotics.abb.com/t/closing-the-app/2565>\
**Category:** Developer Tools\
**Created:** [March 4, 2009, 9:29pm UTC](https://tech-community.robotics.abb.com/t/closing-the-app/2565 "2009-03-04T21:29:46Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![wolfino](https://dub1.discourse-cdn.com/flex005/user_avatar/tech-community.robotics.abb.com/wolfino/32/3246_2.png) [@wolfino](https://tech-community.robotics.abb.com/u/wolfino)\
**Post date:** [March 4, 2009, 9:29pm UTC](https://tech-community.robotics.abb.com/t/closing-the-app/2565/1 "2009-03-04T21:29:46Z")

</div>

Hello, does anyone know whether it is possible to do it so that my app close it self? (instead of pressing the close button)  
I have tryed the Closeme() method. But it just close the form otherwise it stays active.

thanks wolfino

---

<div class="post-metadata">

**Author:** ![RussD](https://avatars.discourse-cdn.com/v4/letter/r/dec6dc/32.png) [@RussD](https://tech-community.robotics.abb.com/u/RussD)\
**Post date:** [March 5, 2009, 12:54am UTC](https://tech-community.robotics.abb.com/t/closing-the-app/2565/2 "2009-03-05T00:54:30Z")

</div>

Yes, this is a new feature in 5.11, but subject to the following caveat described in the Release Notes:

“Support for closing an FP SDK application programmatically by calling CloseMe from the view class (the first view). Limitation: Client views will be removed from TAC when first view is a TpsForm, not when it is a TpsControl”

So check which base class your view class inherits from, and try it again after changing it to TpsForm (if necessary).

---

<div class="post-metadata">

**Author:** ![wolfino](https://dub1.discourse-cdn.com/flex005/user_avatar/tech-community.robotics.abb.com/wolfino/32/3246_2.png) [@wolfino](https://tech-community.robotics.abb.com/u/wolfino)\
**Post date:** [March 6, 2009, 1:39pm UTC](https://tech-community.robotics.abb.com/t/closing-the-app/2565/3 "2009-03-06T13:39:46Z")

</div>

Thank you very much for the answer ! iam going to try.
