<?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: VB.NET - List Commands - FATAL ERROR in .NET Forum</title>
    <link>https://forums.autodesk.com/t5/net-forum/vb-net-list-commands-fatal-error/m-p/2553403#M69157</link>
    <description>Why not just run the original code through a translator?&lt;BR /&gt;
&lt;BR /&gt;
That would also help you find any error in your manaual translation.&lt;BR /&gt;
&lt;BR /&gt;
-- &lt;BR /&gt;
http://www.caddzone.com&lt;BR /&gt;
&lt;BR /&gt;
AcadXTabs: MDI Document Tabs for AutoCAD&lt;BR /&gt;
Supporting AutoCAD 2000 through 2010&lt;BR /&gt;
&lt;BR /&gt;
http://www.acadxtabs.com&lt;BR /&gt;
&lt;BR /&gt;
Email: string.Format("{0}@{1}.com", "tonyt", "caddzone");&lt;BR /&gt;
&lt;BR /&gt;
&lt;MEP09DEVELOPER&gt; wrote in message news:6250954@discussion.autodesk.com...&lt;BR /&gt;
I've attached a snippet of code that I "borrowed" from Kean Walmsley's site:&lt;BR /&gt;
http://through-the-interface.typepad.com/through_the_interface/commands/page/2/&lt;BR /&gt;
dated March 15, 2007&lt;BR /&gt;
titled "Getting the list of .NET-defined commands in AutoCAD"&lt;BR /&gt;
It's written in C# and I personally translated it to VB.NET (though maybe &lt;BR /&gt;
not well).&lt;BR /&gt;
The program runs and executes properly, but then pauses and generates the &lt;BR /&gt;
following error:&lt;BR /&gt;
"FATAL ERROR: Unhandled Access Violation Reading 0x0000 Exception at &lt;BR /&gt;
cc1f946h"&lt;BR /&gt;
&lt;BR /&gt;
I am not sure if it's improper code translation or what the deal is.  I &lt;BR /&gt;
tried using a Try...Catch statement, but it catches no errors.  Basically, &lt;BR /&gt;
the code is through executing when the fatal error occurs.  Maybe somebody &lt;BR /&gt;
knows what else could be happening?  I am using AutoCAD MEP 2009 and Visual &lt;BR /&gt;
Studio 2008 Express Edition.&lt;/MEP09DEVELOPER&gt;</description>
    <pubDate>Wed, 09 Sep 2009 03:28:53 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2009-09-09T03:28:53Z</dc:date>
    <item>
      <title>VB.NET - List Commands - FATAL ERROR</title>
      <link>https://forums.autodesk.com/t5/net-forum/vb-net-list-commands-fatal-error/m-p/2553402#M69156</link>
      <description>I've attached a snippet of code that I "borrowed" from Kean Walmsley's site:&lt;BR /&gt;
http://through-the-interface.typepad.com/through_the_interface/commands/page/2/&lt;BR /&gt;
dated March 15, 2007&lt;BR /&gt;
titled "Getting the list of .NET-defined commands in AutoCAD"&lt;BR /&gt;
It's written in C# and I personally translated it to VB.NET (though maybe not well).&lt;BR /&gt;
The program runs and executes properly, but then pauses and generates the following error:&lt;BR /&gt;
"FATAL ERROR: Unhandled Access Violation Reading 0x0000 Exception at cc1f946h"&lt;BR /&gt;
&lt;BR /&gt;
I am not sure if it's improper code translation or what the deal is.  I tried using a Try...Catch statement, but it catches no errors.  Basically, the code is through executing when the fatal error occurs.  Maybe somebody knows what else could be happening?  I am using AutoCAD MEP 2009 and Visual Studio 2008 Express Edition.</description>
      <pubDate>Tue, 08 Sep 2009 21:01:48 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/vb-net-list-commands-fatal-error/m-p/2553402#M69156</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2009-09-08T21:01:48Z</dc:date>
    </item>
    <item>
      <title>Re: VB.NET - List Commands - FATAL ERROR</title>
      <link>https://forums.autodesk.com/t5/net-forum/vb-net-list-commands-fatal-error/m-p/2553403#M69157</link>
      <description>Why not just run the original code through a translator?&lt;BR /&gt;
