<?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: Nubie build errors in VBA Forum</title>
    <link>https://forums.autodesk.com/t5/vba-forum/nubie-build-errors/m-p/13245051#M192</link>
    <description>&lt;P&gt;Makes perfect sense. I will try that.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks again.&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 06 Jan 2025 11:46:42 GMT</pubDate>
    <dc:creator>smichels</dc:creator>
    <dc:date>2025-01-06T11:46:42Z</dc:date>
    <item>
      <title>Nubie build errors</title>
      <link>https://forums.autodesk.com/t5/vba-forum/nubie-build-errors/m-p/13242100#M184</link>
      <description>&lt;P&gt;I'm new and dont know visual basic enough to fix the two build errors im getting. Can anyone help me out.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks in advance&lt;/P&gt;&lt;P&gt;Here is the code&lt;/P&gt;</description>
      <pubDate>Sat, 04 Jan 2025 18:28:14 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/vba-forum/nubie-build-errors/m-p/13242100#M184</guid>
      <dc:creator>smichels</dc:creator>
      <dc:date>2025-01-04T18:28:14Z</dc:date>
    </item>
    <item>
      <title>Re: Nubie build errors</title>
      <link>https://forums.autodesk.com/t5/vba-forum/nubie-build-errors/m-p/13242114#M185</link>
      <description>&lt;P&gt;Well, the compiling error occurred in FordGlobalTitleBlock.vb file, which is not shown in your picture. I guess if you open it in the code window, you would find the "Imports Autodesk.AutoCAD.Interop" direction is missing on top.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 04 Jan 2025 15:43:57 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/vba-forum/nubie-build-errors/m-p/13242114#M185</guid>
      <dc:creator>norman.yuan</dc:creator>
      <dc:date>2025-01-04T15:43:57Z</dc:date>
    </item>
    <item>
      <title>Re: Nubie build errors</title>
      <link>https://forums.autodesk.com/t5/vba-forum/nubie-build-errors/m-p/13242133#M186</link>
      <description>&lt;P&gt;Ok thanks i will try your solution. Thank you&lt;/P&gt;</description>
      <pubDate>Sat, 04 Jan 2025 16:09:14 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/vba-forum/nubie-build-errors/m-p/13242133#M186</guid>
      <dc:creator>smichels</dc:creator>
      <dc:date>2025-01-04T16:09:14Z</dc:date>
    </item>
    <item>
      <title>Re: Nubie build errors</title>
      <link>https://forums.autodesk.com/t5/vba-forum/nubie-build-errors/m-p/13242137#M187</link>
      <description>&lt;P&gt;How do i add direction to AutoCAD.Interop&lt;/P&gt;</description>
      <pubDate>Sat, 04 Jan 2025 16:11:39 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/vba-forum/nubie-build-errors/m-p/13242137#M187</guid>
      <dc:creator>smichels</dc:creator>
      <dc:date>2025-01-04T16:11:39Z</dc:date>
    </item>
    <item>
      <title>Re: Nubie build errors</title>
      <link>https://forums.autodesk.com/t5/vba-forum/nubie-build-errors/m-p/13242165#M188</link>
      <description>&lt;P&gt;As I said, you need to place:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;EM&gt;Imports Autodesk.AutoCAD.Interop&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;on top of the FordGlobalTitleBlock.vb, just as you did in the Form1.vb, as your picture showed.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;By the way, at this point of time, in terms of .NET technology's development/progress, starting .NET programming with VB.NET might not be a wise choice, if you are planning to keep working in this field.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Also, it seems you are doing a stand-alone EXE app that controls a running AutoCAD session. In most cases, this is hardly a good app, of course, unless you are only focusing on learning as newbie, not a real world app solution.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 04 Jan 2025 16:43:18 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/vba-forum/nubie-build-errors/m-p/13242165#M188</guid>
      <dc:creator>norman.yuan</dc:creator>
      <dc:date>2025-01-04T16:43:18Z</dc:date>
    </item>
    <item>
      <title>Re: Nubie build errors</title>
      <link>https://forums.autodesk.com/t5/vba-forum/nubie-build-errors/m-p/13242216#M189</link>
      <description>&lt;P&gt;My mistake thanks&lt;/P&gt;</description>
      <pubDate>Sat, 04 Jan 2025 17:26:38 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/vba-forum/nubie-build-errors/m-p/13242216#M189</guid>
      <dc:creator>smichels</dc:creator>
      <dc:date>2025-01-04T17:26:38Z</dc:date>
    </item>
    <item>
      <title>Re: Nubie build errors</title>
      <link>https://forums.autodesk.com/t5/vba-forum/nubie-build-errors/m-p/13242270#M190</link>
      <description>&lt;P&gt;The build was successful I added this to the top and am getting this error&lt;/P&gt;&lt;P&gt;There is no&amp;nbsp;&lt;EM&gt;Imports Autodesk.AutoCAD.Interop option&amp;nbsp;&lt;SPAN&gt;on top of the FordGlobalTitleBlock.vb&lt;/SPAN&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;SPAN&gt;Thank you for helping&lt;/SPAN&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="smichels_0-1736014462718.png" style="width: 600px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1451112i5D9FB6F9634099B6/image-size/medium?v=v2&amp;amp;px=400" role="button" title="smichels_0-1736014462718.png" alt="smichels_0-1736014462718.png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="smichels_1-1736014506410.png" style="width: 600px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1451113i4664542EA676406E/image-size/medium?v=v2&amp;amp;px=400" role="button" title="smichels_1-1736014506410.png" alt="smichels_1-1736014506410.png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="smichels_2-1736014538785.png" style="width: 600px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1451114i6DCF899DF71BEE72/image-size/medium?v=v2&amp;amp;px=400" role="button" title="smichels_2-1736014538785.png" alt="smichels_2-1736014538785.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 04 Jan 2025 18:17:24 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/vba-forum/nubie-build-errors/m-p/13242270#M190</guid>
      <dc:creator>smichels</dc:creator>
      <dc:date>2025-01-04T18:17:24Z</dc:date>
    </item>
    <item>
      <title>Re: Nubie build errors</title>
      <link>https://forums.autodesk.com/t5/vba-forum/nubie-build-errors/m-p/13243762#M191</link>
      <description>&lt;P&gt;It is VERY IMPORTANT TO MAKE IT CLEAR: your app is targeting AutoCAD 2025, or AutoCAD 2024 or earlier. It is only clear to see the pictures of your later reply, or the attached VS project, that you are indeed targeting AutoCAD 2025.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;AutoCAD 2025 uses .NET 8, not .NET Framework. So, your Visual Studio project is wrong, where you .NET Framework 3.5, and added AutoCAD 2025's COM API reference by letting VS to generate the AutoCAD COM .NET Interop DLL, which is .NET 8 based. That is why you saw the error when running your app: it uses .NET Framework runtime and trying to load the AutoCAD .NET interop of .NET8.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You should create a .NET 8 EXE project and then add AutoCAD 2025's COM interop DLLs. When adding AutoCAD COM interop DLLs, you do not have to use "COM" tab in the "Add References" dialog; you simply click "Browse" button and navigate to the AutoCAD 2025 install folder (C:\Program Files\Autodesk\AutoCAD 2025\" and select "Autodesk.AutoCAD.Interop.dll" and "Autodesk.AutoCAD.Interop.Common.dll".&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Again, since you are "newbie", and probably mainly focusing on programming for AutoCAD 2025 or later, DO NOT WASTE time on VB.NET, Microsoft has stopped VB.NET advancement since .NET6 already.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;As I previously suggested, using standalone EXE to control AutoCAD session via AutoCAD COM API is rarely a good application solution. If you have just started learning, then learning AutoCAD .NET API is much better time/energy investment.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 05 Jan 2025 17:14:10 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/vba-forum/nubie-build-errors/m-p/13243762#M191</guid>
      <dc:creator>norman.yuan</dc:creator>
      <dc:date>2025-01-05T17:14:10Z</dc:date>
    </item>
    <item>
      <title>Re: Nubie build errors</title>
      <link>https://forums.autodesk.com/t5/vba-forum/nubie-build-errors/m-p/13245051#M192</link>
      <description>&lt;P&gt;Makes perfect sense. I will try that.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks again.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 06 Jan 2025 11:46:42 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/vba-forum/nubie-build-errors/m-p/13245051#M192</guid>
      <dc:creator>smichels</dc:creator>
      <dc:date>2025-01-06T11:46:42Z</dc:date>
    </item>
  </channel>
</rss>

