Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Optional Parameters
Message
 
 
To
12/06/2002 12:44:37
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Miscellaneous
Thread ID:
00667488
Message ID:
00667545
Views:
14
>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--
Previous
Reply
Map
View

Click here to load this message in the networking platform