>Is there anything available to find which Comm Ports are available or being used?
>
>Currently I use this DEVCON.EXE with this code, but it does not work in Vista.
>
>
>
>Set Memowidth To 200
>
>! devcon findall =ports > ports.txt
>Create Table Data\ports (portlist m(20))
>
>Append Blank
>Append Memo portlist From ports.txt Overw
>Modify Memo portlist Noedit && Display memo field again
>
>This.Parent.txtcomm_Port.SetFocus()
You might be able to adapt the code here:
http://www.news2news.com/vfp/?example=308&function=15
Regards. Al
"Violence is the last refuge of the incompetent." -- Isaac Asimov
"Never let your sense of morals prevent you from doing what is right." -- Isaac Asimov
Neither a despot, nor a doormat, be
Every app wants to be a database app when it grows up