Hi i have been trying to set the system date and time from a VB.NET (4.5 Framework), program and just seem to be getting errors, the code i use is
and it says my security levels are not correct (i am logged in to Win 7 with an administrator account).
I have searched the net and tried some things to change the security permissions but have had no luck, does anyone have any links they could share or some code to allow this operation.
This was so easy in XP and VB 6 LOL
Thanks
Stu
VB.NET:
Dim da As Date = #12/10/2012#
DateAndTime.Today = da.ToShortDateString
and it says my security levels are not correct (i am logged in to Win 7 with an administrator account).
I have searched the net and tried some things to change the security permissions but have had no luck, does anyone have any links they could share or some code to allow this operation.
This was so easy in XP and VB 6 LOL
Thanks
Stu