Treeview

P

Phil

Using Windows XP and Access 2K I used MSCOMCTL.DLL to build a treeview type
menu system. I Now need to move to Windows 7 and Access 2010. Althogh
MSCOMCTL appears to be registerd, when I drag it onto the form from the
additional controls, I get a message that the "OLE server isn't registerd".

Help please

Thanks

Phil
 
S

Stefan Hoffmann

hi Phil,

Using Windows XP and Access 2K I used MSCOMCTL.DLL to build a treeview type
menu system. I Now need to move to Windows 7 and Access 2010. Althogh
MSCOMCTL appears to be registerd, when I drag it onto the form from the
additional controls, I get a message that the "OLE server isn't registerd".
While I personally haven't tested it yet, it should work, but you have
be carefully:

1. Is it a 32-bit or 64-bit Windows 7? If it's a 64-bit version then you
have to choose the correct path, if you're putting it into the systems
folder.

2. Register the control under an account with administrative privileges.
Open a command line window using the context menu with 'Run as
Administator' option.


mfG
--> stefan <--
 
P

Phil

Thanks for coming back

Using 64 bit Windows 7.
Normally registerd in System32 for windows XP, but is this the correct path
for the 64 bit version. I currently have it in Windows \SysWOW64 and
apparently also in C:\Program Files (x86)\Microsoft Visual Studio 10.0\Visual
Studio Tools for Office\PIA\Common. Dont know if there is a conflict.
It is also refereced in the visual basic .......... I'm gettin confused

Right.. start again
There is a MSCOMCTL.dll in C:\Program Files (x86)\Microsoft Visual Studio
10.0\Visual Studio Tools for Office\PIA\Common and C:\Windows\SysWOW64

There is a MSCOMCTL.OCX in C:\Windows\SysWOW64,
C:\Windows\System32
and and C:\Users\Phil\AppData\Roaming\Microsoft\AddIns.

There is a MSCOMCTL32.OCX in C:\Windows\SysWOW64

My VB reference points to C:\Windows\SysSysWOW64\MSCOMCTL.OCX. There are no
compilation errors.

When I try to add the treeview to my form, I am using the Insert ActiveX
Control and picking Microsoft Treeview Control, version 6.0.

So what should be where and what should be registerd?

Again many thanks,

Phil
 
S

Stefan Hoffmann

hi Phil,

What Access version do you use? 64-bit or 32-bit? As the MSCOMCTL.OCX is
32-bit, so you need the 32-bit version.


mfG
--> stefan <--
 
P

Phil

hi Phil,

What Access version do you use? 64-bit or 32-bit? As the MSCOMCTL.OCX is
32-bit, so you need the 32-bit version.


mfG
--> stefan <--

Thanks for replying

Trying Access 2010 Beta which is the 64 bit version

Phil
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top