Hi Mike,
Thanks for replying.
Unfortunately, i get an error:
"Object reference not set to an instance of an object"
at the last line:
Dim lb As New Label
lb = CType(CreateUserWizard1.WizardSteps(1).FindControl ("UserNameLabel"), Label)
lb.Text = "yes"
|