Community
style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
<everts> wrote in messageI
href="news:6056460@discussion.autodesk.com">news:6056460@discussion.autodesk.com...
am using "AutoCAD Civil 3D Land Desktop Companion 2009", i wrote a simple
program for Land Desktop 2006 using .NET framework 2.0 (VS2005) and I want to
migrate it to this new version of CAD, but I am not able to use the program, I
can not load the form, I changed the old references to acdbmgd and acdbmgd to
the newer ones, but it does not work. Do I need to use the .NET Framework 3.0?
Or do I have a problem with CommandMethod? Is it different to show a form with
this new version? I am sorry about my english
style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
<everts> wrote in messageWhen
href="news:6056525@discussion.autodesk.com">news:6056525@discussion.autodesk.com...
I execute the command "netload" to load my dll and try to execute my
personalized command (sondeos in this case) CAD show the following message:
"command sondeos not found"
using System;
using
System.Collections.Generic;
using System.Text;
using
Autodesk.AutoCAD.Runtime;
using System.Windows.Forms;
namespace
Sondeos2._0
{
public class Principal
{
[CommandMethod("sondeo")]
public void mostrarFrmSondeos()
{
Form1 myForm = new Form1();
myForm.Show();
}
}
}
style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
<everts> wrote in messageWhen
href="news:6056525@discussion.autodesk.com">news:6056525@discussion.autodesk.com...
I execute the command "netload" to load my dll and try to execute my
personalized command (sondeos in this case) CAD show the following message:
"command sondeos not found"
using System;
using
System.Collections.Generic;
using System.Text;
using
Autodesk.AutoCAD.Runtime;
using System.Windows.Forms;
namespace
Sondeos2._0
{
public class Principal
{
[CommandMethod("sondeo")]
public void mostrarFrmSondeos()
{
Form1 myForm = new Form1();
myForm.Show();
}
}
}
Can't find what you're looking for? Ask the community or share your knowledge.