Click here to Skip to main content
14,736,706 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi,
I have an application written in VB.NET using VS2017 and Windows IoT Enterprise. Now it is requested that the time shall be changed by the user without showing the window built in adjust time form. Is this possible?
Best Regards,
Per

What I have tried:

            DateTime.Year = Me.TextBoxDateYear.Text
            DateTime.Month = Me.TextBoxDateMonth.Text
            DateTime.Day = Me.TextBoxDateDay.Text
            DateTime.Hour = Me.TextBoxHour.Text
            DateTime.Minute = Me.TextBoxMinute.Text
This doesn't work of course, but illustrate what I try to achieve. Write the date and time in textboxes and then set the computer time accordingly.
Posted
Updated 14-Jun-20 22:56pm

1 solution

   
Comments
Member 14740048 15-Jun-20 5:13am
   
Thank you very much! I suppose that I can exchange the remote server time with input data from the textboxes?

Thanks again, Per

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)




CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900