Try removing the code from your user.js file, and instead click the "Enable/Disable DDE support by needs automatically" under TBE's Advanced settings.
You are clicking a link in another program, and not inside Firebird, right?
This works perfectly for me, so I know it's possible.