Solved

DTPicker

Posted on 2002-06-24
9
1,234 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
Migrating Your Company's PCs

To keep pace with competitors, businesses must keep employees productive, and that means providing them with the latest technology. This document provides the tips and tricks you need to help you migrate an outdated PC fleet to new desktops, laptops, and tablets.

 
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

Use Case: Protecting a Hybrid Cloud Infrastructure

Microsoft Azure is rapidly becoming the norm in dynamic IT environments. This document describes the challenges that organizations face when protecting data in a hybrid cloud IT environment and presents a use case to demonstrate how Acronis Backup protects all data.

Question has a verified solution.

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

Most if not all databases provide tools to filter data; even simple mail-merge programs might offer basic filtering capabilities. This is so important that, although Access has many built-in features to help the user in this task, developers often n…
When you are entering numbers in a speadsheet, and don't remember what 6×7 is, you just type “=6*7" instead. It works in every cell! This is not so in Access. To enter the elusive 42 in a text box, you have to find a calculator, and then copy the re…
Using Microsoft Access, learn some simple rules for how to construct tables in a relational database. Split up all multi-value fields into single values: Split up fields that belong to other things into separate tables: Make sure that all record…
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …

777 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