I have a vb script that fires when an email is sent to a particular smtp address. I've managed to register it the normal way using "script smtpreg.vbs ...". However, I need to connect to a SQL server database, which uses integrated Windows logon. The script runs in the wrong security context, so I think I need to run it as a COM+ application so that I can specify the user. I've seen some examples of registering these scripts as applications on the Component Services console, but I'm struggling as I've never developed any DLL, COM or EXE files myself. Is it possible to somehow "upgrade" my vbs file to a com file and register that on the Component Services? If I do need to venture beyond the realms of vb script, could you point me in the right direction pls, such as online resources or books A thousand thanks joel