?
Solved

DTPicker

Posted on 2002-06-24
9
Medium Priority
?
1,259 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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
Microsoft Certification Exam 74-409

Veeam® is happy to provide the Microsoft community with a study guide prepared by MVP and MCT, Orin Thomas. This guide will take you through each of the exam objectives, helping you to prepare for and pass the examination.

 
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

Comprehensive Backup Solutions for Microsoft

Acronis protects the complete Microsoft technology stack: Windows Server, Windows PC, laptop and Surface data; Microsoft business applications; Microsoft Hyper-V; Azure VMs; Microsoft Windows Server 2016; Microsoft Exchange 2016 and SQL Server 2016.

Question has a verified solution.

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

Microsoft Access is a place to store data within tables and represent this stored data using multiple database objects such as in form of macros, forms, reports, etc. After a MS Access database is created there is need to improve the performance and…
Code that checks the QuickBooks schema table for non-updateable fields and then disables those controls on a form so users don't try to update them.
Basics of query design. Shows you how to construct a simple query by adding tables, perform joins, defining output columns, perform sorting, and apply criteria.
Do you want to know how to make a graph with Microsoft Access? First, create a query with the data for the chart. Then make a blank form and add a chart control. This video also shows how to change what data is displayed on the graph as well as form…
Suggested Courses

765 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