Ole Public is an option when defining a class.
Specifies that the class in an Automation server can be accessed by an Automation client.
If a program containing an OLEPUBLIC class definition is added to a project, an executable (.exe) file or a dynamic link library (.dll) containing the class can be created interactively in the Project Manager or with BUILD EXE or BUILD DLL. The EXE or DLL is automatically registered with the operating system, and becomes available to any Automation client.
DEFINE CLASS RatFace AS Custom OLEPUBLIC
Source: VFP6 Help
See also: Fox OLEAutomation Example
Excellent explanation and examples in MSDN Magazine article by Erik Moore - October 2001
Category C _ O _ M Category Exam 70-155 Hot Topic
( Topic last updated: 2007.07.18 10:08:56 AM )