I have written several VB.NET apps that 'hang up' when the user accesses another application or even clicks on the desktop taking focus off the VB app. Moving the cursor back over the app simply displays an hour glass. If the user ceases all activity on the PC, the app occassionally continues and completes its task after a significant wait. If the user continues to use other apps on the PC, the app remains stalled.

These apps all access/update server data (DB2 and/or SQL Server) and are NOT very sophisticated in what they are doing. Clients are pentium class 2.4-3.4 GHz using XP pro (512MB RAM or better) on a GB Ethernet newtork.

Any ideas or assistance would be appreciated.