You can test a device application on an emulator running within Visual Studio. 
        
            - 
                
                    
                    
                    Install and configure Microsoft ActiveSync.
             
            - 
                From the main Visual Studio menu, select . 
            
 
            - 
                Select the emulator, right-click, and choose Connect.
            
 
            - 
                In the device emulator, select . 
            
 
            - 
                 Select the Connections tab, then click Connections. 
            
 
            - 
                 Select the  Advanced tab, then click Select Networks. 
            
 
            - 
                Under Programs that Automatically Connect to the Internet Should Connect Using, select My Work Network, then click OK.
            
 
            - 
                Click OK, then click X.
            
 
            - 
                In the Device Emulator Manager, right-click the emulator, and choose Cradle.
            
 
            - 
                In the Solution Explorer, select the device-application project, right-click, and select Deploy.
            
 
            - 
                In the device emulator, select .
            
 
            - 
                Select your project name, then the application name.