can anyone please convert the following code into vb.net code??
private void textBox1_Validating(object sender, System.EventArgs e)
{
if (textBox1.Text.Length==0)
{
MessageBox.Show(“Enter Your Name Please”);
textBox1.Focus();
}
else
{
bool iscorrect = true;
for(int i=0;i