2019. 3. 29. 06:03
vb6 runtime error 3421
Application uses a value of the wrong type for the current operation.
Now 함수와 같이 날짜를 반환하는 부분에서 문제가 없는지 확인 바랍니다.
날짜 형식이 맞지 않거나 변환하는 과정에서 발생하는 문제 입니다.
dim a as string* 19
a = now()
a가 19byte 일때는 "2019-03-29 12:00:00" 형식을 따르지만
now 함수는 os 설정값으로 인하여 출력형식이 변경됩니다.
"2019-03-29 오전 12:00" 형식이면 오류가 됩니다.