Solved

DTPicker

Posted on 2002-06-24
9
1,244 Views
Last Modified: 2008-03-03
I have a DTPicker on my form and can see and use it fine.  However, on another terminal I am unable to see it.  I've tried copying mscomctl2.ocx and .dep to reference it but it still didn't seem to work.

any suggestions.

Scorp8
0
Comment
Question by:scorp8
9 Comments
 
LVL 5

Expert Comment

by:bob_online
ID: 7104778
Be sure to execute regsvr32

regsvr32 path to the ocx\mscomctl2.ocx

You won't need the dep file -- it is used by package builders to determine what dependencies the control has.

If that doesn't do it, check for a version conflict between ComCat.dll on the two machines...
0
 
LVL 1

Author Comment

by:scorp8
ID: 7104841
execute regsvr32?  you lost me on that one!!!
scorp8
0
 
LVL 44

Expert Comment

by:Arthur_Wood
ID: 7105011
scorp8  - From the Start Button on the Task Bar, choose Run...then enter

regsvr32 <path to the mscomclt2.ocx>

be sure to FILL IN the actual path to the OCX, in place of <path to the mscomclt2.ocx> in the above.  Then click on OK.  You should then get a dialog box informing you that the OCX has been properly registered.

Arthur Wood
0
The Eight Noble Truths of Backup and Recovery

How can IT departments tackle the challenges of a Big Data world? This white paper provides a roadmap to success and helps companies ensure that all their data is safe and secure, no matter if it resides on-premise with physical or virtual machines or in the cloud.

 
LVL 1

Author Comment

by:scorp8
ID: 7107420
OK, it worked, however on the machine it successfully registered to, it doesn't seem to act right.  Example, on my machine, if I enter in a date w/time and go to the next record, it's fine, however, when I do the same on the other computer, my time is not available and I get errors.  I've double checked all the properties and formats seem to be fine.  Is there anything I may be missing?

scorp8
0
 
LVL 2

Expert Comment

by:wallew
ID: 7108295
You can check the date/time format for windows in the Control Panel under Regional Settings.  Make sure both machines are set the same.  What is the specific error you are getting?

Wallew
0
 
LVL 1

Author Comment

by:scorp8
ID: 7108337
When I go into my field the first time the Date/Time shows fine, however, when I go to the next record to select it again, it only show's the date and NOT the time.

This is the message I get when I try to go back or forward in the record count.

"An error occurred in a call to the Windows Date and Time Picker control."

Two weeks ago, it was working fine...

scorp8
0
 
LVL 2

Expert Comment

by:wallew
ID: 7108426
What OS and version?  It sounds like the control is not initializing correctly.  Have you only tried this on 2 machines?

There are some issues with the Comctl32.dll file.  It needs to be version 4.70 or better.

Notes here:

http://support.microsoft.com/default.aspx?scid=kb;en-us;Q186176

Wallew

0
 
LVL 54

Expert Comment

by:nico5038
ID: 7253830

No comment has been added lately, so it's time to clean up this TA.
I will leave a recommendation in Community Support that this question is:
 - PAQ'd and pts removed
Please leave any comments here within the
next seven days.

PLEASE DO NOT ACCEPT THIS COMMENT AS AN ANSWER !

Nic;o)
0
 
LVL 5

Accepted Solution

by:
Netminder earned 0 total points
ID: 7269935
Per recommendation, points NOT refunded and question closed.

Netminder
CS Moderator
0

Featured Post

Simplifying Server Workload Migrations

This use case outlines the migration challenges that organizations face and how the Acronis AnyData Engine supports physical-to-physical (P2P), physical-to-virtual (P2V), virtual to physical (V2P), and cross-virtual (V2V) migration scenarios to address these challenges.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

In a multiple monitor setup, if you don't want to use AutoCenter to position your popup forms, you have a problem: where will they appear?  Sometimes you may have an additional problem: where the devil did they go?  If you last had a popup form open…
As tax season makes its return, so does the increase in cyber crime and tax refund phishing that comes with it
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…
In Microsoft Access, learn the trick to repeating sub-report headings at the top of each page. The problem with sub-reports and headings: Add a dummy group to the sub report using the expression =1: Set the “Repeat Section” property of the dummy…

830 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question