rapperhuj -3 Light Poster

hi sir/mam,
i have a school projects called tachometer cycle reader with VB program i want to read tachometer's cycle per minute i know how to output from parallel port but i dont know how to read an input or declare an input code.. to read the sensor analog signal.. please help me.. thanks a lot..