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.
If ScanDABRunning = True Then 'starts scanning
ScanDABRunning = False
Select Case GetPlayStatus
If radiomode = 0 Then 'DAB ON
txtRadioname.Text = "DAB Scanning"
Dim freq As Integer = GetFrequency() * 1.4
txtRadiotext.Text = Str(freq) + "% - Found " + Str(GetTotalProgram)
If radiomode = 1 Then 'FM ON
txtRadiotext.Text = "Scanning"
txtRadiotext.Text = "Tuning"
txtRadiotext.Text = "Stop"
txtRadiotext.Text = "Sorting"
txtRadiotext.Text = "Reconfiguration"
txtRadiotext.Text = "N/A"