mare1980k1 Member Licensed User Longtime User Sep 26, 2017 #1 I get bunch of errors on line: wifiscan.startScan(testbtn_Click,False) Code: Copy Sub testbtn_Click Dim mWiFi As MLwifi Dim wifiscan As MLScan mWiFi.EnableWifi(True) wifiscan.startScan(testbtn_Click,False) For i = 0 To wifiscan.wifis.Length - 1 ToastMessageShow(wifiscan.wifis(i), False) Next End Sub
I get bunch of errors on line: wifiscan.startScan(testbtn_Click,False) Code: Copy Sub testbtn_Click Dim mWiFi As MLwifi Dim wifiscan As MLScan mWiFi.EnableWifi(True) wifiscan.startScan(testbtn_Click,False) For i = 0 To wifiscan.wifis.Length - 1 ToastMessageShow(wifiscan.wifis(i), False) Next End Sub
Cableguy Expert Licensed User Longtime User Sep 26, 2017 #3 I never used this feature, but this line is simply wrong: wifiscan.startScan(testbtn_Click,False) testntn_Click is the even that gets fired when the testbtn is clicked... You should replace that with the event name that should be called when the scan completes. Upvote 0
I never used this feature, but this line is simply wrong: wifiscan.startScan(testbtn_Click,False) testntn_Click is the even that gets fired when the testbtn is clicked... You should replace that with the event name that should be called when the scan completes.