Did user click Cancel or entered a blank value? (VB6)

Most approaches in solving a problem is straightforward, and in this context — — in VB6 programs specifically.