DTPicker Missing From References

casey

Registered User.
Local time
Today, 10:34
Joined
Dec 5, 2000
Messages
448
Hello all,

I've had no luck scouring the prior "missing references" posts to resolve this. So here goes...

I've added a DataTimePicker control to my app. It works quite well, but I'm missing that control reference on another machine I'm using. Can someone clue me in on how to add that control reference so the app will work properly on that machine also?

I thought that I was using the same copy Access, but I guess I was mistaken.

Thanks.
 
Have you added the control to the other machine, like you did with the first?
 
I'm looking, but it's not available though.
 
I'm not familiar with 'DateTimePicker'.
Is this a built in Active X control?
 
It's actually DTPicker
Here's what the property sheet shows...
MSComCtl2.DTPicker.2

It's just a combobox/calendar control for picking dates.

It's a Microsoft Common Control. I can't find that class.

Does that tell you anything? I think I need to add a reference to that class, but where is it?
 
You certainly need to add it to the second machine in the ame way you did with the first.

You will probably need to register it too.
You can do this in the vb window or in design view of a form by selecting Tools, ActiveX Controls from the menu bar.
 
It's not in the list for that machine

That's just the thing...It's not showing up in the list of ActiveX controls as it does on the other machine.

So I've developed this app on a particular machine and now it's going to hose up on any other machine because of this control? How can this be? I thought that this DTPicker was a MS control. Perhaps I should try another control? Do you have any suggestions? I guess I could use the Calendar control, but this worked so well.
 
On your first machine open teh ActiveX control list like I mentioned before.

Highlight the DTpicker control and note it's name & location.

Copy this file over to the second machine to the same path (windows\system or system32) and then register it.

Then it will appear in the list.

hth
 
Last edited:
KevinM thanks for all your replies on this.

I cna't believe that I haven't got it yet. All the references are there, but this DTPicker control still doesn't show up on the one machine. I'll keep at it. I just wanted to thank you.
 
Last edited:
Like I said I don't know anything about this control.
Maybe you are using a diff version of Access that I use (A97 & A2k).

Might be a good idea to do a search on the MS web page on 'MSComCtl2'. It may require some extra files.

Just found this....

http://p2p.wrox.com/archive/pro_vb/2001-10/102.asp
 
Last edited:
That's really wierd.

I can get the other calendar control to do the same thing w/ a little work. It's too bad because it seemed that this control did everything that I needed.

All is not lost while I learned quite a bit about references that I didn't know before. Who knows...one of these days I may figure out this Access stuff. They sure like to keep us guessing though.

I appreciate your help.
 
I can help you if you are using Access 2000 or 2002. Find the file called MSCOMCT2.OCX. This is the control file. It will most likely be in your System or System32 folder. Copy it to the PC that you want to add it to (System or System32 folder). Open Up an Access form in design view. Click on Tools/ActiveX Controls. Click on register button and browse to the location where you copied the control file. It will then show up as part of your ActiveX controls to use henceforth.

Good luck

Steve
 
Which is basically what I already said a few posts earlier :rolleyes:
 
Steve,

Yeah, I tried that already and it didn't work. Thanks for your input.
 

Users who are viewing this thread

Back
Top Bottom