i need to do a clock that is in time with the system clock but has hours minutes and seconds and are in separate textboxes. can anyone help me out with the code?

I saw that by the post by by mikeee they had this code


Code:
      Private Sub Timer1_Tick(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Timer1.Tick
  
           TextBox1.Text = DateTime.Now.Hour.ToString
   
           TextBox2.Text = DateTime.Now.Minute.ToString
  
           TextBox3.Text = DateTime.Now.Second.ToString
  
      End Sub
Here is the original post

Now that code does not work on VB6. What can I do to put it on VB6?


Also, How hard would it be to change a VB6 program to a VB2005 program? I have another program in VB6 that is basically buttons playing sounds using MMControl. How can I convert it to VB6?