Many thanks for your reply. :-) I will grab the latest DLL when my board turns up. I was struggling with the while .. .loop for scanning not updating the form and after a little sleep It dawned on me that you don't really need the while loop at all... I've also removed the freqlist what you use and just turned it into a percentage.. ie..
:-) again many thanks for the original source, it makes coding for something so much quick, also I have to agree the DLL is quite easy to work with compared to others.Code:If ScanDABRunning = True Then 'starts scanning ScanDABRunning = False DABAutoSearch(0, 71) End If Select Case GetPlayStatus Case 0 'playing Case 1 If radiomode = 0 Then 'DAB ON txtRadioname.Text = "DAB Scanning" Dim freq As Integer = GetFrequency() * 1.4 txtRadiotext.Text = Str(freq) + "% - Found " + Str(GetTotalProgram) End If If radiomode = 1 Then 'FM ON txtRadiotext.Text = "Scanning" End If 'scanning Case 2 txtRadiotext.Text = "Tuning" Case 3 txtRadiotext.Text = "Stop" Case 4 txtRadiotext.Text = "Sorting" Case 5 txtRadiotext.Text = "Reconfiguration" Case Else txtRadiotext.Text = "N/A" End Select