>Boris (and then Gregory) gave you very simple and correct instructions - why did you try to go in a completely wrong direction?
Naomi,
I did follow the instructions of Boris and Gregory:
Have modified my class, and recompiled and now I can read that most of my addobjects error, even the most simple one, I gave an example, here is an other one:
ADD OBJECT frmaanvraag.kvbasepageframe1.page1.line7 AS line WITH BorderWidth = 3, Height = 258, Left = 867, Top = 251, Width = 0, ZOrderSet = 41, Name = "Line7"
Error in line 474: Syntax error.
sorry, but I can't see anything wrong. Do you?
I am afraid I am facing a corrupt .VCX file and shall have to reconstruct my carefully constructed class.
Regards,
Koen