runnig cuda programms in visual studio???

hi every one… please help me… plz
I have an asus n82jq notebook, with nvidia gforce gt335m,
I have installed visual studio 2010 ultimate and cuda toolkit 4.2 .
I have trouble in using cuda inside visual studio and compile my program… I don’t have any idea about how to use cuda libraries inside visual studio.
and so importantly , what is the setting of visual studio for cuda to run on gpu?