It sounds like your dll is not registered properly. Here are some links to
topics about that message
http://www.google.com/search?sourceid=navclient&ie=UTF-8&oe=UTF-8&q=Method+%27%7E%27+of+object+%27%7E%27+failed
I still haven't been able to figure it out on my system... I don't get it
trying to run a addin, but about 3/4 the time I start up VB6, I get that
message. It doesn't seem to hurt anything but it is annoying.
--
Kent Keller
Autodesk Discussion Forum Facilitator
"Miket" wrote in message
news:19697426.1085150079386.JavaMail.jive@jiveforum1.autodesk.com...
> Hello Group,
>
> Hopefully a simple question. I've searched the newsgroup and couldn't
find an answer.
>
> I've just started using Apprentice and run into what I hope is a simple
fix. Using VB I've created an Inventor Add-in in which I hope to open an
Assembly in Inventor, start the add-in which will then close the open
assembly, rename it using Apprentice, and then open the new assembly in
Inventor.
>
> The code will work if I step thru it. However, if I create the dll and
attempt to run the add-in in Inventor I get the following error:
>
> Method '~' of object '~' failed
>
> Any ideas? suggestions?
>
> Is it possible to use Apprentice as an Inventor add-in?
>
> Mike