I am Creating an Application using VB6. Its work is receiving data from internet using winsock and inet controls. it also a timer program , every time interval it can receive updates from internet. it also start in windows startup. actually this program give us current temparature, weather condition from internet etc. all functions works fine. but Problem is when we shutdown our PC. then , this application not responding while closing. (due to open winsock & Inet control).


How to solve this Problem???

Please help me anyone>>>>>>>>>>>>>>>>>>>

Advance Thanks