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

Jig and COM

2 REPLIES 2
Reply
Message 1 of 3
caddie75
300 Views, 2 Replies

Jig and 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
2 REPLIES 2
Message 2 of 3
Anonymous
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
Message 3 of 3
caddie75
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!

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