Hope someone could help.
I read all the controls on a page using the following statement:
For i = 0 To Page.Form.Controls.Count - 1
try
Page.Form.Controls.Item(i).Visible = False
' here I would not like to set the property to "visible" to false.
'I would rather set the enable property to false
Catch
End Try
Next
The controls are checked against a security table whether the user should have access to it or not. If not access, the enable property must be set to false.
On entering the dot - no "enable" property is shown and I dont know how to get to work. I use visio studio 2005
Please help!
Regards
Francois