could not set the visible property. unexpected call to method or property access"
I have some code that has been running for a while now without issue. i entered the code today to try to make some amends, and during testing the above message appeared.
this message appears when:
i have two date time pickers, and compare the values in both. if they are the same day, then show a frame with some radio buttons in, if different hide the frame.
i am running it now on a different computer, so not sure if windows update could have caused this?? it has just started happening today!
<code>
If dt_type_from.Value = dt_type_to.Value Then
fram_day_length.Visible = True
Else
fram_day_length.Visible = False
End If
</code>
any ideas guys n gals?
regards and thanks in advance
I have some code that has been running for a while now without issue. i entered the code today to try to make some amends, and during testing the above message appeared.
this message appears when:
i have two date time pickers, and compare the values in both. if they are the same day, then show a frame with some radio buttons in, if different hide the frame.
i am running it now on a different computer, so not sure if windows update could have caused this?? it has just started happening today!
<code>
If dt_type_from.Value = dt_type_to.Value Then
fram_day_length.Visible = True
Else
fram_day_length.Visible = False
End If
</code>
any ideas guys n gals?
regards and thanks in advance