§Get the editor object for the active document
§Call the editor’s WriteMessage method
§
§<CommandMethod("HelloWorld")> _
§Public Sub HelloWorld()
§
§ Dim ed As Editor
§ ed =
Application.DocumentManager. _
§
MdiActiveDocument.Editor
§ ed.WriteMessage("Hello
World")
§
§End Sub
§
§
§