473,387 Members | 1,465 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

DateTimePicker not a valid windows class????????

Dan
I'm trying to learn VB on my own, and recently bought vb.net version 2003.
The book I'm learning from is "Getting Started with Microsoft vb.net version
2003" by Michael Halvorson.

I've gone through all the lessons, except 1, for the DateTimePicker control.
I click on it in the tool bar, but as soon as I drag it to the form I get a
message that says "DateTimePicker not a valid windows class". All other
tools work with no problem. This is the only one that's giving me a problem.

Anybody have any ideas?

--
-------------------------------------------------------------------------
FIGHT BACK AGAINST SPAM!
Download Spam Inspector, the Award Winning Anti-Spam Filter
http://mail.giantcompany.com

Nov 20 '05 #1
7 1358
Dan,

First of all... The date time picker in 2003 sucks. I have not tried it yet
in 2005 beta, but believe me I will tonight.
The controls are very different depending on whether you are getting them
from the Windows forms or from the Web forms so which is this you are using?

Regards
Jerry
"Dan" <sp*****@your-risk.com> wrote in message
news:ePXOc.189825$a24.140186@attbi_s03...
I'm trying to learn VB on my own, and recently bought vb.net version 2003.
The book I'm learning from is "Getting Started with Microsoft vb.net version 2003" by Michael Halvorson.

I've gone through all the lessons, except 1, for the DateTimePicker control. I click on it in the tool bar, but as soon as I drag it to the form I get a message that says "DateTimePicker not a valid windows class". All other
tools work with no problem. This is the only one that's giving me a problem.
Anybody have any ideas?

--
-------------------------------------------------------------------------
FIGHT BACK AGAINST SPAM!
Download Spam Inspector, the Award Winning Anti-Spam Filter
http://mail.giantcompany.com

Nov 20 '05 #2
Dan
Thanks Jerry. I'm getting them for Windows forms

--
-------------------------------------------------------------------------
FIGHT BACK AGAINST SPAM!
Download Spam Inspector, the Award Winning Anti-Spam Filter
http://mail.giantcompany.com
"Jerry" <Je*********@yahoo.com> wrote in message
news:%2****************@tk2msftngp13.phx.gbl...
Dan,

First of all... The date time picker in 2003 sucks. I have not tried it yet in 2005 beta, but believe me I will tonight.
The controls are very different depending on whether you are getting them
from the Windows forms or from the Web forms so which is this you are using?
Regards
Jerry
"Dan" <sp*****@your-risk.com> wrote in message
news:ePXOc.189825$a24.140186@attbi_s03...
I'm trying to learn VB on my own, and recently bought vb.net version 2003. The book I'm learning from is "Getting Started with Microsoft vb.net version
2003" by Michael Halvorson.

I've gone through all the lessons, except 1, for the DateTimePicker

control.
I click on it in the tool bar, but as soon as I drag it to the form I

get a
message that says "DateTimePicker not a valid windows class". All other
tools work with no problem. This is the only one that's giving me a

problem.

Anybody have any ideas?

--


-------------------------------------------------------------------------
FIGHT BACK AGAINST SPAM!
Download Spam Inspector, the Award Winning Anti-Spam Filter
http://mail.giantcompany.com


Nov 20 '05 #3
Dan,

Should normally work with any problem.
Tell something more.

Cor
Thanks Jerry. I'm getting them for Windows forms

Nov 20 '05 #4
Dan
Thanks. I really don't know what more I can tell you. All the other tools
work with no problem at all. But DateTimePicker comes up with "not a valid
windows class".

Running Windows XP home edition with SP1.

--
-------------------------------------------------------------------------
FIGHT BACK AGAINST SPAM!
Download Spam Inspector, the Award Winning Anti-Spam Filter
http://mail.giantcompany.com
"Cor Ligthert" <no**********@planet.nl> wrote in message
news:eZ**************@tk2msftngp13.phx.gbl...
Dan,

Should normally work with any problem.
Tell something more.

Cor
Thanks Jerry. I'm getting them for Windows forms


Nov 20 '05 #5
Dan,

When you right click on your toolbar where the datetimerpicker is, than
opens a window where you can see where it comes from. What is writen in the
checked row from the datetimepicker there?

Maybe something strange?

Cor
Nov 20 '05 #6
Dan
Cor;

It just has the standard list that all the rest of them have. The only one
that't checked is "List View". Same as all the other tools.

Thanks for your help.

Dan

--
-------------------------------------------------------------------------
FIGHT BACK AGAINST SPAM!
Download Spam Inspector, the Award Winning Anti-Spam Filter
http://mail.giantcompany.com
"Cor Ligthert" <no**********@planet.nl> wrote in message
news:%2******************@TK2MSFTNGP10.phx.gbl...
Dan,

When you right click on your toolbar where the datetimerpicker is, than
opens a window where you can see where it comes from. What is writen in the checked row from the datetimepicker there?

Maybe something strange?

Cor

Nov 20 '05 #7
Hi Dan,

I would not know what is than the problem. It seems weird to me.

Did you know that there was this newsgroup.

microsoft.public.vsnet.ide

Cor
Nov 20 '05 #8

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: M Keeton | last post by:
If have a problem in VB.NET 2003 with the DateTimePicker. If I place the control on a form and run my application I get an error as the form opens saying: An unhandled exception of type...
9
by: Guy | last post by:
I have extended the datetimepicker control to incorporate a ReadOnly property. I have used the new keyword to implement my own version of the value property, so that if readonly == true then it...
9
by: Ed Crowley | last post by:
I have a DateTimePicker control on my form that is displaying the date format in UK format (dd/mm/yy). However, in my code dtpStartDate.Value gives a date in US format, but...
0
by: Sumit | last post by:
Hi all, I have a datetimepicker on my windows form. When the user selects it i check whether the date entered is a Sunday or not & if its not a sunday i want that the control remains on the...
1
by: Karl | last post by:
Hi, .Net experts, I am using DatagridDateTimepickerColumn style posted on MSDN .net class document in my datagrid. You can see the datagridDateTimepickerColumn style at...
3
by: Simon Tamman | last post by:
I've come across an interesting bug. I have workarounds but i'd like to know the root of the problem. I've stripped it down into a short file and hope someone might have an idea about what's going...
1
by: Kevin | last post by:
I have put a VS2005 sample project up here: http://www.kevinandkiran.com/CSharpApplication.zip (its only 50k) Basically I have a class that contains a date property, which is initialised to...
0
by: tschroeder250 | last post by:
Hi Everyone, There are so many Nullable DateTimePickers out there that this post may not even be found among all the others, but I wanted to try. First, I want to thank all the authors of the...
0
by: priyamtheone | last post by:
I'm trying to make a datagridview column to act like a datetimepicker column (C#.Net 2005). These are the behaviours that the dgv should have: 1) Initially all the cells of the dtp column should be...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.