-
June 23rd, 2010, 10:19 AM
#1
[RESOLVED] Accessing properties of controls
Hi,
Is there anyway that I can access all the properties of a control(activex or normal) during runtime and get their values. I dont want to speicify the property name. I should get the all the property names and their values. It is something like reflection namespace in VB.NEt. Is it posiible in vb6.0
Thanx
-
June 23rd, 2010, 10:22 AM
#2
Re: Accessing properties of controls
Not that I'm aware of... I've only ever tried it in .NET... so I don't know for sure if there is a way in VB6 (never had a reason to).
-tg
-
June 23rd, 2010, 10:46 AM
#3
Re: Accessing properties of controls
You'll have to make use of the TypeLib Information Library in tblinf32.dll
http://www.vb-helper.com/howto_get_c...g_typelib.html
-
June 24th, 2010, 03:07 AM
#4
Re: Accessing properties of controls
Thank you very much. Tlbinf32.dll is the right dll. I got what I need. Once again Thank you..
-
June 24th, 2010, 03:32 AM
#5
Re: Accessing properties of controls
That is good news Well done!
Please mark your thread Resolved. You can do this by clicking on Thread Tools ( above your first post ), and then selecting Mark Thread Resolved.
Thank you,
Hannes
Tags for this Thread
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|