老师:在测试加将密文后两位换掉,报错。用TRY可以阻止程序打开,但这个报错,要如何去除?
try If DecryptText("aaaaa","abc","def") = ComputerId Then Messagebox.Show("解密正确!") Else msgbox("解密出错") End Ifcatch ex As exception msgbox("字符串有错")End try
此主题相关图片如下:333.png