Refer -
DateTime.ParseExact Method (String, String, IFormatProvider)[
^].
Quote:
Converts the specified string representation of a date and time to its DateTime equivalent using the specified format and culture-specific format information. The format of the string representation must match the specified format exactly.
But you have converted the string to date and then passed it inside this
ParseExact
Function as the first parameter.
So, try like below...
Dim dt1 As DateTime
dt1 = DateTime.ParseExact(Me.txt_frmdate.Text, "MM/dd/yyyy", System.Globalization.CultureInfo.InvariantCulture)