I had this problem many times, its not vista, you have to make sure that the program configuration is set to "Release" instead of "Debug". But I came across so many of these errors when using .NET and got tyred of it, so I stopped using it and have never had any problems since
Reputation Points: 1429
Solved Threads: 129
Posting Virtuoso
Offline 1,542 posts
since Mar 2008