|
Before you begin you need to think!
Calendars are extremely complicated.
For a start you have to decide which calendar to use, what sort of information you require and how to lay it out.
Then you have the problems of fixed holidays, moveable feasts, leap years, etc.
Once you have decided, use the Calendar Control.
There are a few items in CP Archives...
Here is one[^].
Here is another[^].
Microsoft Page[^] on Calendar Control.
There are lots of options you can use, so be clear before you start what you need it for.
------------------------------------
I will never again mention that I was the poster of the One Millionth Lounge Post, nor that it was complete drivel. Dalek Dave
CCC League Table Link
CCC Link[ ^]
|
|
|
|
|
Thanks Dalek, but i was talking about a windows Form Control.
|
|
|
|
|
Didn't see that requirement in the original question
------------------------------------
I will never again mention that I was the poster of the One Millionth Lounge Post, nor that it was complete drivel. Dalek Dave
CCC League Table Link
CCC Link[ ^]
|
|
|
|
|
Sorry Sir, It was my bad. But I thought that it was clear enough.
|
|
|
|
|
If you haven't already seen it, you might look at Another Month Calendar[^], for inspiration.
There is always the built-in MonthCalendar but highlighting in different colours is problematic.
In my experience Yearly Calendars are never the prettiest things, so if you do manage to produce something you are pleased with, you might consider writing an article about it.
Henry Minute
Do not read medical books! You could die of a misprint. - Mark Twain
Girl: (staring) "Why do you need an icy cucumber?"
“I want to report a fraud. The government is lying to us all.”
I wouldn't let CG touch my Abacus!
|
|
|
|
|
Sir, I have already Seen MounthCalender, but what i need is to show the user all holidays and weekends of a specified year at a once.
|
|
|
|
|
From a little research since your message, I would say this is going to be difficult.
This page[^] in Wikipedia has some links that may be useful.
This one[^] from StackOverflow has more links.
From a quick search it seems that it will largely depend on which culture you will be aiming at.
Can I suggest that you do some searching for list of public holidays or restrict it to a particular group list of islamic holidays.
I hope that this is of some help.
Henry Minute
Do not read medical books! You could die of a misprint. - Mark Twain
Girl: (staring) "Why do you need an icy cucumber?"
“I want to report a fraud. The government is lying to us all.”
I wouldn't let CG touch my Abacus!
|
|
|
|
|
Thank you for making your time trying to help me, you really reminding me with a friend of mine who really cares about me.
what i needed is a simple control that displays a year calendar
and i will need to provide a Holidays property, Weekends property, and some appearance properties.
Thank you again.
|
|
|
|
|
In that case I cannot help. I do not know of a ready made YearCalendar for WinForms. Sorry.
Henry Minute
Do not read medical books! You could die of a misprint. - Mark Twain
Girl: (staring) "Why do you need an icy cucumber?"
“I want to report a fraud. The government is lying to us all.”
I wouldn't let CG touch my Abacus!
|
|
|
|
|
Thank you, Sir.
100
|
|
|
|
|
Hello Friend
I am connectin Mysql in vb.net2008 on vista then its give error(Unable to connect to any of the specified MySQL hosts.) but whene i conectthis on xp os then its excute .... {}
My Code-
MySqlConnection _MySqlConnection;
MySqlCommand _MySqlCommand;
MySqlDataAdapter _MySqlDataAdapter;
string _Conentionstring = "server=localhost;database=schoolinventory;user id=root;password=;";
public int GetId()
{
try
{
_MySqlConnection = new MySqlConnection(_Conentionstring);
_MySqlConnection.Open();
string _Adpstring = "select Count(*) from goods";
_MySqlDataAdapter = new MySqlDataAdapter(_Adpstring, _Conentionstring);
DataSet _ds=new DataSet();
_MySqlDataAdapter.Fill(_ds);
int i = Convert.ToInt32( _ds.Tables[0].Rows[0].ItemArray[0].ToString());
return 0;
}
catch (Exception ex)
{
return 0;
}
}
Piyush Vardhan Singh
p_vardhan14@rediffmail.com
Eventure Technology
http://holyschoolofvaranasi.blogspot.com
http://holytravelsofvaranasi.blogspot.com
|
|
|
|
|
I suggest you stop swallowing exceptions like that. Add Console.WriteLine(ex.ToString()); or something similar and see what it tells you.
|
|
|
|
|
5 - agreed
|
|
|
|
|
Do you have a MySQL server running on your Vista machine, with the same configuration and databases? At least your connection string says server=localhost. If it is on the XP machine only, you have to replace the name here, and you will likely have to some configuration on the server to allow connections from other computers. The Exception thrown will give you more details.
|
|
|
|
|
It could also be a firewall problem if the Windows Firewall blocks incoming requests on port 3306 (default port for MySQL services).
|
|
|
|
|
I see 1 posibility that spring to my mind.
- MySql Connector is not installed on your Vista.
|
|
|
|
|
I am make a report to display info about students but i have a record with each student with declare registration date of each student ,
My Question ? I am Display all info for students in report but i want to display the first value of date of first record and the last date of registered student to know the range (ex. From : 1/1/2010 to 1/2/2011) in the same report to be displayed in the header of the report ?
I want to know the steps ?
|
|
|
|
|
Which part of this are you having problems with?
Henry Minute
Do not read medical books! You could die of a misprint. - Mark Twain
Girl: (staring) "Why do you need an icy cucumber?"
“I want to report a fraud. The government is lying to us all.”
I wouldn't let CG touch my Abacus!
|
|
|
|
|
i WANT TO KNOW HOW I CAN DISPLAY ONLY THE FIRST VALUE OF DATE AND THE LAST VALUE OF DATE WHERE MY SQL COMMAND SELECT ALL ROWS.
report parts
- table to display all student info ( I do this)
- above the table I want to know how i can display date from : ...... to ......) ( I not know how i can do it ?
|
|
|
|
|
You do not state whether your database is Access, SQL Server, MySql, Oracle or whatever.
Still, on the chance that it might help, take a look at this[^] thread, where the OP has a similar problem.
Henry Minute
Do not read medical books! You could die of a misprint. - Mark Twain
Girl: (staring) "Why do you need an icy cucumber?"
“I want to report a fraud. The government is lying to us all.”
I wouldn't let CG touch my Abacus!
|
|
|
|
|
|
|
Don't expect to be spoon-fed.
You now have enough information to formulate a suitable search phrase for an internet search.
You know that your database is SQLServer, because it's your database
You know that you are dealing with date data, because it's your data
You know that one way to solve your problem is by use of the Min and Max SQL Functions, because I gave you that information in the link I provided earlier.
All you have to do now is to use your brain and rearrange the emboldened words into a phrase useable with an internet search engine.
Henry Minute
Do not read medical books! You could die of a misprint. - Mark Twain
Girl: (staring) "Why do you need an icy cucumber?"
“I want to report a fraud. The government is lying to us all.”
I wouldn't let CG touch my Abacus!
|
|
|
|
|
Did you look at minimum/maximum in the summary totals field?
You should be able to define two summary total fields there (Min and Max) and place them in the header or footer section of the report.
V.
|
|
|
|
|
if any one have information about following point please help me:
architecture of messenger
messenger communication server
messenger email DB server
messenger data flow diagram
create messnger as final project from begin to end project
source code of messenger chatting msn by c#
how the messenger work by programming language
|
|
|
|