Dim lcHtml As String = "" Dim ldAddDate As Date = Nothing Dim llBlankDate As Boolean = False Dim llForceGive As Boolean = False Dim llHelpGive As Boolean = False Dim llHelpRemove As Boolean = False Dim llIn As Boolean = False Dim llPrevious As Boolean = False Dim llReply As Boolean = False Dim llSolution As Boolean = False Dim llSolutionGive As Boolean = False Dim llSolutionRemove As Boolean = False Dim llSolutionSysop As Boolean = False Dim llUnmarkSysop As Boolean = False Dim lnCounter As Integer = 0 Dim lnLocation As Integer = 0 Dim lnNoReply As Integer = 0 Dim lnOriginalMember As Integer = 0 Dim lnPoint As Integer = 0 Dim lnUnmarkSysop As Integer = 0 Dim lnUserHeadNoReply As Integer = 0 Dim loControlLabel As System.Web.UI.WebControls.Label = New System.Web.UI.WebControls.Label Dim loControlLiteral As System.Web.UI.WebControls.Literal = New System.Web.UI.WebControls.Literal Dim loControlTable As System.Web.UI.WebControls.Table = New System.Web.UI.WebControls.Table Dim loDataProvider As Framework.Framework.Data = New Framework.Framework.Data(oProcess) Dim loRow As DataRow = Nothing Dim loUpdate As Framework.Framework.Update = New Framework.Framework.Update(oProcess)But, referring to that page, point #2 says to make sure to not use an object variable set to Nothing.
Dim loRow As DataRow = NothingAs I said, this hit works ok but once every hundred thousand hits approximately, it will generate an error. But, executing the page as is, will work at 99.99% of the time.
Dim loRow As DataRowThis creates some green warning which is irritating me if I have defined a variable which is not being used.