nikhil;
You may want to look at Parente's LabVIEW Webcam Library at:
http://www.mindofpete.org/labview_webcam.shtml
You can also look at Inventeering's ActiveX Control software with LabVIEW and VB examples at:
http://www.inventeering.com/~products_software_inventvisionvfw.htm
Regards;
Enrique
www.vartortech.com