DateTime Picker Control

shamas21

Registered User.
Local time
Today, 23:26
Joined
May 27, 2008
Messages
162
Hi All

I have moved my Acces 2007 from my lapto to my Home PC.

I can no longer use my DTPicker (Microsoft Date Time Picker) which looks like a combo box until you click it.

Now that i have moved it i cant get the

"No object found", how can i use this date time picker?

Thanks
 
Have you registed the ocx on your laptop

You need to register the mscomctl2.ocx in your system32 folder


David
 
Hi All

I have moved my Acces 2007 from my lapto to my Home PC.

I can no longer use my DTPicker (Microsoft Date Time Picker) which looks like a combo box until you click it.

Now that i have moved it i cant get the

"No object found", how can i use this date time picker?

Thanks

A quick search of DTpicker or mscomctl2.ocx in this forum will show that I have had problems with this ocx as well.

You will see that I was told that activex controls can be trouble and should be avoided. After working with the DTpicker for a long time I eventually removed it from my project. (and sent a thank you to the person that initially gave me this advice)(it would have been one of the regulars of this forum)

I know this does not answer your question but if you want to save yourself a lot of work - remove them - fix your form and you will never have to worry about it again.

I feel it worth warning you that the registering and unregistering of these dlls/OCX things also stuff up your registry - I stuffed mine up which is why i do not use DTpicker anymore.

That said one possible fix is to install this

http://www.microsoft.com/downloads/...98-51D0-41C1-BB14-64662F5F62FE&displaylang=en
 
Have you registed the ocx on your laptop

You need to register the mscomctl2.ocx in your system32 folder


David


Thanks for this... but ive put this file into the System32 folder... but it still doesnt work.. you say that i need to register tis.. but how do i register this file?

Thanks
 
Was this file never on your home computer? Was it never registered before?

If yes then Ok your path to pain and loss of hair has not even started.

To register it (assuming XP)

open your explorer to system 32 folder.
go to start > run > type in cmd
you will get a black window.
the path there most likely will match the path to system32 folder.

then type
Code:
regsrv32 mscomctl2.ocx
to unregister
Code:
regsrv32 /u mscomctl2.ocx
If you are on useless Vista then you need to open the black window as administrator. Either right click on cmd.exe and run as administrator or I think hold down ctr-shift and click on the .exe. see here http://www.mydigitallife.info/2007/...th-administrator-privileges-in-windows-vista/
 
Was this file never on your home computer? Was it never registered before?

If yes then Ok your path to pain and loss of hair has not even started.

To register it (assuming XP)

open your explorer to system 32 folder.
go to start > run > type in cmd
you will get a black window.
the path there most likely will match the path to system32 folder.

then type
Code:
regsrv32 mscomctl2.ocx
to unregister
Code:
regsrv32 /u mscomctl2.ocx
If you are on useless Vista then you need to open the black window as administrator. Either right click on cmd.exe and run as administrator or I think hold down ctr-shift and click on the .exe. see here http://www.mydigitallife.info/2007/...th-administrator-privileges-in-windows-vista/


Hi

I really appreiciate your help on this but it still doesnt work...

1. I have gone to cmd black screen and it comes up with c:\windows\system32\cmd.32 as the path.

2. I type in regsrv32 mscomctl2.ocx

3. It comes up with the message saying "regsrv32 is not recognized as an internal command, operable program or batch file".

Please can you help?

thanks
 
I had the same problem, try using Calendar Control in ActiveX instead, seems to be on more computers/packages than the DateTime Picker one.
 
sorry shamas21 my mistake it is regsrv32.exe mscomctl2.ocx - as Dcrake picked up on
 

Users who are viewing this thread

Back
Top Bottom