Chris -
you gots a pathing problem -
install this beastie -
http://www.sysinternals.com/ntw2k/source/filemon.shtml and read the log for ONLY the running of your application.
THEN ? find the places in your code where the 'set path to' went nuts, and fix it .
hth - mondo regards [Bill]