I guess I'll get "show us the damn code" comments but I don't have it with me now and I cannot possibly see how the code can have anything to do with this problem.
Must be a vision issue, then, because I can not see how code that fails to work is anything but a code issue.