>A way that I have used an OLE control that must be placed on a form is to create a base form object and add your control to it, but not activate the form, just use it to hold your control.
>
>Here is an example:
>
>
>oDummyForm = CREATEOBJECT("FORM")
>
>* must include the OLE class of the object as fourth parameter of AddObject()
>* you can see what it is if you drop the control on a form in the
>* form designer and look at the OLEclass property on the property sheet
>* on the All or Other tab
>oDummyForm.AddObject("oleZipControl","MyZipCtrl","XCEEDZIP.XceedZipCtrl.1")
>oMyControl = oDummyForm.oleZipControl
>
>
>In this example I am creating a reference to my customized XCEEDZIP control. I defined the CLASS "MyZipCtrl" in a PRG and use this method to create an instance of it.
>
>Be sure to release both variables to release the instance of your control.
>
>Hope this helps,
>-Lou.
This ended up being the method that we used to initialize the control, except we used oDummyForm.NewObject, which doesn't appear to require the OLEClass parameter. Thanks.