New topic: System.SerialPortCount issues
<http://forums.realsoftware.com/viewtopic.php?t=37729> Page 1 of 1 [ 1 post ] Previous topic | Next topic Author Message Dipke Post subject: System.SerialPortCount issuesPosted: Sat Feb 19, 2011 3:38 am Joined: Fri Jun 27, 2008 3:42 am Posts: 130 Location: Belgium, Leuven Hi, I make communication through serial ports. The problem is that when i ask the system all the available port it takes several minutes for finding 18 ports. This is the code i am using Code: For intComPortCounter As Integer = 0 To System.SerialPortCount -1 mnuCom.Append( New MenuItem( System.SerialPort(intComPortCounter).Name)) Next intComPortCounter Why does i takes so long ? Opening the port takes 5 secs. Dipke Top Display posts from previous: All posts1 day7 days2 weeks1 month3 months6 months1 year Sort by AuthorPost timeSubject AscendingDescending Page 1 of 1 [ 1 post ] -- Over 1500 classes with 29000 functions in one REALbasic plug-in collection. The Monkeybread Software Realbasic Plugin v9.3. http://www.monkeybreadsoftware.de/realbasic/plugins.shtml [email protected]
