t-sql is only really used against sql server itself, and not external applications.
your best bet would be to use a vbscript to create and load the object outside of t-sql, and only use t-sql to run this script with xp_cmdshell (although this does have security implications...)
--------------------
Procrastinate Now!