I don't fully understand the concept of late and early binding. I recently started using option strict and my code fell apart arrgh!
I fixed all of my errors except four of them and here is a sample of what I have left:
VB Code:
Private Sub tab_25_btnClearAll_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) _ Handles tab_25_btnClearAll.Click 'Purpose : Clears the CU tabpage Try Client.ClearTab(sender.parent) tab_25_optNo.Checked = True Catch ex As Exception ErrorMessage(ex.Message) End Try End Sub
the error is "option strict disallows late binding' and it highlights the "sender.parent" section. what can I do to correct this?




Reply With Quote