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

Problem debugging Lab1

4 REPLIES 4
Reply
Message 1 of 5
Anonymous
182 Views, 4 Replies

Problem debugging Lab1

Can someone tell me what's required to debug Lab1 (C#) in Acad2007?

If I start AutoCAD from *outside* Visual Studio (Start->All
Programs->Autodesk->AutoCAD 2007), everything seems to work fine. I can
load Lab1.dll with NETLOAD, and HELLOWORLD works as expected.

However, if I start AutoCAD from *inside* Visual Studio (via F5 or Ctrl F5),
nothing happens. When I use NETLOAD to load Lab1.dll, no errors get
reported, and HELLOWORLD does not get defined.

I'm using Visual Studio 2005 on Windows XP Pro SP2. I looked at a handful
of other messages on this subject, but had no luck resolving this.

Thanks,
Mike
www.mechanicalsoftware.com
4 REPLIES 4
Message 2 of 5
Anonymous
in reply to: Anonymous

http://discussion.autodesk.com/search.jspa?numResults=25&source=viewforum%7C152&q=debug+07&inputEntered=true&objID=f152

"Michael Riley" wrote in message
news:5323646@discussion.autodesk.com...
Can someone tell me what's required to debug Lab1 (C#) in Acad2007?

If I start AutoCAD from *outside* Visual Studio (Start->All
Programs->Autodesk->AutoCAD 2007), everything seems to work fine. I can
load Lab1.dll with NETLOAD, and HELLOWORLD works as expected.

However, if I start AutoCAD from *inside* Visual Studio (via F5 or Ctrl F5),
nothing happens. When I use NETLOAD to load Lab1.dll, no errors get
reported, and HELLOWORLD does not get defined.

I'm using Visual Studio 2005 on Windows XP Pro SP2. I looked at a handful
of other messages on this subject, but had no luck resolving this.

Thanks,
Mike
www.mechanicalsoftware.com
Message 3 of 5
Anonymous
in reply to: Anonymous

more specifically
http://discussion.autodesk.com/thread.jspa?messageID=5248071
Read throught the other posts too for the 3 workarounds.

"Paul Richardson" wrote in message
news:5323663@discussion.autodesk.com...
http://discussion.autodesk.com/search.jspa?numResults=25&source=viewforum%7C152&q=debug+07&inputEntered=true&objID=f152

"Michael Riley" wrote in message
news:5323646@discussion.autodesk.com...
Can someone tell me what's required to debug Lab1 (C#) in Acad2007?

If I start AutoCAD from *outside* Visual Studio (Start->All
Programs->Autodesk->AutoCAD 2007), everything seems to work fine. I can
load Lab1.dll with NETLOAD, and HELLOWORLD works as expected.

However, if I start AutoCAD from *inside* Visual Studio (via F5 or Ctrl F5),
nothing happens. When I use NETLOAD to load Lab1.dll, no errors get
reported, and HELLOWORLD does not get defined.

I'm using Visual Studio 2005 on Windows XP Pro SP2. I looked at a handful
of other messages on this subject, but had no luck resolving this.

Thanks,
Mike
www.mechanicalsoftware.com
Message 4 of 5
Anonymous
in reply to: Anonymous

Thanks, Paul. That's what I needed.

Mike
www.mechanicalsoftware.com

"Paul Richardson" wrote in message
news:5323665@discussion.autodesk.com...
more specifically
http://discussion.autodesk.com/thread.jspa?messageID=5248071
Read throught the other posts too for the 3 workarounds.

"Paul Richardson" wrote in message
news:5323663@discussion.autodesk.com...
http://discussion.autodesk.com/search.jspa?numResults=25&source=viewforum%7C152&q=debug+07&inputEntered=true&objID=f152

"Michael Riley" wrote in message
news:5323646@discussion.autodesk.com...
Can someone tell me what's required to debug Lab1 (C#) in Acad2007?

If I start AutoCAD from *outside* Visual Studio (Start->All
Programs->Autodesk->AutoCAD 2007), everything seems to work fine. I can
load Lab1.dll with NETLOAD, and HELLOWORLD works as expected.

However, if I start AutoCAD from *inside* Visual Studio (via F5 or Ctrl F5),
nothing happens. When I use NETLOAD to load Lab1.dll, no errors get
reported, and HELLOWORLD does not get defined.

I'm using Visual Studio 2005 on Windows XP Pro SP2. I looked at a handful
of other messages on this subject, but had no luck resolving this.

Thanks,
Mike
www.mechanicalsoftware.com
Message 5 of 5
aweizh
in reply to: Anonymous

hello fellow
try this:
open "Lab1.vbproj.user" with notebook
find this: " StartProgram = "C:\Program Files\AutoCAD 2006\acad.exe"
make sure the cad path is correct.if not ,change it.

execute the MDAEnable.reg file to enable MDAs on that computer. To disable MDAs, copy the following example into a text file named "MDADisable.reg":

Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\.NETFramework]
"MDA"="0"

Then, run the MDADisable.reg file from a command prompt.

then debug the lab1

my pc:autocad 2006 & vb.net 2005 express

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