.NET

Reply
Distinguished Contributor
caddie75
Posts: 135
Registered: ‎07-07-2006
Message 1 of 3 (87 Views)

Jig and COM

87 Views, 2 Replies
12-10-2006 12:23 PM
Hi there all,

I'm getting ito .NET and created some basic stuff with the help of this forum, many thanks.

But to use these (without rewriting all the vba macro's) I expose the properties/methods to the COM and then reference them in VBA.

I was busy with the Jig... and works great with NETLOAD, but I can't get it exposed to VBA...the TBL file doesn't get created.

Does (can) anybody get the sample "EllipseJig" to be exposed to COM...(added the references..a simple property works but as soon a the jig-class is used it doesn't anymore)

Am I missing something.....

ps. I'm using SharpDevelopment or Microsoft Visual Basic 2005 Express edition and AutoCAD 2007
*Laurie Comerford
Message 2 of 3 (87 Views)

Re: Jig and COM

12-10-2006 02:12 PM in reply to: caddie75
Hi,

You missing reading the numerous posts to this NG which make it clear that a
major advantage of .NET over VBA is its ability to jig.

--

Regards,


Laurie Comerford
CADApps Australia
www.cadapps.com.au
www.civil3Dtools.com
wrote in message news:5420969@discussion.autodesk.com...
Hi there all,

I'm getting ito .NET and created some basic stuff with the help of this
forum, many thanks.

But to use these (without rewriting all the vba macro's) I expose the
properties/methods to the COM and then reference them in VBA.

I was busy with the Jig... and works great with NETLOAD, but I can't get it
exposed to VBA...the TBL file doesn't get created.

Does (can) anybody get the sample "EllipseJig" to be exposed to COM...(added
the references..a simple property works but as soon a the jig-class is used
it doesn't anymore)

Am I missing something.....

ps. I'm using SharpDevelopment or Microsoft Visual Basic 2005 Express
edition and AutoCAD 2007
Distinguished Contributor
caddie75
Posts: 135
Registered: ‎07-07-2006
Message 3 of 3 (87 Views)

Re: Jig and COM

12-10-2006 02:37 PM in reply to: caddie75
Yes I know,

That's why I want to use a Class written in .NET to be available (COM Interop Exposed!) in VBA. Rewriting all VBA Code to use .NET now isn't a option (timewise).

I'm not intending to write a Jig-function in VBA!
Announcements
Are you familiar with the Autodesk Expert Elites? The Expert Elite program is made up of customers that help other customers by sharing knowledge and exemplifying an engaging style of collaboration. To learn more, please visit our Expert Elite website.
Need installation help?

Start with some of our most frequented solutions or visit the Installation and Licensing Forum to get help installing your software.