工程->部件->Microsoft Masked Edit Control6.0MaskEdBox1.Mask = "####-##-##"
兄弟,没有Microsoft Masked Edit Control6.0呀我是vb6