>>>>>We are trying to use a third party activeX control the control is a dll file, it does not have to be registered with windows the file is just copied into the windows folder.
>>>>>
>>>>>I am having problems talking to the dll I have tried:
>>>>>
>>>>>ohhcom = CREATEOBJECT("HH32commDriver")
>>>>>
>>>>>and
>>>>>
>>>>>ohhcom = NEWOBJECT("HH32commDriver")
>>>>>
>>>>>trying this I receive an Class definition HH32commDriver is not found.
>>>>>
>>>>>I can open the dll in the class browser and see all the methods and events has anyone any ideas on how to talk to the control?
>>>>>
>>>>>Thanks
>>>>>
>>>>>John
>>>>
>>>>Did you try :
>>>>ohhcom = CREATEOBJECT("DLLname.HH32commDriver")
>>>>Cetin
>>>
>>>Hi Cetin
>>>
>>>HH32commDriver is the name of the dll.
>>
>>If it's a COM dll then (should be as it's an ActiveX dll):
>>ohhcom = CREATEOBJECT("HH32commDriver.ClassName")
>>
>>else :
>>declare retValType FunctionName in HH32commDriver paramlist
>>Cetin
>
>How do I find the class name?
>
>John
From its documentation. Also you might use VFP7-8's object browser.
Cetin