Solved

DTPicker

Posted on 2002-06-24
9
1,221 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
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)

 
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

The first two articles in this short series — Using a Criteria Form to Filter Records (http://www.experts-exchange.com/A_6069.html) and Building a Custom Filter (http://www.experts-exchange.com/A_6070.html) — discuss in some detail how a form can be…
I see at least one EE question a week that pertains to using temporary tables in MS Access.  But surprisingly, I was unable to find a single article devoted solely to this topic. I don’t intend to describe all of the uses of temporary tables in t…
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
With Microsoft Access, learn how to start a database in different ways and produce different start-up actions allowing you to use a single database to perform multiple tasks. Specify a start-up form through options: Specify an Autoexec macro: Us…

932 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

11 Experts available now in Live!

Get 1:1 Help Now