Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

MSCOMCTL.OCX

52 views
Skip to first unread message

Phil

unread,
Dec 30, 2009, 6:20:47 AM12/30/09
to
Using Access 2010, I need the Treeview control & ListImage control.

They appear OK in the Insert ActiveX menu as version 6, but when I try to
insert it into my form it gives an error "The OLE Server isn't registerd".
I have run Regsvr and uninstalled it & re-installed it, but no luck.

In the VBA part, I have a line that says
Private oTV As MSComctlLib.TreeView, nNode As MSComctlLib.Node
and a reference to MSCOMCtl and that compiles OK.

Any bright ideas please

Thanks

Phil

Tom van Stiphout

unread,
Dec 30, 2009, 10:54:04 AM12/30/09
to
On Wed, 30 Dec 2009 11:20:47 GMT, "Phil" <ph...@stantonfamily.co.uk>
wrote:

Are you on 64-bit? If yes such controls have to be registered in a
different location. See:
http://social.answers.microsoft.com/Forums/en-US/w7programs/thread/f96acaa3-90d7-437a-a9cc-9130eb17fdb4/


-Tom.
Microsoft Access MVP

Phil

unread,
Dec 30, 2009, 2:22:17 PM12/30/09
to

Thanks, Tom

De-registered MSCOMCTL.OCX in Windows\Sysyem32 and re-registered it in
WOWSys64. Seems to register OK. Changed the reference in VBA to the new
location and no compile errors, but again, as soon as I try to add the
Treeview to a form I get "The OLE Server isn't registerd" error. So no change
from when it was in the System32 folder

Any further thoghts

Phil

0 new messages