home *** CD-ROM | disk | FTP | other *** search
/ Revista CD Expert 36 / CDE36_B / CDE36_B.mdf / Gem / GemMaster.exe / GemMaster / DriverDetect.js < prev    next >
Encoding:
Text File  |  1999-12-09  |  252 b   |  12 lines

  1. function ieDetectDriver
  2.   on error resume next
  3.     Dim wtObject
  4.     Set wtObject = CreateObject("WT3D.WT")
  5.     if err.number <> 0 then
  6.         Set wtObject = Nothing
  7.         ieDetectDriver = false
  8.     else
  9.         Set wtObject = Nothing
  10.         ieDetectDriver = true
  11.     end if
  12. end function