@Gribouillis hi and thanks for the improvement , originally that is what I had in mind but I tried and tried but could not get the rest of the code working ( your while true part line 20 and after , but my version) until I got headache looking at the monitor that is why I cut my code short and uploaded the short version . I will look at your code again once my headache is gone . thanks again
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts learning and sharing knowledge.