Hi, i'm trying to open up an activex control (Groupwise Address Book) from a command button on a form. I'm using the code below but I get the error message "Activex component can't create object"
I've tried re-registering the gwab1.ocx I've also tried regsvr32 on it and that was successful but I still get the error message.
If I use the toolbox and just insert the Activex control on my form it opens up fine but I need to run some code first so I want to run it from a command button.
I've been through everything on Microsofts support page but nothing seems to fix it....
Any ideas?
Thanks, Tom.
Code:
Dim GWaddress As Object
Set GWaddress = CreateObject("GWABLib.GWab")
I've tried re-registering the gwab1.ocx I've also tried regsvr32 on it and that was successful but I still get the error message.
If I use the toolbox and just insert the Activex control on my form it opens up fine but I need to run some code first so I want to run it from a command button.
I've been through everything on Microsofts support page but nothing seems to fix it....
Any ideas?
Thanks, Tom.