VB 6.0 - A basic question about DTPicker - Asked By Sireesha Pulipati on 25-Jan-07 12:16 PM


I want to add a DTPicker to my form. How can I add that control to my toolbox? (Which Reference or Component should I select?)

Please help me regarding this.

Additional Controls - sundar k replied to Sireesha Pulipati on 25-Jan-07 10:39 PM

Open a New UserForm, right click your Toolbar -> Additional Controls -> select Microsoft Date and Time Picker control

No Such Option - Sireesha Pulipati replied to sundar k on 27-Jan-07 12:46 AM


Thanks for your reply but I couldn't find any such option. (When I right clicked on the toolbar, there's no Aditional Controls option.)

Windows Common Controls - sundar k replied to Sireesha Pulipati on 27-Jan-07 01:41 AM

Select Project -> Components -> Microsoft Windows Common Controls, you can see so many version of it, just try selecting one by one and apply it , you will find DT PIcker control in one of the Windows Common Controls version!

you will get Additional Controls option in your Toolbar of Excel VBA UserForm

Error Mesage: Name conflicts with ...... - Sireesha Pulipati replied to sundar k on 27-Jan-07 01:16 PM


I tried to select Microsoft Windows Common Controls 2.6(SP4) but I'm getting the message: Name conflicts with existing project or module.

I'm at a loss as to what that message means and how to react to it. 

Actually I've already developed the project I'm working on right now, sometime back on a different system. Now as I want to make some modifications, I'm getting errors while loading the project. I guess it's becuase of the DTPicker I've used in a few forms.

Version mismatch - sundar k replied to Sireesha Pulipati on 28-Jan-07 01:22 AM
Just check whether you have already selected another version of Windows Common Controls in your Project, sometimes your DTPicker appears when you select Windows Common Controls 2.6 and also appears in another version like 3.0, so just uncheck one of those and make sure you have selected only one version.
Solution for Adding DTPicker Control to UR Toolbox - akthar shaik replied to sundar k on 28-Jan-07 08:54 AM
You can add the DTPicker Control By selecting the Component
Microsoft Windows Common Controls-2 6.0
The file it refers is MSCOMCT2.OCX - 647KB This file is present in you system folder.
%winrootdir%\System - for win98   or  %winrootdir%\System32 - for WinNT/XP etc.
If you need the file then, I dont know how to upload it here in this forum. Else you can mail me so that i can send an attachment to your Mail-ID.
Another suggestion is, if you are using VB6.0 then please go for using .NET platform. It is very flexible than VB6.0. If u really need to use VB6.0 then u must definitely download the Visual Studio 6 Service Pack 6.0. This patch offers many solutions to most of ur problems. It is freely available in the microsoft site. Its size if nearly 27.0MB. I dont think i can upload that big file. Rather i can send a CD thru courier (if u really wish).
This is not any pay to use offer. Feel free for any doubts. This is only my contribution to all the programmers worldwide striving for knowledge. Thank U.

my mail ID:  aktharshaik@gmail.com

Error while adding Microsoft Windows Common Controls 2.60(SP6) - Sireesha Pulipati replied to akthar shaik on 17-Feb-07 01:59 PM


Thanks for all your contributions.

I've downloaded the service pack 6 and tried to add Microsoft Windows Common Controls 2.60, but I'm getting the error: "Name conflicts with existing project, object or module"

I'm unable to understand it.

My project consists of many forms, modules and reports. I've used DTPicker in four of my forms. I've started developing the project in another old system and now I want to continue it in my present system. I'm facing errors while loading as the DTPicker is not available.

Govindarajan replied to Sireesha Pulipati on 29-Apr-11 12:24 AM
While opening a new vb project select "VB Pro edition controls" rather than "Standard exe", then you could find dtpicker in the toolbox..
  Or else go to components(by right clicking anywhere in tool box or press Ctrl+t) select the "Microsoft Calendar Control" check box->apply-> Ok..