How can I convert below VB function into VB.NET? Public Function FChkUserLoggedIn(LoginId As Long) As Boolean Dim rs As ADODB.RecordSet, strsql As String Set rs = New ADODB.RecordSet 'strSql = "select msession from log where msession in (select msession from log where loginid = " & LoginId...