<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: how to remove my profiles when acad quit in .NET Forum</title>
    <link>https://forums.autodesk.com/t5/net-forum/how-to-remove-my-profiles-when-acad-quit/m-p/6759901#M33431</link>
    <description>&lt;P&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/481027"&gt;@Alexander.Rivilis&lt;/a&gt; thank you very much.It's OK!&lt;/P&gt;</description>
    <pubDate>Tue, 20 Dec 2016 07:51:45 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2016-12-20T07:51:45Z</dc:date>
    <item>
      <title>how to remove my profiles when acad quit</title>
      <link>https://forums.autodesk.com/t5/net-forum/how-to-remove-my-profiles-when-acad-quit/m-p/6759649#M33426</link>
      <description>&lt;P&gt;I try this,but fail.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;void AcadApp_BeginQuit(object sender, EventArgs e)

{
        AcadApplication app = (AcadApplication)AcadApp.AcadApplication;   &lt;FONT color="#FF0000"&gt;&amp;lt;--app is null   &lt;/FONT&gt;         
         string myProfile = app.Preferences.Profiles.ActiveProfile;
         app.Preferences.Profiles.DeleteProfile(myProfile);
}&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 20 Dec 2016 02:41:38 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/how-to-remove-my-profiles-when-acad-quit/m-p/6759649#M33426</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-12-20T02:41:38Z</dc:date>
    </item>
    <item>
      <title>Re: how to remove my profiles when acad quit</title>
      <link>https://forums.autodesk.com/t5/net-forum/how-to-remove-my-profiles-when-acad-quit/m-p/6759725#M33427</link>
      <description>&lt;P&gt;Error tip:Com object cannot convert to interface.HRESULT:0x80004002 (E_NOINTERFACE).&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;Autodesk.AutoCAD.Interop.AcadApplication app = (Autodesk.AutoCAD.Interop.AcadApplication)Autodesk.AutoCAD.ApplicationServices.Application.AcadApplication;&lt;/PRE&gt;</description>
      <pubDate>Tue, 20 Dec 2016 04:37:26 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/how-to-remove-my-profiles-when-acad-quit/m-p/6759725#M33427</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-12-20T04:37:26Z</dc:date>
    </item>
    <item>
      <title>Re: how to remove my profiles when acad quit</title>
      <link>https://forums.autodesk.com/t5/net-forum/how-to-remove-my-profiles-when-acad-quit/m-p/6759774#M33428</link>
      <description>&lt;P&gt;You have to delete profile using registry methods while AutoCAD quitting.&lt;/P&gt;</description>
      <pubDate>Tue, 20 Dec 2016 05:51:25 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/how-to-remove-my-profiles-when-acad-quit/m-p/6759774#M33428</guid>
      <dc:creator>Alexander.Rivilis</dc:creator>
      <dc:date>2016-12-20T05:51:25Z</dc:date>
    </item>
    <item>
      <title>Re: how to remove my profiles when acad quit</title>
      <link>https://forums.autodesk.com/t5/net-forum/how-to-remove-my-profiles-when-acad-quit/m-p/6759803#M33429</link>
      <description>&lt;P&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/481027"&gt;@Alexander.Rivilis&lt;/a&gt; thank you.I try update the Registry.The profile is set to default.But the AutoCad do not restore the origion UI when restart AutoCAD.(see the pic)&lt;/P&gt;
&lt;P&gt;Need to switch workspace to other workspace,the UI is OK.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="fdj.png" style="width: 705px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/304086i2EBAE345A33DB970/image-size/large?v=v2&amp;amp;px=999" role="button" title="fdj.png" alt="fdj.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 20 Dec 2016 06:29:33 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/how-to-remove-my-profiles-when-acad-quit/m-p/6759803#M33429</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-12-20T06:29:33Z</dc:date>
    </item>
    <item>
      <title>Re: how to remove my profiles when acad quit</title>
      <link>https://forums.autodesk.com/t5/net-forum/how-to-remove-my-profiles-when-acad-quit/m-p/6759849#M33430</link>
      <description>&lt;P&gt;@Anonymous&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#0000FF"&gt;&amp;gt;&amp;gt;&amp;gt;Need to switch workspace to other workspace,the UI is OK.&amp;lt;&amp;lt;&amp;lt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#000000"&gt;1. You have to switch profile to other before delete current profile:&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#000000"&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="2016-12-20_9-00-29.png" style="width: 705px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/304095i575AE613AF276DBF/image-size/large?v=v2&amp;amp;px=999" role="button" title="2016-12-20_9-00-29.png" alt="2016-12-20_9-00-29.png" /&gt;&lt;/span&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#000000"&gt;2. You have to set WORKSPACE (WSCURRENT) to other:&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#000000"&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="2016-12-20_9-02-34.png" style="width: 705px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/304096iB035F2F7496294E8/image-size/large?v=v2&amp;amp;px=999" role="button" title="2016-12-20_9-02-34.png" alt="2016-12-20_9-02-34.png" /&gt;&lt;/span&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 20 Dec 2016 07:05:22 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/how-to-remove-my-profiles-when-acad-quit/m-p/6759849#M33430</guid>
      <dc:creator>Alexander.Rivilis</dc:creator>
      <dc:date>2016-12-20T07:05:22Z</dc:date>
    </item>
    <item>
      <title>Re: how to remove my profiles when acad quit</title>
      <link>https://forums.autodesk.com/t5/net-forum/how-to-remove-my-profiles-when-acad-quit/m-p/6759901#M33431</link>
      <description>&lt;P&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/481027"&gt;@Alexander.Rivilis&lt;/a&gt; thank you very much.It's OK!&lt;/P&gt;</description>
      <pubDate>Tue, 20 Dec 2016 07:51:45 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/how-to-remove-my-profiles-when-acad-quit/m-p/6759901#M33431</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-12-20T07:51:45Z</dc:date>
    </item>
  </channel>
</rss>

