Have you looked at the sample project from the link I posted?