Yes, you're right. It does pass parameters to the Init ... when used in VFP.
I'm not aware of where it's documented that COM doesn't support parameters to COM components. It's something I learned way back with VFP 6.0.
>You wrote: "COM does not support passing parameters to the Init method."
>
>Good morning Craig
>
>Yes, that is certainly the way it appears. I am currently writing separate lines to pass in values to class properties.
>
>BUT... the MS documentation says that CreateObject("myTest.myClass", param1, param2, etc) does pass the params to the Class's Init Event. I have unsucessfully found any docs that say otherwise.
>
>Can you point me to a document reference?
>
>Thanks
>Don Lowrey
Craig Berntson
MCSD, Microsoft .Net MVP, Grape City Community Influencer