ClassName Property
Applies To: ActiveXControl OCXClass OLEClient OLEServer

Description

For an OLEClient, the ClassName property specifies the name of the OLE object to which an OLEClient object named by the left argument of ⎕WC is to be connected. Similarly, for a NetControl the ClassName property specifies the name of the .NET class to be instantiated. Note that ClassName is mandatory for ⎕WC and may not subsequently be changed using ⎕WS.

For an ActiveXControl or OLEServer, ClassName specifies the external name with which the object is registered, and by which it is referenced by other applications.

For an ActiveXControl, the external name is "Dyalog xxx Control, where xxx is the value of the ClassName property, or, if ClassName is not specified, the name of the ActiveXControl namespace.

For an OLEServer, the external name is "Dyalog.xxx" where xxx is derived in the same way.

For a NetControl, the external name is the name of the .NET class which must be expressed relative to a corresponding element of ⎕USING. For example, to load one of the standard .NET controls:

      ⎕USING,←⊂'System.Windows.Forms,system.windows.forms.dll'