Using Arduino and Visual Basic to select the connected port dynamically and transfer the data from one of the sensors (here Ultrasonic Distance Sensor) connected to Arduino to the computer via connected port.
more details : http://computeraidedautomation.com
Download arduino_vb.ino and ArduinoVB.NET Datalogger.zip files open your arduino compiler and compile arduino code from arduino_vb.ino
Extract zip file and install setup.exe
Connect Ultrasonic distance sensor's Echo pin & Trigg pin...