{color:#800080}Imports Autodesk.AutoCAD.ApplicationServices{color}
{color:#800080}Imports Autodesk.AutoCAD.EditorInput{color}
{color:#800080}Imports Autodesk.AutoCAD.Runtime{color}
{color:#800080}Public Class Class1{color}
{color:#800080}<CommandMethod("HelloWorld")> _{color}
{color:#800080}Public Function HelloWorld(){color}
{color:#800080}Dim ed As Editor = Application.DocumentManager.MdiActiveDocument.Editor{color}
{color:#800080}ed.WriteMessage("This is a test"){color}
{color:#800080}End Function{color}
{color:#800080}End Class
{color:#000000}Any ideas? I took this directly out of the document, so it seems that is should work.
{color}
{color:#000000}Also, I know this is a very basic question, but I am a rank beginner, so please bear with me: To create the .dll I need for use in AutoCAD, I only have to Build my application, right? And the correct .dll is the one in <vbproject>\bin\release, not the one in <vbproject>\obj\release? And I just have to use Netload to load the .dll and then type the new command name?
Thanks in advance!
Tim Corey
{color}
{color}