VB5 - Active X Control - Attribute as a keyword???
Posted on 1998-01-28
I'm working my way through "Teach Yourself Database Programming with VB5 in 21 days" by SAMS Publishing.
Things being interesting because there are discrepancies between
what is printed on the page and what is supplied on the CD ROM.
So far I've managed to figure out what was wrong but this one has got me.
Day 12, building an Active X control to select from a list.
When I load up the CD rom version and compile it, it works.
When I load up the code I've typed in, it doesn't.
When I load up the ctl file into a text editor, I see that the CD
version has extra commands in the property definitions, like
Attribute DatabaseName.VB_ProcData.VB_Invoke_Property = "General;Data"
So, how is this command set, because when I type it in, VB5 doesn't
recognise it. How can I set it? I don't know if this is the cause of
why the typed in version doesn't work but it's a difference I've found.
Let me know if you need more details. TIA