Private Delegate Sub DoInitializedDelegate() Public motdet As New Thread(AddressOf MotionDetection) Private Sub MotionDetection() 'Do motion detection Work 'It is never ending Loop until form unload. End SubThen I start it in my form load event.Private Sub frmScan_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load motdet.Start() End SubSo my problem started when i load the form. i can see the form but it is like loading something. i thought my motion detecting thread is never ending loop until form unload. i cannot type anything inside two text box i mentions in above. how should i do ? pls help me. thanks best rgds, df