Hey Everyone
I use variable throughout my program that i just converted from vb6.0. i'm getting this warning. The code is below. Any ideas on improving my coding
Thanks
Warning 1Code:Dim lblEXH As Label Dim lblBBCD As Label Dim lblCDLE As Label Dim txtSE As TextBox Dim txtDCP As TextBox txtIBR.Text = "" txtIA.Text = "" txtDCP.Text = " " txtSE.Text = "" lblCDLE.Text = "" lblBBCD.Text = "" lblEXH.Text = "" txtIA.Focus()
Variable 'DDD' is used before it has been assigned a value.
A null reference exception could result at runtime.




Reply With Quote