rem Flash detector on error resume next flashok = false If MSDetect = "true" Then For i = 2 to 6 If Not(IsObject(CreateObject("ShockwaveFlash.ShockwaveFlash." & i))) Then Else flashinstalled = 2 flashversion = i End If Next End If If flashinstalled = 0 Then flashinstalled = 1 End If If flashversion>=6 Then flashok=true End If