The culprit is not dp, but src GetActiveSource() most likely returns nothing use FindSource("name"), or GetSources() ----------------- Jean M. Favre Swiss National Supercomputing Center