Is MyForm defined as OLEPUBLIC?
>I created a COM EXE that has a non-visual form, an OLE object on the form (WinSock) which references a class in the project (_GDIPlus). What would be the syntax to reference the OLE properties from another EXE? I tried the code below, but it gives an error that it can't find the class (is an OLE a class?).
>
>
>loMyCom = createobject('MyEXE.MyForm.MyOleObject')
>
Craig Berntson
MCSD, Microsoft .Net MVP, Grape City Community Influencer