Wrox Home  
Search P2P Archive for: Go

  Return to Index  

access thread: Date and Time Picker Control


Message #1 by "Russell Jacobs" <russell.jacobs@d...> on Tue, 28 May 2002 11:22:29
Hi Everybody

We have an Access2000 application, that uses the MS Date and Time Picker 
ActiveX control. We use the Package and Deploy wizard to create our 
install files, though not with the Access runtime. On a couple of 
occasions, when installing to a new Windows 2000 PC, there has been a 
problem with the forms, that contain the DTPicker, refusing to open, this 
problem is traced to the control not being on the form. 
	The actual file c:\winnt\system32.ocx has been copied to the PC, 
but the control has not registered. We have tried registering manually, 
both through Access and through the regsvr32.exe utility, which both seem 
to work (well there are no error messages), but the problem still 
persists, its like Windows refuses to register the control. We did mange 
to fix one of the problem PC?s, by re-installing Windows, Office and the 
Application a few times, but we are not sure how we did it!
	Has anybody else had a similar experience, or have any ideas how 
to fix it, we would very grateful. 
Thanks in Advance.

Russell Jacobs
Developer 
Message #2 by "John Ruff" <papparuff@c...> on Tue, 28 May 2002 07:52:25 -0700
The file for the date time picker is mscomct2.ocx and should be located
in your c:\windows\system32 folder.  To register (from Help)

Register an ActiveX control
Use this procedure to register an ActiveX control that isn't included
with Microsoft Access. 

Add the files for the control to your hard disk. See the documentation
that came with the control for information.


On the Access Tools menu, click ActiveX Controls.


In the ActiveX Controls dialog box, click Register, specify a path to
the control in the Add ActiveX Control dialog box, and then click Open.


Click Close.


John Ruff - The Eternal Optimist :-)
Always Looking for a Contract Opportunity

xxx.xxx.xxxx
9306 Farwest Dr SW
Lakewood, WA 98498 


-----Original Message-----
From: Russell Jacobs [mailto:russell.jacobs@d...] 
Sent: Tuesday, May 28, 2002 11:22 AM
To: Access
Subject: [access] Date and Time Picker Control

Hi Everybody

We have an Access2000 application, that uses the MS Date and Time Picker

ActiveX control. We use the Package and Deploy wizard to create our 
install files, though not with the Access runtime. On a couple of 
occasions, when installing to a new Windows 2000 PC, there has been a 
problem with the forms, that contain the DTPicker, refusing to open,
this 
problem is traced to the control not being on the form. 
	The actual file c:\winnt\system32.ocx has been copied to the PC,

but the control has not registered. We have tried registering manually, 
both through Access and through the regsvr32.exe utility, which both
seem 
to work (well there are no error messages), but the problem still 
persists, its like Windows refuses to register the control. We did mange

to fix one of the problem PC's, by re-installing Windows, Office and the

Application a few times, but we are not sure how we did it!
	Has anybody else had a similar experience, or have any ideas how

to fix it, we would very grateful. 
Thanks in Advance.

Russell Jacobs
Developer 

Message #3 by "Russell Jacobs" <russell.jacobs@d...> on Wed, 29 May 2002 08:52:11
Thanks John, sorry i made a typo, your right the file name is 
mscomct2.ocx, and it is on the PC where the application has been 
installed, in the expected directory. The DTPicker is a part of the 
Access2000 Developers Tools, and it does seem strange that all of the 
other ActiveX components, including third party one, have installed ok. We 
tried the recommended manual installation method, as well as using the 
regsvr32.exe, from the Windows run method, both times no error message was 
shown, but still the control was not available to Access.
As i said we did cure one of problem PC's with various re-installations, 
but it just worries me it will happen on future installs.
I have looked over the web for inspiration, but it seems to be a unique 
problem to us!!!!

Cheers
Russell


> The file for the date time picker is mscomct2.ocx and should be located
in your c:\windows\system32 folder.  To register (from Help)

Register an ActiveX control
Use this procedure to register an ActiveX control that isn't included
with Microsoft Access. 

Add the files for the control to your hard disk. See the documentation
that came with the control for information.


On the Access Tools menu, click ActiveX Controls.


In the ActiveX Controls dialog box, click Register, specify a path to
the control in the Add ActiveX Control dialog box, and then click Open.


Click Close.


John Ruff - The Eternal Optimist :-)
Always Looking for a Contract Opportunity

xxx.xxx.xxxx
9306 Farwest Dr SW
Lakewood, WA 98498 


