Hi.. I have an .ocx that is made with VB6 and which contains an interface to it's functions and properties. I have used the aximp tool to create a dll file which I reference in my project. When I try to access some of it's functions or properties I get the errormsg.: "An unhandled exception of type 'InvalidActiveXStateException' occurred in axinterop.itdcinterfacelib.dll" But when i set a breakpoint in my code and expands the variabletree for the interfaceobject in the Locals window and then steps forward in the code, it works fine...!! I guess it has something to do with initzialisation, but I can't find a solution to this...:sigh: Please help me...