Hi,
Thanks for your previous reply.
I have a form that have controls . some of them have EnableMode property. I
want to do process to that control and want to know its value. I wrote
following commands, pl. tell what I am missing.
Dim ctl As Control
Dim str As String
For Each ctl In Me.Controls
MessageBox.Show (ctl.GetType.GetProperty("EnableMode")...)
Next
Thanks in advance.
Hardik.
"Ken Tucker [MVP]" <vb***@bellsouth.net> wrote in message
news:uf*************@TK2MSFTNGP11.phx.gbl...
Hardik,
You can use reflection to get a list of properties of the
control.
http://www.vb-tips.com/default.aspx?...8-7d02cf64d537
Ken
Ps Any time I replied to an email you sent me it was returned saying there
were permanent problems with you email server.
----------------------------
"Hardik Shah" <ha********@hotmail.com> wrote in message
news:e5**************@TK2MSFTNGP15.phx.gbl... Hi,
I have created a form , and have a different controls on them. I want
to check that control has particular property name or not.
I wrote following code , tell me what I missing :-
Dim ctl As Control
For Each ctl In Me.ParentForm.Controls
' IsPropery(ctl.
Next
Thanks in advance.
Hardik Shah