TheSwamp
Code Red => .NET => Topic started by: zathras on September 07, 2010, 04:54:43 PM
-
Hello old friends.... 8-)
I need a push in the right direction. I wrote my massive Autocad VB6 program years ago (back in the Wonder Llama days) using VB6 exe and a VB6 DLL running "inside" Autocad via the objAcad.GetInterfaceObject method. This resulted in a floating toolbar spearate from Autocad.
Now X years later, I would like to modernize my program a bit and having my toolbar be within Autocad. If possible, I would like to keep most (if not all) of the code done in the VB6 DLL as-is, and have the new toolbar programed in *whatever* it needs to be to communicate with the compiled DLL code.
Is this possible now, and what should I be looking into? Is this ARX and/or .NET programming? I need a little direction to research more on the how-tos. I need to have it secured (a HASP dongle is involved), so I can't use Real VB.
-
You could use .NET to build the application interface to interact with your COM object (assuming your dll is an exposed COM library), but importing and converting VB6 code to VB.Net isn't too terribly difficult, and then you can netload the entire assembly thus improving the speed at which the code runs.
-
Would the VB.Net toolbar be able to be "within" the autocad toolbar environment?
-
Holly cow? There is a name I haven't seen in a long time. Its just too bad that we couldn't have kept it that way though.
Hello Zath. Sup?
-
Would the VB.Net toolbar be able to be "within" the autocad toolbar environment?
Don't see why not ... of course you will need to explore the AutoCAD interface within .NET, but that shouldn't be a huge hurdle.
-
oh my, who was suppose to change the locks?
-
Holly cow? There is a name I haven't seen in a long time. Its just too bad that we couldn't have kept it that way though.
oh my, who was suppose to change the locks?
Must be missing something here...I remember the nick from back in the day...
-
I was just joking. Both John and I meet Zathras/Airborne many moons ago in Phoenix.
-
I remember that weekend.