dbTalk Databases Forums  

MSCOMCTL.OCX

comp.databases.ms-access comp.databases.ms-access


Discuss MSCOMCTL.OCX in the comp.databases.ms-access forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Phil
 
Posts: n/a

Default MSCOMCTL.OCX - 12-30-2009 , 06:20 AM






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

Reply With Quote
  #2  
Old   
Tom van Stiphout
 
Posts: n/a

Default Re: MSCOMCTL.OCX - 12-30-2009 , 10:54 AM






On Wed, 30 Dec 2009 11:20:47 GMT, "Phil" <phil (AT) stantonfamily (DOT) 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/...-9130eb17fdb4/


-Tom.
Microsoft Access MVP



Quote:
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

Reply With Quote
  #3  
Old   
Phil
 
Posts: n/a

Default Re: MSCOMCTL.OCX - 12-30-2009 , 02:22 PM



On 30/12/2009 15:54:00, Tom van Stiphout wrote:
Quote:
On Wed, 30 Dec 2009 11:20:47 GMT, "Phil" <phil (AT) stantonfamily (DOT) 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/...-9130eb17fdb4/


-Tom.
Microsoft Access MVP



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

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

Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.