Click here to Skip to main content
15,941,828 members
Please Sign up or sign in to vote.
1.00/5 (2 votes)
See more:
I get the following exception and i don't know how to solve it.
It looks like a terrific control and i'd like to use it!

What I have tried:

replace the System.Windows.Forms.Calendar.dll for the one in the demo, wich did work, but still no succes..

System.ArgumentException: 'Assembly 'C:\Users\Gebruiker\Downloads\System.Windows.Forms.Calendar\System.Windows.Forms.Calendar\obj\Debug\System.Windows.Forms.Calendar.dll' doesn't contain any UserControl types.'
Updated 10-Apr-24 8:26am
PIEBALDconsult 10-Apr-24 14:55pm    
Contact the developer of it.

The only person who can tell you that is the person who wrote the control.

If you're talking about something you found in an article here on CP, there is a forum at the bottom of the article where you can ask your question.

If it's something from off this site, like GitHub, there's not much anyone can tell you since the only person who knows anything about your control is the person who wrote it.
Share this answer
In the System.Windows.Forms namespace there is only a MonthCalendar. See: MonthCalendar Class (System.Windows.Forms) | Microsoft Learn[^]
Share this answer
This part of the error message is explicit:
...System.Windows.Forms.Calendar.dll' doesn't contain any UserControl types

It sound like you are either missing another DLL or you are trying to use something that is not in that DLL.
Share this answer

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900