-----Original Message-----
From: Russell Jacobs [mailto:russell.jacobs@d...] 
Sent: Tuesday, May 28, 2002 11:22 AM
To: Access
Subject: [access] Date and Time Picker Control

Hi Everybody

We have an Access2000 application, that uses the MS Date and Time Picker

ActiveX control. We use the Package and Deploy wizard to create our 
install files, though not with the Access runtime. On a couple of 
occasions, when installing to a new Windows 2000 PC, there has been a 
problem with the forms, that contain the DTPicker, refusing to open,
this 
problem is traced to the control not being on the form. 
	The actual file c:\winnt\system32.ocx has been copied to the PC,

but the control has not registered. We have tried registering manually, 
both through Access and through the regsvr32.exe utility, which both
seem 
to work (well there are no error messages), but the problem still 
persists, its like Windows refuses to register the control. We did mange

to fix one of the problem PC's, by re-installing Windows, Office and the

Application a few times, but we are not sure how we did it!
	Has anybody else had a similar experience, or have any ideas how

to fix it, we would very grateful. 
Thanks in Advance.

Russell Jacobs
Developer 

Message #4 by "John Ruff" <papparuff@c...> on Wed, 29 May 2002 04:13:48 -0700
This has also happened to me.  As a matter of fact, one computer out of
six computers at a client's site never would accept the Date/Time
picker.  The other five computers had no problem with it.  So the client
decided not to install the program onto that particular computer.

I have had occasion where the Date/Time Picker would not be accepted by
a specific computer after installation of the program even though the
mscomct2.ocx was installed and properly registered.  I was able to
resolve the problem by deleting the Date/Time Picker from all the forms
in was in and then reinstalling it.

I have never been able to find an answer as to why this happens.  In any
case, if you come across the reason why, I hope you will post it here so
that others may learn.

John Ruff - The Eternal Optimist :-)
Always Looking for a Contract Opportunity

xxx.xxx.xxxx
9306 Farwest Dr SW
Lakewood, WA 98498 


-----Original Message-----
From: Russell Jacobs [mailto:russell.jacobs@d...] 
Sent: Wednesday, May 29, 2002 8:52 AM
To: Access
Subject: [access] RE: Date and Time Picker Control

Thanks John, sorry i made a typo, your right the file name is 
mscomct2.ocx, and it is on the PC where the application has been 
installed, in the expected directory. The DTPicker is a part of the 
Access2000 Developers Tools, and it does seem strange that all of the 
other ActiveX components, including third party one, have installed ok.
We 
tried the recommended manual installation method, as well as using the 
regsvr32.exe, from the Windows run method, both times no error message
was 
shown, but still the control was not available to Access.
As i said we did cure one of problem PC's with various re-installations,

but it just worries me it will happen on future installs.
I have looked over the web for inspiration, but it seems to be a unique 
problem to us!!!!

Cheers
Russell


> The file for the date time picker is mscomct2.ocx and should be
located
in your c:\windows\system32 folder.  To register (from Help)

Register an ActiveX control
Use this procedure to register an ActiveX control that isn't included
with Microsoft Access. 

Add the files for the control to your hard disk. See the documentation
that came with the control for information.


On the Access Tools menu, click ActiveX Controls.


In the ActiveX Controls dialog box, click Register, specify a path to
the control in the Add ActiveX Control dialog box, and then click Open.


Click Close.


John Ruff - The Eternal Optimist :-)
Always Looking for a Contract Opportunity

xxx.xxx.xxxx
9306 Farwest Dr SW
Lakewood, WA 98498 


-----Original Message-----
From: Russell Jacobs [mailto:russell.jacobs@d...] 
Sent: Tuesday, May 28, 2002 11:22 AM
To: Access
Subject: [access] Date and Time Picker Control

Hi Everybody

We have an Access2000 application, that uses the MS Date and Time Picker

ActiveX control. We use the Package and Deploy wizard to create our 
install files, though not with the Access runtime. On a couple of 
occasions, when installing to a new Windows 2000 PC, there has been a 
problem with the forms, that contain the DTPicker, refusing to open,
this 
problem is traced to the control not being on the form. 
	The actual file c:\winnt\system32.ocx has been copied to the PC,

but the control has not registered. We have tried registering manually, 
both through Access and through the regsvr32.exe utility, which both
seem 
to work (well there are no error messages), but the problem still 
persists, its like Windows refuses to register the control. We did mange

to fix one of the problem PC's, by re-installing Windows, Office and the

Application a few times, but we are not sure how we did it!
	Has anybody else had a similar experience, or have any ideas how

to fix it, we would very grateful. 
Thanks in Advance.

Russell Jacobs
Developer 



  Return to Index