.NET
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Autocad.net + Helloworld example problem

2 REPLIES 2
Reply
Message 1 of 3
lalabai
697 Views, 2 Replies

Autocad.net + Helloworld example problem

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.
2 REPLIES 2
Message 2 of 3
selg
in reply to: lalabai

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
Message 3 of 3
lalabai
in reply to: lalabai

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.

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk DevCon in Munich May 28-29th


Autodesk Design & Make Report

”Boost