Jump to content

Creating Activex with Visual Basic 6.0


marbile

Recommended Posts

I am migrating from Autocad Map 2009 in windows XP (32 bits), to Map 2014 64bits, in Windows 7 64 bits

My question is if is possible to use visual basic 6.0 activex with Map 2014 64bits

And if it is possible, what to do to get the interface to it.

 

I have from history a "dll Visual Basic 6.0 Activex Com module", which I use to connect from visual lisp, through vla-GetInterfaceObject" call. It works fine in Autocad Map 2009 with XP

I recompile it using the correct libraries from Map 2014, and registered with regsvr32 (just in case, I also registered with the regsvr32 that is in windows/SysWow64/regsvr32)

 

But I received an "Automation Error. Problem in loading application" error message, when doing:

(vla-GetInterfaceObject (vlax-get-acad-object) "marVBasic.marVbUtils")

 

Being marVBasic the name of the visual basic proyect, and marVbUtils the class. (This works fine in Map 2009)

Thks

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...