I'm trying to set the system date and time on a Pocket PC in VB .NET 2003.

The code is trivial.

Dim MyDate as Date

Set up the date and time I want.

Today=Mydate
TimeOfDay=MyDate

I continually get a System.NotSupportedException error.

I have tried using the SetLocalTime API call with the same result.

Does this mean that you can't set the system date and time on a Pocket PC using VB .NET?

Surely not!

Regards,

Kevin Bell