Darren,
Use what shows up in the OLEClass property when you drop one of them on a form.
>Hi Anyone,
> I'm trying to use an ActiveX .OCX that I've installed on my machine. I need to use it programmatically rather than visually. I create a form like:
> oForm=CREATEOBJECT("form")
>
>Next, I need to add the ActiveX object. It's called RegEditL.OCX. I know I need to use AddObject() and that the first two parameters should be
oleMyObjectName and "olecontrol". And I know I need to pass the control’s
Class Library Name as the third parameter of the AddObject method.
But what is it? How do I determine what the Class Library Name is?> oForm=AddObject("oleRegEditL", "olecontrol", [WutzDis?])
>
>When I've dropped the object on a form to look at it's Class Library property I see it contains
[None]>TIA