Solved

DTPicker

Posted on 2002-06-24
9
1,212 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
 
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
What Is Threat Intelligence?

Threat intelligence is often discussed, but rarely understood. Starting with a precise definition, along with clear business goals, is essential.

 
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

Complete VMware vSphere® ESX(i) & Hyper-V Backup

Capture your entire system, including the host, with patented disk imaging integrated with VMware VADP / Microsoft VSS and RCT. RTOs is as low as 15 seconds with Acronis Active Restore™. You can enjoy unlimited P2V/V2V migrations from any source (even from a different hypervisor)

Join & Write a Comment

Suggested Solutions

In Debugging – Part 1, you learned the basics of the debugging process. You learned how to avoid bugs, as well as how to utilize the Immediate window in the debugging process. This article takes things to the next level by showing you how you can us…
Introduction When developing Access applications, often we need to know whether an object exists.  This article presents a quick and reliable routine to determine if an object exists without that object being opened. If you wanted to inspect/ite…
Familiarize people with the process of retrieving data from SQL Server using an Access pass-thru query. Microsoft Access is a very powerful client/server development tool. One of the ways that you can retrieve data from a SQL Server is by using a pa…
In Microsoft Access, learn different ways of passing a string value within a string argument. Also learn what a “Type Mis-match” error is about.

746 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

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now