&lt;BR /&gt;
That would also help you find any error in your manaual translation.&lt;BR /&gt;
&lt;BR /&gt;
-- &lt;BR /&gt;
http://www.caddzone.com&lt;BR /&gt;
&lt;BR /&gt;
AcadXTabs: MDI Document Tabs for AutoCAD&lt;BR /&gt;
Supporting AutoCAD 2000 through 2010&lt;BR /&gt;
&lt;BR /&gt;
http://www.acadxtabs.com&lt;BR /&gt;
&lt;BR /&gt;
Email: string.Format("{0}@{1}.com", "tonyt", "caddzone");&lt;BR /&gt;
&lt;BR /&gt;
&lt;MEP09DEVELOPER&gt; wrote in message news:6250954@discussion.autodesk.com...&lt;BR /&gt;
I've attached a snippet of code that I "borrowed" from Kean Walmsley's site:&lt;BR /&gt;
http://through-the-interface.typepad.com/through_the_interface/commands/page/2/&lt;BR /&gt;
dated March 15, 2007&lt;BR /&gt;
titled "Getting the list of .NET-defined commands in AutoCAD"&lt;BR /&gt;
It's written in C# and I personally translated it to VB.NET (though maybe &lt;BR /&gt;
not well).&lt;BR /&gt;
The program runs and executes properly, but then pauses and generates the &lt;BR /&gt;
following error:&lt;BR /&gt;
"FATAL ERROR: Unhandled Access Violation Reading 0x0000 Exception at &lt;BR /&gt;
cc1f946h"&lt;BR /&gt;
&lt;BR /&gt;
I am not sure if it's improper code translation or what the deal is.  I &lt;BR /&gt;
tried using a Try...Catch statement, but it catches no errors.  Basically, &lt;BR /&gt;
the code is through executing when the fatal error occurs.  Maybe somebody &lt;BR /&gt;
knows what else could be happening?  I am using AutoCAD MEP 2009 and Visual &lt;BR /&gt;
Studio 2008 Express Edition.&lt;/MEP09DEVELOPER&gt;</description>
      <pubDate>Wed, 09 Sep 2009 03:28:53 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/vb-net-list-commands-fatal-error/m-p/2553403#M69157</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2009-09-09T03:28:53Z</dc:date>
    </item>
    <item>
      <title>Re: VB.NET - List Commands - FATAL ERROR</title>
      <link>https://forums.autodesk.com/t5/net-forum/vb-net-list-commands-fatal-error/m-p/2553404#M69158</link>
      <description>Tony, I tried 2 out of 3 of Kean's suggestions at:&lt;BR /&gt;
http://through-the-interface.typepad.com/through_the_interface/visual_basic/&lt;BR /&gt;
dated July 22, 2009&lt;BR /&gt;
titled "Converting between C# and VB.NET"&lt;BR /&gt;
&lt;BR /&gt;
When I pasted the C# code and hit the "Translate" button, both Carlos Aguilar Mares' and developerFusion's translators erased the pasted code rather than translating it.  Do you know a site that works?&lt;BR /&gt;
&lt;BR /&gt;
Also, as I posted yesterday, I saw a declaration that did not seem right.&lt;BR /&gt;
I tried Dim meths() As MethodInfo, as opposed to posted code, but there was no difference in the result.&lt;BR /&gt;
&lt;BR /&gt;
Well, what do ya know!!!  Carlos' translator bombed again today, but developerFusions' worked okay this time.&lt;BR /&gt;
I'll see if this is going to help me out.

Edited by: Mep09Developer on Sep 9, 2009 8:14 AM</description>
      <pubDate>Wed, 09 Sep 2009 12:49:10 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/vb-net-list-commands-fatal-error/m-p/2553404#M69158</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2009-09-09T12:49:10Z</dc:date>
    </item>
    <item>
      <title>Re: VB.NET - List Commands - FATAL ERROR</title>
      <link>https://forums.autodesk.com/t5/net-forum/vb-net-list-commands-fatal-error/m-p/2553405#M69159</link>
      <description>Solved.  It was definitely my trying to translate the code in my head.&lt;BR /&gt;
I was way off the mark using ReDims, etc., and not even aware of TryCast and DirectCast.</description>
      <pubDate>Wed, 09 Sep 2009 14:17:13 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/vb-net-list-commands-fatal-error/m-p/2553405#M69159</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2009-09-09T14:17:13Z</dc:date>
    </item>
  </channel>
</rss>

