Autocad.net + Helloworld example problem

Autocad.net + Helloworld example problem

Anonymous
Not applicable
991 Views
2 Replies
Message 1 of 3

Autocad.net + Helloworld example problem

Anonymous
Not applicable
hai
i am a beginner for Autocad.net API. i am using Autocad 2007 & Vb.net 2005. when i have debugging helloworld example i put breakpoint in follwing code

Imports Autodesk.AutoCAD.ApplicationServices
Imports Autodesk.AutoCAD.EditorInput
Imports Autodesk.AutoCAD.Runtime

Public Class Class1
_
Public Sub HelloWorld()
Dim ed As Editor = Application.DocumentManager.MdiActiveDocument.Editor
ed.WriteMessage("Hello World") ' Breakpoint in this line.
End Sub
End Class


it shows error message as "The breakponit will not currently be hit. No symbols have been loaded for this document" .Please give a solution to me.


Thanks in advance


regards,
Sithick.
0 Likes
992 Views
2 Replies
Replies (2)
Message 2 of 3

Anonymous
Not applicable
There could be many reasons for this message:
Try the following:
Is the dll already loaded with netload?
Are the two acad dl'sl referenced and "copy local" set to false?

Greetings,

Gerard van der Sel
0 Likes
Message 3 of 3

Anonymous
Not applicable
hai Gerard van der Sel ,
thank u for ur reply. i saw another topic in forum, i have setting working directory as autocad installed path. that problem could to be resolved.
0 Likes