loSession = CREATEOBJECT( "MSMAPI.MAPISession" ) loMessages = CREATEOBJECT( "MSMAPI.MAPIMessages" )Be changed to:
loSession = CREATEOBJECT( "cntMAPISession" ) loMessages = CREATEOBJECT( "cntMAPIMessages" )Please correct me if the changed code is wrong, as I am not clear of how the call morph once the controls are in containers.