>Hello,
>
>I created an Active X Dll an register it with 'regsvr32'. It's ok, but when i use the 'CreateObject' to instanciate the class which is in the Dll, then the following error appear : "Active X component cannot create the object".
>Is there someone who known how to resolve this problem ?
>
>Thanks in advance.
Afin d'utiliser un DLL ActiveX dans une application VB il faut:
1-Ajouter une référence au DLL (menu projet/références)
2-Déclarer une variable: DIM X as MyObj.MyClass
3-Instancier l'objet: Set X = New MyObj.MyClass
Voilà.