I have a VB 6 program that was running great on a win 98se pc, we changed out the pc for a new one running xp and now the VB program hangs.  If I run the program from debug, everything executes correct.  I was wondering if the Sleep command is not being accomplished during the Run but it sure seem to be when in Debug.  Any suggestions?