>>>>Use a array instead or an object, or default the parameters the first method doesn't get and send them all.
>>>>
>>>
>>>Thanks, Al. For my particular purpose I have to know exactly how many parameters I passed.
>>
>>Then why do you turn down the array suggestion?
>
>Because I'm calling this like this
>
>oFormMgr.DoForm('MyFormClass',myParam1, myParam2) from the menu. How can I use parameters array?
Won't oFormMgr.DoForm('MyFormClass',@myParam) work? myParam(1)=parameter1, myParam(2)=parameter2 and so forth.