我在第二行到最后一行Char 13下面的代码收到此错误。我看不到代码有任何问题。有人能帮忙吗?
Function Results(KBname)
Select Case Return
Case 9009
LogFile.WriteLine(Now & " - WARNING: " & KBname & " is already installed; skipping installation.")
Case 2359302
LogFile.WriteLine(Now & " - WARNING: " & KBname & " is already installed; skipping installation.")
Case -2145124329
LogFile.WriteLine(Now & " - WARNING: " & KBname & " is not required for this system; skipping installation.")
Case Else
LogFile.WriteLine(Now & " - Install of " & KBname & " has completed with return code: " & RETURN)
End Select
End Function
答案 0 :(得分:3)
如果是错误代码800A03F6,则可能意味着与If-Then相关的错误(在此功能之前)未正确关闭。