In this code sample, ListView control on VFP form displays available disk drives. The list automatically updates itself (VFP9) whenever a connection change occurs:
USB flash drive inserted or ejected
external hard drive connected to USB port, or ejected