<?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 make a code run automatically when autocad is opened every time? (without showing the security- executable file message) in .NET Forum</title>
    <link>https://forums.autodesk.com/t5/net-forum/how-to-make-a-code-run-automatically-when-autocad-is-opened/m-p/11135462#M13061</link>
    <description>&lt;P&gt;Consider using Autoloader:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://adndevblog.typepad.com/autocad/2013/01/autodesk-autoloader-white-paper.html" target="_blank"&gt;https://adndevblog.typepad.com/autocad/2013/01/autodesk-autoloader-white-paper.html&lt;/A&gt;&lt;/P&gt;</description>
    <pubDate>Thu, 28 Apr 2022 14:29:30 GMT</pubDate>
    <dc:creator>BlackBox_</dc:creator>
    <dc:date>2022-04-28T14:29:30Z</dc:date>
    <item>
      <title>how to make a code run automatically when autocad is opened every time? (without showing the security- executable file message)</title>
      <link>https://forums.autodesk.com/t5/net-forum/how-to-make-a-code-run-automatically-when-autocad-is-opened/m-p/11135112#M13060</link>
      <description>&lt;P&gt;Hello every one. my main intention is to create a ribbon tab with some panels and commands by code so when ever AutoCAD runs, the ribbon would be added and when a button is clicked, a dll files would be netloaded and run automatically, without the security warning message. so I was wondering how is this possible?&lt;/P&gt;&lt;P&gt;if I manually create a CUIX file, is there any way to load only the specific tab that i created with a command?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 28 Apr 2022 12:43:18 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/how-to-make-a-code-run-automatically-when-autocad-is-opened/m-p/11135112#M13060</guid>
      <dc:creator>a.kouchakzadeh</dc:creator>
      <dc:date>2022-04-28T12:43:18Z</dc:date>
    </item>
    <item>
      <title>Re: how to make a code run automatically when autocad is opened every time? (without showing the security- executable file message)</title>
      <link>https://forums.autodesk.com/t5/net-forum/how-to-make-a-code-run-automatically-when-autocad-is-opened/m-p/11135462#M13061</link>
      <description>&lt;P&gt;Consider using Autoloader:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://adndevblog.typepad.com/autocad/2013/01/autodesk-autoloader-white-paper.html" target="_blank"&gt;https://adndevblog.typepad.com/autocad/2013/01/autodesk-autoloader-white-paper.html&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 28 Apr 2022 14:29:30 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/how-to-make-a-code-run-automatically-when-autocad-is-opened/m-p/11135462#M13061</guid>
      <dc:creator>BlackBox_</dc:creator>
      <dc:date>2022-04-28T14:29:30Z</dc:date>
    </item>
    <item>
      <title>Re: how to make a code run automatically when autocad is opened every time? (without showing the security- executable file message)</title>
      <link>https://forums.autodesk.com/t5/net-forum/how-to-make-a-code-run-automatically-when-autocad-is-opened/m-p/11139403#M13062</link>
      <description>&lt;P&gt;Hi BlackBox&lt;/P&gt;&lt;P&gt;thanks for the reply.&lt;/P&gt;&lt;P&gt;In the comments sections in the link you provided I saw your messages with Fenton and I also took a look at the &lt;A href="https://spiderinnet1.typepad.com/blog/2013/01/autoloader-101-1-a-simple-working-sample.html" target="_blank" rel="noopener"&gt;spiderinnet page.&lt;/A&gt;&amp;nbsp;but unfortunately I wasn't able to find the test app file in the link they provided.&lt;/P&gt;&lt;P&gt;Im not that good in programming yet, and I didn't know any thing about xml before your post. so I had to read a bit about xml and autoloader, but I'm still confused&lt;/P&gt;&lt;P&gt;can you give me a hand in creating this Autoloader file?&lt;/P&gt;&lt;P&gt;lets say I just wanna add a simple command (with a "bboxtest" command method) which pops a message "hello world" and link it to a button in a custom tab in the AutoCAD ribbon.&lt;/P&gt;&lt;P&gt;TIA&lt;/P&gt;</description>
      <pubDate>Sat, 30 Apr 2022 05:43:42 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/how-to-make-a-code-run-automatically-when-autocad-is-opened/m-p/11139403#M13062</guid>
      <dc:creator>a.kouchakzadeh</dc:creator>
      <dc:date>2022-04-30T05:43:42Z</dc:date>
    </item>
    <item>
      <title>Re: how to make a code run automatically when autocad is opened every time? (without showing the security- executable file message)</title>
      <link>https://forums.autodesk.com/t5/net-forum/how-to-make-a-code-run-automatically-when-autocad-is-opened/m-p/11141721#M13063</link>
      <description>&lt;P&gt;No worries; you can check out one of my (or others') free apps:&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://apps.autodesk.com/ACD/en/Detail/Index?id=2136331629271009666&amp;amp;appLang=en&amp;amp;os=Win32_64" target="_blank"&gt;https://apps.autodesk.com/ACD/en/Detail/Index?id=2136331629271009666&amp;amp;appLang=en&amp;amp;os=Win32_64&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;ADN team takes what we upload and makes a lot of unnecessary changes to the .XML file, using an automated code generator in the published app (the XML can be quite simple).&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Just be sure to set the applicable 'merge' setting on the Ribbon Tab in CUI Editor, and AutoCAD products will handle it for you when loaded.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If you have to make multiple changes to .CUIx, just be mindful that AutoCAD copies what's in your .bundle to support folder, so you may need to use FINDFILE at Command Line to locate/remove after editing the .CUIX in your .bundle folders.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Cheers&lt;/P&gt;</description>
      <pubDate>Mon, 02 May 2022 10:20:44 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/how-to-make-a-code-run-automatically-when-autocad-is-opened/m-p/11141721#M13063</guid>
      <dc:creator>BlackBox_</dc:creator>
      <dc:date>2022-05-02T10:20:44Z</dc:date>
    </item>
    <item>
      <title>Re: how to make a code run automatically when autocad is opened every time? (without showing the security- executable file message)</title>
      <link>https://forums.autodesk.com/t5/net-forum/how-to-make-a-code-run-automatically-when-autocad-is-opened/m-p/11143968#M13064</link>
      <description>&lt;P&gt;&lt;SPAN&gt;--&amp;gt; &lt;STRONG&gt;if you have to make multiple changes to .CUIx, just be mindful that AutoCAD copies what's in your .bundle to support folder, so you may need to use FINDFILE at Command Line to locate/remove after editing the .CUIX in your .bundle folders.&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;the only change I want to make is to create a new tab and insert a few panels and buttons to each panel.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;can you tell me how to use the findfile?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;EDIT: I downloaded your xml file from the link you provided and made some edits on it just to see if it does work or not.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;How ever I used your help file because its required and I wanna first get my main problem fixed then create the help file. I also made a little edits on your ico file just to check out if its working or not.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;unfortunately its not. I did anything that crossed my mind but no lock. I have attached the whole file I have created.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I also didnt assign any button function yet. I just added one simple dll file with a command method to see if it does load or not. but it didnt even load at all.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I used the same ProductCode and UpgradeCode that you had.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I also omitted AppNameSpace cuz I didnt know what to put instead of it.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 03 May 2022 10:35:27 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/how-to-make-a-code-run-automatically-when-autocad-is-opened/m-p/11143968#M13064</guid>
      <dc:creator>a.kouchakzadeh</dc:creator>
      <dc:date>2022-05-03T10:35:27Z</dc:date>
    </item>
    <item>
      <title>Re: how to make a code run automatically when autocad is opened every time? (without showing the security- executable file message)</title>
      <link>https://forums.autodesk.com/t5/net-forum/how-to-make-a-code-run-automatically-when-autocad-is-opened/m-p/11144107#M13065</link>
      <description>&lt;P&gt;Sorry for the delayed reply - when your PM came in, I had already gone:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="csharp"&gt;Dad.IsWorking = false;
Dad.Mode = Modes.FamilyTime; 
Dad.IsKeepingUpWith2yo = true;&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Haha&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;HR /&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'll take a look at what you started; first observation is that your SeriesMin &amp;amp; SeriesMax aren't matching up.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You're compiling this app for 23.1 (AutoCAD 2020), right?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Are you sure that you want to compile using .NET 4.0 instead of .NET 4.7?&lt;/P&gt;</description>
      <pubDate>Tue, 03 May 2022 11:11:33 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/how-to-make-a-code-run-automatically-when-autocad-is-opened/m-p/11144107#M13065</guid>
      <dc:creator>BlackBox_</dc:creator>
      <dc:date>2022-05-03T11:11:33Z</dc:date>
    </item>
    <item>
      <title>Re: how to make a code run automatically when autocad is opened every time? (without showing the security- executable file message)</title>
      <link>https://forums.autodesk.com/t5/net-forum/how-to-make-a-code-run-automatically-when-autocad-is-opened/m-p/11144373#M13066</link>
      <description>&lt;span class="lia-unicode-emoji" title=":grinning_face_with_smiling_eyes:"&gt;😄&lt;/span&gt;&lt;BR /&gt;&lt;BR /&gt;yes sir Im compiling it with cad 2020 but I would like to make it work with all AutoCAD versions.&lt;BR /&gt;but how did you know that I'm compiling it with CAD 2020?&lt;BR /&gt;I didn't compile my dll with .NET 4.0 intentionally so I'm not sure if I want to use .NET 4.0&lt;BR /&gt;Im not aware of .NET 4.7 benefits&lt;BR /&gt;</description>
      <pubDate>Tue, 03 May 2022 13:05:47 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/how-to-make-a-code-run-automatically-when-autocad-is-opened/m-p/11144373#M13066</guid>
      <dc:creator>a.kouchakzadeh</dc:creator>
      <dc:date>2022-05-03T13:05:47Z</dc:date>
    </item>
    <item>
      <title>Re: how to make a code run automatically when autocad is opened every time? (without showing the security- executable file message)</title>
      <link>https://forums.autodesk.com/t5/net-forum/how-to-make-a-code-run-automatically-when-autocad-is-opened/m-p/11144845#M13067</link>
      <description>&lt;P&gt;Busy day, but real quick -&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Making your source code work for all versions may not be possible; entirely depends on what you're doing and what Autodesk has done with the API.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I know that you compiled for 2020, because your assembly includes references to acdbmgd version=23.1, etc and says that Removeblk.CreateSSet.BlockClean(), aka CommandMethod("NSVBlockClean") was compiled using architecture x64 &amp;amp; runtime .NET 4.0... Also you have a typo after if (flag7)... 'curretn' should be 'current' :wink:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="csharp"&gt;promptSelectionOptions2.set_MessageForAdding("all blocks on the curretn screen will be deleted\nSelect each objects you wish to keep (press R to remove again)");&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;2020 was released with SDK using .NET 4.7, but that doesn't mean an assembly compiled using older .NET version won't work (again, depending on what's being done in your source code). I have multiple apps compiled for 2018 that still worked when loaded in 2022.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;... More to follow; again, very busy day.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Cheers&lt;/P&gt;</description>
      <pubDate>Tue, 03 May 2022 15:49:35 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/how-to-make-a-code-run-automatically-when-autocad-is-opened/m-p/11144845#M13067</guid>
      <dc:creator>BlackBox_</dc:creator>
      <dc:date>2022-05-03T15:49:35Z</dc:date>
    </item>
    <item>
      <title>Re: how to make a code run automatically when autocad is opened every time? (without showing the security- executable file message)</title>
      <link>https://forums.autodesk.com/t5/net-forum/how-to-make-a-code-run-automatically-when-autocad-is-opened/m-p/11145322#M13068</link>
      <description>&lt;P&gt;Revised PackageContents.xml file (for your privacy, I've removed contact info):&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;&amp;lt;?xml version="1.0" encoding="utf-8"?&amp;gt;
&amp;lt;ApplicationPackage AppVersion="2.3.1" Author="Amir" Description="Block Delete" HelpFile="./Contents/Resources/CubeHelp.html" Icon="./Contents/Resources/Cube.ico" Name="Amir Name test" ProductCode="{39CC1599-E035-4953-AD06-D7C7EC572636}" ProductType="Application" SchemaVersion="1.0" UpgradeCode="{22497B03-325F-482E-80BC-C0B479A84A23}" AutodeskProduct="AutoCAD" FriendlyVersion="2.3.1" SupportedLocales="Enu" AppNameSpace="appstore.exchange.autodesk.com" OnlineDocumentation=" "&amp;gt;
  &amp;lt;CompanyDetails Name=" " Phone=" " Url=" " Email=" " /&amp;gt;
  &amp;lt;Components Description="2020-2023"&amp;gt;
    &amp;lt;RuntimeRequirements SupportPath="./Contents/Resources;./Contents/Support" /&amp;gt;
    &amp;lt;ComponentEntry AppDescription="Insertes a tab in the ribbon" AppName="CubeKCUI" LoadOnAutoCADStartup="true" ModuleName="./Contents/Resources/CubeK.cuix" Version="2.3.1" /&amp;gt;
  &amp;lt;/Components&amp;gt;
  &amp;lt;Components Description="2020-2023"&amp;gt;
    &amp;lt;RuntimeRequirements OS="Win32|Win64" Platform="AutoCAD*" SeriesMin="R23.1" SeriesMax="R24.2" /&amp;gt;
    &amp;lt;ComponentEntry AppDescription="deletes blocks" AppName="CubeK\CleanBlock" LoadOnAutoCADStartup="true" ModuleName="./Contents/Support/CleanBlock.lsp" Version="2.3.1" /&amp;gt;
  &amp;lt;/Components&amp;gt;
&amp;lt;/ApplicationPackage&amp;gt;&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;** Please note that on my end, I changed CleanBlock.dll to CleanBlock.lsp with a call to (alert "Hello world!") that works.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If you're loading the assembly on startup, there's no need for any of the load on command invocation malarkey.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;For your .CUIX file, be sure to edit that to have ID_ADDINSTAB for the Ribbon Tab's, Properties, Advanced, Aliases, so that automagically shows up in Ribbon's Add-Ins Tab. I'd also suggest ensuring Partial File Behavior Default Display == Add to workspaces, and Workspace behavior == Merge or add tab.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;HTH&lt;/P&gt;</description>
      <pubDate>Tue, 03 May 2022 19:44:50 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/how-to-make-a-code-run-automatically-when-autocad-is-opened/m-p/11145322#M13068</guid>
      <dc:creator>BlackBox_</dc:creator>
      <dc:date>2022-05-03T19:44:50Z</dc:date>
    </item>
    <item>
      <title>Re: how to make a code run automatically when autocad is opened every time? (without showing the security- executable file message)</title>
      <link>https://forums.autodesk.com/t5/net-forum/how-to-make-a-code-run-automatically-when-autocad-is-opened/m-p/11146653#M13069</link>
      <description>&lt;P&gt;BlackBox, thanks for the help,&lt;/P&gt;&lt;P&gt;the dll is loading perfect. but the CUIX is still not loading. what Im willing to do, is unlike the applications downloaded from AutoDesk appstore which are loaded in the Add-ins tab, I want to create my own tab.&lt;/P&gt;&lt;P&gt;I have also set the Default Display = add to workspace and workspace behavior to merge or add tab.&amp;nbsp;&lt;/P&gt;&lt;P&gt;but still no luck.&lt;BR /&gt;oh and one more question, how is it possible to see the code within a dll file?&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 04 May 2022 09:50:48 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/how-to-make-a-code-run-automatically-when-autocad-is-opened/m-p/11146653#M13069</guid>
      <dc:creator>a.kouchakzadeh</dc:creator>
      <dc:date>2022-05-04T09:50:48Z</dc:date>
    </item>
    <item>
      <title>Re: how to make a code run automatically when autocad is opened every time? (without showing the security- executable file message)</title>
      <link>https://forums.autodesk.com/t5/net-forum/how-to-make-a-code-run-automatically-when-autocad-is-opened/m-p/11146748#M13070</link>
      <description>&lt;P&gt;Double check that the Ribbon Tab in your CUIx is configured properly, here's another example:&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P class="lia-indent-padding-left-30px"&gt;&lt;A href="https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/custom-ribbon-not-displaying/m-p/7545748#M361481" target="_blank" rel="noopener"&gt;https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/custom-ribbon-not-displaying/m-p/7545748#M361481&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;One way to easily edit your app's CUIx, is to setup an 'APPS' Profile that has your standard Main CUI, and your app's CUIx added as Enterprise CUI - then I use Robert Bell's 'Edit Enterprise CUI' LISP to programmatically swap them &amp;amp; make changes:&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P class="lia-indent-padding-left-30px"&gt;&lt;A href="https://forums.augi.com/showthread.php?137223-Enterprise-cui-Main-cui&amp;amp;p=1163984&amp;amp;viewfull=1#post1163984" target="_blank" rel="noopener"&gt;https://forums.augi.com/showthread.php?137223-Enterprise-cui-Main-cui&amp;amp;p=1163984&amp;amp;viewfull=1#post1163984&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;After making the desired changes to your app's CUIx and quitting AutoCAD, then you need to delete all references to it from here:&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P class="lia-indent-padding-left-30px"&gt;%AppData%\Autodesk\&lt;FONT color="#FF0000"&gt;C3D 2023&lt;/FONT&gt;\enu\Support&lt;/P&gt;&lt;P class="lia-indent-padding-left-30px"&gt;&amp;nbsp;&lt;/P&gt;&lt;P class="lia-indent-padding-left-30px"&gt;** Change the red to your product or version&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Yes, the CUIx you've prepared is located under your app's .bundle folder, but Autoloader copies that to the above path (for each version that loads your app), so any changes you make to the CUIx in your app aren't necessarily reflected until the app is upgraded (Version &amp;amp; UpgradeCode change in PackageContents.xml).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So, the easiest thing to do, is simply make the changes to your app's CUIx, quit AutoCAD, navigate to the folder above, sort by name and delete all .cuix &amp;amp; .mnr files related to your app's CUIx, then re-launch AutoCAD using the desired Profile (not your 'APPS' Profile), and then you should be able to see the changes made.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;As for decompiling a DLL assembly... &lt;STRONG&gt;I&lt;/STRONG&gt; &lt;FONT color="#999999"&gt;know a&lt;/FONT&gt; &lt;STRONG&gt;L&lt;/STRONG&gt;&lt;FONT color="#999999"&gt;ittle&lt;/FONT&gt; &lt;STRONG&gt;Spy&lt;/STRONG&gt;. &lt;SPAN class=""&gt;&lt;SPAN class=""&gt;:beer:&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Cheers&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 04 May 2022 10:53:29 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/how-to-make-a-code-run-automatically-when-autocad-is-opened/m-p/11146748#M13070</guid>
      <dc:creator>BlackBox_</dc:creator>
      <dc:date>2022-05-04T10:53:29Z</dc:date>
    </item>
    <item>
      <title>Re: how to make a code run automatically when autocad is opened every time? (without showing the security- executable file message)</title>
      <link>https://forums.autodesk.com/t5/net-forum/how-to-make-a-code-run-automatically-when-autocad-is-opened/m-p/11147082#M13071</link>
      <description>&lt;P&gt;I just noticed some thing,&lt;/P&gt;&lt;P&gt;I tried to use another .bundle file which was provided in one of this forums topics.&lt;/P&gt;&lt;P&gt;my CubeK.cuix file loads in it perfectly fine.&lt;/P&gt;&lt;P&gt;but when I use your xml file, it does not load.&lt;/P&gt;&lt;P&gt;I opened and closed AutoCAD many times. your xml file cant load my CUIX file.&lt;/P&gt;&lt;P&gt;I made a few changes to the xml you sent me to make sure the component element which is responsible for the cui part looks exactly similar to the one in the other topic. still didnt see my tab:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;this is the other xml sample which loads the CUIX file:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="akouchakzadeh_0-1651668980708.png" style="width: 600px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1062947iF69B2DA3DE003D9F/image-size/medium?v=v2&amp;amp;px=400" role="button" title="akouchakzadeh_0-1651668980708.png" alt="akouchakzadeh_0-1651668980708.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;this is your xml file which I made changes to the CUI:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="akouchakzadeh_1-1651669268168.png" style="width: 600px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1062956i0B34DF698EEBB144/image-size/medium?v=v2&amp;amp;px=400" role="button" title="akouchakzadeh_1-1651669268168.png" alt="akouchakzadeh_1-1651669268168.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;and even before making this changes, it still didnt work.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 04 May 2022 13:24:34 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/how-to-make-a-code-run-automatically-when-autocad-is-opened/m-p/11147082#M13071</guid>
      <dc:creator>a.kouchakzadeh</dc:creator>
      <dc:date>2022-05-04T13:24:34Z</dc:date>
    </item>
    <item>
      <title>Re: how to make a code run automatically when autocad is opened every time? (without showing the security- executable file message)</title>
      <link>https://forums.autodesk.com/t5/net-forum/how-to-make-a-code-run-automatically-when-autocad-is-opened/m-p/11147281#M13072</link>
      <description>&lt;P&gt;BlackBox, thanks for the help Sir.&lt;/P&gt;&lt;P&gt;the problem is fixed, I had a typo which caused this problem. "Resources" had to be changed to "Resource"&lt;/P&gt;&lt;P&gt;every thing works perfectly fine now.&lt;/P&gt;</description>
      <pubDate>Wed, 04 May 2022 14:00:41 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/how-to-make-a-code-run-automatically-when-autocad-is-opened/m-p/11147281#M13072</guid>
      <dc:creator>a.kouchakzadeh</dc:creator>
      <dc:date>2022-05-04T14:00:41Z</dc:date>
    </item>
    <item>
      <title>Re: how to make a code run automatically when autocad is opened every time? (without showing the security- executable file message)</title>
      <link>https://forums.autodesk.com/t5/net-forum/how-to-make-a-code-run-automatically-when-autocad-is-opened/m-p/11147347#M13073</link>
      <description>&lt;P&gt;Awesome; glad you got it sorted!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The only other thing that jumped out to me in reading your earlier post now, is consider changing Platform from "AutoCAD" to "AutoCAD*" (or other from White Paper linked above), if you want to support more than _just_ AutoCAD.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Cheers&lt;/P&gt;</description>
      <pubDate>Wed, 04 May 2022 14:32:07 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/how-to-make-a-code-run-automatically-when-autocad-is-opened/m-p/11147347#M13073</guid>
      <dc:creator>BlackBox_</dc:creator>
      <dc:date>2022-05-04T14:32:07Z</dc:date>
    </item>
  </channel>
</rss>

