It seems this might have been a common question but a search of the forum doesn't find anything.

Microsoft says VB6 is supported on Win 7 (x86 only) to I tried it. The IDE works fine but the build is too slow to be usable.

A VB6 project that builds the .exe from the command line in six-seven minutes on XP took 1:20 on a modern (i5/4GB) Win 7 x86 machine with nothing extra installed beyond the dev environment.

I could see it was slowly trucking along making VB*.tmp files, so I let it run. A working executable finally popped out the other end. The CPU was 25% and the disk queue was essentially zero. What was it doing for an hour and 20 minutes?

Any ideas on what's causing the slowdown?