firstly, Sony vaio laptop needs a webcam driver, which you can find on sony's official website support easily.
Secondly, for taking a pic or vid from your laptop, you need to have a software like picasa(which comes with a built in camera app), or you can download the sony webcam utility again from sony's website.