>HI,
>
>Does it make any difference that where you design the form and where you
>create the setup?
>I created the treeview form from my nt machine in my house. Then I copied the form (actualy the whole project) into the machine in my office. Then I tested it a little bit and created the distribution files from my office machine. Is it possilble
>that the treeview version I am using in my house is different from the one in my office and that gave me the "OLE Class not registered" error after I installed the the application and tried to run it in my end-user machine?
On the nose! I'd take a look at the CLSID embedded in the OLE Control in your form, and compare that to the CLSID of the control registered on the target system. If you visually add an ActiveX control to a VFP form, the CLSID is embedded (rather than the ProgID or VersionIndependentProgID, which are generally referenced by AddObject() or CREATEOBJ(), which are less version dependent.)