473,834 Members | 1,482 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Select weeknumber in a MonthCalender.

11 New Member
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.monthCalen der1.ShowWeekNu mbers = true;

Is it possible to make such function?

Best regards

Longkhi
Jan 14 '08 #1
4 1917
gpraghuram
1,275 Recognized Expert Top Contributor
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.monthCalen der1.ShowWeekNu mbers = 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 New Member
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.Sche dule 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 Recognized Expert Top Contributor
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.Sche dule 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 New Member
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
8532
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
1893
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 change from country to country. (I am looking for a dutch solution.) Thanks, dik
2
1089
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 DateTime(); DateTime weekEndDate = new DateTime();
10
5289
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 weekno = 47 for the date 16 november 2005, but it should be
2
2131
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 Building Fund
0
1123
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 disable the Month Changing in the second monthCalender object (the first monthCalender is in charge of navigation between the months). Thanks, Gidi
6
1296
by: challaatu | last post by:
hi im developing some tv project in that i nedd multiple selections of the dates from monthcalender control
4
4710
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 week number will equal to 52. And Last Day of First week is the first Saturday of January, as long as it falls at least four days into the month Example: if enter Date WeekNo. Period 12/31/06 1 12/31/06-01/06/07 01/05/07 1 12/31/06-01/06/07...
1
2614
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: DateTime lastDay = new DateTime(DateTime.Now.Year, 12, 31);
0
9797
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9644
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10793
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10509
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
10547
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
6954
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5793
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4427
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
3
3081
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.