GetInternetExplorerInfo Function

Action

Returns the major and minor version and the build number of the installed Internet Explorer.

Include File

Kernel.bdh

Syntax

GetInternetExplorerInfo( majorVersion : out long, 
                         minorVersion : out long, 
                         buildNumber  : out long optional ): boolean;

Return value

  • true if successful

  • false otherwise

Parameter Description
majorVersion The major version of the installed Internet Explorer
minorVersion The minor version of the installed Internet Explorer
buildNumber Optional: The build number of the installed Internet Explorer

Example

benchmark SilkPerformerRecorder

use "Kernel.bdh"

dcluser
  user
    VUser
  transactions
    TInit           : begin;
    TMain           : 1;

var

dclrand

dcltrans
  transaction TInit
  begin
  end TInit;

  transaction TMain
  var
    majorVersion, minorVersion, buildNumber : number;
  begin
   if GetInternetExplorerInfo (majorVersion, minorVersion,  buildNumber) then
      Print(string(majorVersion)+" "+string(minorVersion)+" "+string(buildNumber));
    end;
  end TMain;