I have this Delphi 5 procedure and need to convert in vb 2008. Can anyone help me please?
I am using sql server 2005. Specially I do not know what is "TA8Recordset" here.
Thank you very much in advance.

procedure readCurrentDbNumberFromDB(conn : OleVariant);
var
Records,Params : OleVariant;
dbNr : String;
rs : TA8Recordset;
cmdQuery : WideString;
begin
CleanDBNumber := '';
CurrentDBNumber := '-1';


cmdQuery := 'select SettingValue from SettingsTable where settingName=''dbVersion''';
Params := EmptyParam;
Records := UnAssigned;
try

rs := TA8Recordset.Create(nil);
rs.DefaultInterface.Open(cmdQuery, conn, adOpenForwardOnly, adLockReadOnly, adCmdUnspecified);
if not rs.DefaultInterface.eof then
begin
dbNr := String(rs.DefaultInterface.Fields[0].value);
CleanDBNumber := dbNr;
CurrentDBNumber := NewVersionNumber(dbNr); // call NewVersionNumber procedure
end
else
begin

CurrentDBNumber := '-1';
end;
except

CurrentDBNumber := '-1';
end;

writeToLogFile('Current DB Number: ' + CurrentDBNumber,false, false);// call writeToLogFile function
end;