ThisForm.NewObject("Session1","MAPISess","MAPIClas.vcx") ThisForm.NewObject("Message1","MAPIMsgs","MAPIClas.vcx")Of course, code like the above apparently cannot be used outside of a form because it generates the following error: "Program Error THISFORM can only be used within a method." Would appreciate any advice. TIA.