代碼如下
<%
Function IsObjInstalled(strClassString)
On Error Resume Next
IsObjInstalled = False
Err =
Dim xTestObj
Set xTestObj = Server
If
Set xTestObj = Nothing
Err =
End Function
Function getver(Classstr)
On Error Resume Next
getver=""
Err =
Dim xTestObj
Set xTestObj = Server
If
Set xTestObj = Nothing
Err =
End Function
%>
調用方法如下
代碼如下
<%
if IsObjInstalled("fso
response
end if
%>
From:http://tw.wingwit.com/Article/program/net/201311/14481.html