>I have done that million times - creating a com component. But today is special. I have a class that is set as OLE Public, I am compiling project into an exe, trying to run o = createobject('projectname.classname') and it keeps saying "Class definition not found". Any points for checking what I might be missing?
Maybe it didn't get registered for some reason. You can check registry key
HKEY_CLASSES_ROOT\projectname.classname
--sb--