Asp component detection function

Author:Anonymous    Updated:2008-10-23 16:18:34
Asp component of a detection function, a friend in need can be taken by China's self-programming network, www.zxbc.cn.

\'================================================
\ ': Check whether the components already installed
\ 'Parameters: strClassString ---- components of
\ 'Return value: True ---- has been installed
\ 'False ---- not installed
\'================================================
Function IsObjInstalled (ByVal strClassString)
  Dim xTestObj, ClsString
  On Error Resume Next
  IsObjInstalled = False
  ClsString = strClassString
  Err = 0
  Set xTestObj = Server.CreateObject (ClsString)
  If Err = 0 Then IsObjInstalled = True
  If Err = -2147352567 Then IsObjInstalled = True
  Set xTestObj = Nothing
  Err = 0
  Exit Function
End Function
Previous:Html extract the contents of all the picture information code
Next:ASP format of the date of importation issue
User Reviews
Site Search
Recommended article
AD