In reply to Phillip Coulson.

Phillip, I can put together a quick example -- BUT it will require that you place it on the PC that is running SAS Enterprise Guide. Custom tasks must be "co-located" with the EG application. You don't typically need admin privileges, but you would need to be able to place the custom task DLL in %appdata%\SAS\EnterpriseGuide\5.1\Custom.