Originally Posted by
sdavenport
Thanks for the quick and thorough response Brad,
Most of the questions below are now mute. I had to set check "make assembly com-visible" under assembly information in the *application tab. the intellisense is working and I can see all the functions but when I try to run I get a run time "Automation error". on Set controller = New KMotion_dotNet.KM_Controller. I'll try to find the problem.
RESOLVED:
I followed the steps and everything went fine until here: Dim Controller As ... the intellisense in VB is not finding KMotion_dotNet. I was able to set a reference to the KMotion_dotNet.tlb without issue. I have written DLL's in VB and am familiar with how to reference. If I use "Dim Controller As KMotion_dotNet.KM_Controller" anyway and try to compile I get an error "User Defined Type not Defined". I tried manually registering and I get an error that says dll loaded but no dllregisterserver entry point was found. In the C# Build, I tried setting configuration to release (it was set to debug by default) but got the same errors. BTW, I get no errors in the build and am using 2010 express. I did get 78 Warning 2 Missing XML comment for publicly visible type or member 'KMotion_dotNet.KM_Controller.KM_Controller_MainSt atus.IsVersionAndSizeValid' C:\KMotion428\KMotion_dotNet\DM Controller\KM_Controller_MainStatus.cs 12 26 KMotion_dotNet
Shannon