does anyone know how i can watch usb (serial ports) for new activity (ie a device being plugged in or unplugged from port)
you can monitor the count of serial devices IO.Ports.SerialPort.GetPortNames().Count
My First Computer -- Documentation Link (RT?M) -- Using the Debugger -- Prime Number Sieve Counting Bits -- Subnet Calculator -- UI Guidelines -- >> SerialPort Answer << "Those who use Application.DoEvents have no idea what it does and those who know what it does never use it." John Wein
thanks for your reply. what event would fire this?
I am using Microsoft Visual Basic 2008 Express Edition. I use Access for my data base
none that i am aware of. you could use a timer and check it there.
Forum Rules