473,394 Members | 1,724 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,394 software developers and data experts.

Select weeknumber in a MonthCalender.

11
Hi Everybody.

I'm developing a dentist program, which contains a MonthCalender. I would like to select a specific weeknumber, when I select a weeknumber in the MC. I can show the weeknumbers by the code:

this.monthCalender1.ShowWeekNumbers = true;

Is it possible to make such function?

Best regards

Longkhi
Jan 14 '08 #1
4 1896
gpraghuram
1,275 Expert 1GB
Hi Everybody.

I'm developing a dentist program, which contains a MonthCalender. I would like to select a specific weeknumber, when I select a weeknumber in the MC. I can show the weeknumbers by the code:

this.monthCalender1.ShowWeekNumbers = true;

Is it possible to make such function?

Best regards

Longkhi

Are you asking whether you can calculate the weeknumbers and display it?
Please add more info

Thanks
Raghuram
Jan 14 '08 #2
Longkhi
11
Are you asking whether you can calculate the weeknumbers and display it?
Please add more info

Thanks
Raghuram

Well what I mean is that I would like to select the weeknumbers that are shown in the MC. Besides the MC I'm using a GravityBox.Schedule to show appointments for the given date/week. For the given date I select, it will be shown in the Schedule, and that's the same way I would do with the weeks.

So the issue now is just how to select the weeknumber in MC. At this time I can't select a weeknumber. I can only observe it.

I hope you can follow me :)

Best Regards.
Jan 14 '08 #3
gpraghuram
1,275 Expert 1GB
Well what I mean is that I would like to select the weeknumbers that are shown in the MC. Besides the MC I'm using a GravityBox.Schedule to show appointments for the given date/week. For the given date I select, it will be shown in the Schedule, and that's the same way I would do with the weeks.

So the issue now is just how to select the weeknumber in MC. At this time I can't select a weeknumber. I can only observe it.

I hope you can follow me :)

Best Regards.

What i understand from ur explanation is , u are using some windows/MFC based call which is showing you the week number and you want to select it.
If i am right, then i dont have much idea about the windows/MFC based calls
I think other members can add to this

Thanks
Raghuram
Jan 15 '08 #4
Longkhi
11
What i understand from ur explanation is , u are using some windows/MFC based call which is showing you the week number and you want to select it.
If i am right, then i dont have much idea about the windows/MFC based calls
I think other members can add to this

Thanks
Raghuram

Thanks for your reply.

Yeah, U've understood my problem well enough. Because the weeknumbers aren't selectable, and I would like to make them to. But thanks anyway. I hope there's someone else, who can solve my problem :)

Best Regards

Longkhi
Jan 15 '08 #5

Sign in to post your reply or Sign up for a free account.

Similar topics

5
by: DD | last post by:
Hi there, I am working on a sql-query and I need to know the weeknumber of a given date. Could anyone please help me with this. Thanks in advance, Arjen
3
by: dik mus | last post by:
Hi, I connect to a database that only stores the year and weeknumber. But i need the date of the corresponding monday. This could be more difficult as one expect because the weekumbers might...
2
by: | last post by:
Hi!! know someone how to get a week span with week number and year? something like hi: public static DateTime GetWeekSpan(int weekNumber, int year) { DateTime weekStartDate = new...
10
by: bjaj | last post by:
Hi I have made this msgbox to display the current Week number, but it shows the wrong weekno. Can anyone tell me why ? msg = "WeekNumber: " & DatePart("WW", Date) MsgBox msg It shows...
2
by: johnhanis | last post by:
I'm using a Visual Basic front end with an SQL query to select some data from a MS Access database. I have a table named Tithes with Columns of TitheDate Tither No Total Tithes Faith Promise...
0
by: =?Utf-8?B?R2lkaQ==?= | last post by:
Hi, I have an application which uses the MonthCalender objects, in one of them i want to give the user the abilty to move between months, and in the other one, i want to disable this, How can i...
6
by: challaatu | last post by:
hi im developing some tv project in that i nedd multiple selections of the dates from monthcalender control
4
by: khicon73 | last post by:
Hello All, I would like to calculate weeknumber and period from first day of the week (sunday) and last day of the week (saturday) and week number falls from 1 to 52 only. If week number >= 53 then...
1
by: peetersb | last post by:
Hi, I want ot make functions like this: int getFirtDayOfWeek(int weeknumber, int year); int getLastDayOfWeek(int weeknumber, int year); Firts I calculate the count of weeks like this: ...
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
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
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
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
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
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...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

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.