Hi guys
I have trouble with the code I have received. I do not understand with the sense at all, the code suppose to be correct and they suppose to be reading the size of the image on my hard disk but the error code shows it didn't make any sense![]()
Here it the code:
Code:Dim D As New IO.DriveInfo("C") Dim Size As Integer = CInt(D.AvailableFreeSpace) Size /= 1073741824 Label16.Text = CStr(Size) & "GB"
Error I have received: Arithmetic operation resulted in an overflow.
Any idea?
Thanks,
Mark




Reply With Quote