Message 1 of 4
VB.NET - List Commands - FATAL ERROR

Not applicable
09-08-2009
02:01 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
I've attached a snippet of code that I "borrowed" from Kean Walmsley's site:
http://through-the-interface.typepad.com/through_the_interface/commands/page/2/
dated March 15, 2007
titled "Getting the list of .NET-defined commands in AutoCAD"
It's written in C# and I personally translated it to VB.NET (though maybe not well).
The program runs and executes properly, but then pauses and generates the following error:
"FATAL ERROR: Unhandled Access Violation Reading 0x0000 Exception at cc1f946h"
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.
http://through-the-interface.typepad.com/through_the_interface/commands/page/2/
dated March 15, 2007
titled "Getting the list of .NET-defined commands in AutoCAD"
It's written in C# and I personally translated it to VB.NET (though maybe not well).
The program runs and executes properly, but then pauses and generates the following error:
"FATAL ERROR: Unhandled Access Violation Reading 0x0000 Exception at cc1f946h"
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.