It depends on the error you are getting...
If any VBA product (eg Excel 97) is installed on the citrix machine then try adding the reference to the dll you are calling and write a test sub with the same line to see if this works under VBA without errors. If there are none then it's not the dll that has the problems on the citrix machine.
It is possible as stated before that something may not be registering correctly. Make sure you are using 'change user /install' before you begin installing your app as well.
I have had similar problems with Citrix, and had to physically go to the machine's console to do the install. Certain DLL's were not registering when I logged in via the terminal ...
Regards
Andrew Fraser
~~~~~~~~~~~Analyst/Programmer
Sealord Group LTD