Sachin2k6
Active Member
- Joined
- Mar 3, 2012
- Messages
- 369
Hi guys
I'm a VBA Developer. I developed some VBA programs (See & download at www.excelapps.webs.com). Some of these programs uses a window control named Windows date-time Picker control. Library of this control is ‘mscomct2.ocx’ default directory for which is c:\windows\system32\ on 32 bit system & c:\windows\syswow64 on 64 bit system.
Problem is that this control is not available on all systems. On most of the system it works after copying its .ocx file to the default directory and then registering it through the command line using Regsvr32 c:\windows\system32\mscomct2.ocx but on some systems (64 bit as well as 32 bit) this registration process failed giving the message ‘The module was loaded but call to DllRegisterServer failed. Error code 0x8002801c.’ In that case control do not work on that system.
I have to find out the reason for this.
Can anyone help me??
I'm a VBA Developer. I developed some VBA programs (See & download at www.excelapps.webs.com). Some of these programs uses a window control named Windows date-time Picker control. Library of this control is ‘mscomct2.ocx’ default directory for which is c:\windows\system32\ on 32 bit system & c:\windows\syswow64 on 64 bit system.
Problem is that this control is not available on all systems. On most of the system it works after copying its .ocx file to the default directory and then registering it through the command line using Regsvr32 c:\windows\system32\mscomct2.ocx but on some systems (64 bit as well as 32 bit) this registration process failed giving the message ‘The module was loaded but call to DllRegisterServer failed. Error code 0x8002801c.’ In that case control do not work on that system.
I have to find out the reason for this.
Can anyone help me??