>Does anyone know how to make parameters in a VFP COM object method optional so that when I reference the method outside of VFP I do not have to pass all of the parameters? When I try and reference the method from within a VB app, I receive an error stating that the parameters are not optional.
In VFP7 you can use PEMName_COMATTRIB array for COM classes defined in code to specify type library attributes for the PEMName property or method, including the number of optional parameters. See help for details.
--sb--