If you're using Windows Mobile 5.0 or higher then you should check out the
CradlePresent SystemState from the SNAPI (Microsoft.WindowsMobile.Status)

Signature
Regards,
Christian Resma Helle
http://christian-helle.blogspot.com
> This is driving me mad, i'm using the below code:
>
[quoted text clipped - 36 lines]
>
> Thanks guys
Paul G. Tobey [eMVP] - 08 Nov 2007 15:20 GMT
If you resolve PPP_PEER on any version of Windows Mobile, I think you should
get something if you are docked, and nothing if you are not.
Paul T.
> If you're using Windows Mobile 5.0 or higher then you should check out the
> CradlePresent SystemState from the SNAPI (Microsoft.WindowsMobile.Status)
[quoted text clipped - 41 lines]
>>
>> Thanks guys
Rob S - 08 Nov 2007 15:26 GMT
Thanks, that works perfectly.
> If you're using Windows Mobile 5.0 or higher then you should check out the
> CradlePresent SystemState from the SNAPI (Microsoft.WindowsMobile.Status)
[quoted text clipped - 39 lines]
> >
> > Thanks guys