>For li=1 To 3 > lsuccess = .T. > Try > oIE = Createobject( "internetexplorer.application" ) > Catch To loexception > lsuccess = .F. > Endtry > If lsuccess > Exit > Endif >Endfor >