You did not tell us what kind of error you're getting.
You're using SSPI authentication. This assumes that the SQL Server has an
account setup for the Windows user or the group in which they are a member.
I would also double-check the version of the COM libraries to make sure they
are correct as this is the most common reason for this type of failure.
I would also transition your skills to VB.NET.

Signature
__________________________________________________________________________
William R. Vaughn
President and Founder Beta V Corporation
Author, Mentor, Dad, Grandpa
Microsoft MVP
(425) 556-9205 (Pacific time)
Hitchhiker's Guide to Visual Studio and SQL Server (7th Edition)
____________________________________________________________________________________________
>I have a fairly simple program I'm writing in VB6 to do basic project
> scheduling. It runs just fine on my computer. I've created an
[quoted text clipped - 37 lines]
>
> Thank you!