Author: LauDev | Posted on: 8/3/2008 10:21:55 AM | Views : 283

Hi everyone !

Is there someone who can give me any orientation about this problem?  Thanks in advance

I have an application in which the administrator can create new users and assign them a role with the createuserwizard. I added a step, so the administrator can choose a role from a list. If by mistake he forgot to did it, I added the next code, to delete the user just created:

If ListBox1.SelectedIndex = -1 Then
Dim message As Label
mesage.text = "You forgot to assign a role.The user was not created"

Dim Go to the complete details ...