![]() | |
![]() |
| | Thread Tools | Search this Thread | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
Hi, I've been writing a program in .net for a couple years and everything was working fine until my hard drive had to be replaced and so I installed visual studio on the new drive and loaded up my application. Now I get the following error whenever I try to convert a string into a date: An unhandled exception of type 'System.InvalidCastException' occurred in microsoft.visualbasic.dll Additional information: Cast from string "12/31/2022" to type 'Date' is not valid. This never happened before and I don't have any idea what is causing it. Any suggestions would be much appreciated. Thanks. |
![]() |
| Thread Tools | Search this Thread |
| Display Modes | |
| |