''' <summary>
''' Converts key presses into date format
''' </summary>
''' <param name="field">The name of the text box being accessed</param>
''' <param name="e">the key being pressed</param>
Public Sub GetKeyDate(field As TextBox, e As KeyEventArgs)
This was working as expected until I added an If .. Then statement to the file now I get several errors I look for help on this error and got nothing helpfull, can any one point me to what I have done wrong,
Thanks Dennis
CodePudding user response:
The problem is in your namespaces.
I changed this line to Public Sub GetKeyDate(field As TextBox, e As input.KeyEventArgs)
KeyEventArgs belongs to System.Windows.Input. In your e As input.KeyEventArgs method signature, input alias must be pointing to something else.
CodePudding user response:
I changed this line to Public Sub GetKeyDate(field As TextBox, e As input.KeyEventArgs)
Not shure why the sudden change but all is now working
Thanks
