Fernando,
I just tried this on a W2K Server here (it has Outlook and Visual Studio installed). It fails, with the same error message you have shown, on the createobject() line. Michael's code works fine on that same machine...
>
> SESSION=CREATEOBJECT('mapi.session') && Create the MAPI object.
>
>I wonder what's different from my PC and the win2k Server?
>
>Fernando
Steve Gibson