Questions tagged [monthcalendar]

MonthCalendar is a Windows Form UI Control which enables easy picking of dates from a visual monthly calendar display.

MonthCalendar is a selectable calendar widget, that enables the user to select a date using a visual monthly calendar display. It is drawn by the operating system, so the look is native.

It gives the user a bunch of customization option, changing ForeColor, Font etc. Here's an example of MonthCalendar control in C# from this website.

using System;
using System.Windows.Forms;

namespace WindowsFormsApplication3
{
    public partial class Form1 : Form
    {
    public Form1()
    {
        InitializeComponent();

        // Set the BoldedDates property to a DateTime array.
        // ... Use array initializer syntax to add tomorrow and two days after.
        monthCalendar1.BoldedDates = new DateTime[]
        {
        DateTime.Today.AddDays(1),
        DateTime.Today.AddDays(2),
        DateTime.Today.AddDays(4)
        };
    }
    }
}
326 questions
-1
votes
1 answer

Get month name from input date

I have created a function for user to input his birthdate and display some info like month name from his birth date entered, however with following code I am getting month number but I need month name, can anyone help me out here? Thanks! import…
-1
votes
3 answers

How to get previous month name on given some month (in words not numerical value)?

I want a function that gives the full name of prev month for any given month[not just current month] Ex: prevMonth(August) = July; prevMonth(January)= December. I'm new to js and can't figure out how to use this array to get the result: monthsarray:…
-1
votes
1 answer

How to sort months in the correct order Jan-Dec Pandas

I would like to have some help to put the calendar days in the matplot graphics in order from Jan - Dec. My code is below. The months are in a pandas dataframe. Code month_df = df.groupby(['month_name']).count() month_df =…
Lucas Batista
  • 143
  • 1
  • 5
-1
votes
2 answers

Month Start Date through DAX formula

I have dates in data from 02 Aug 2018 03 Aug 2018 04 Aug 2018 . . . . 30 Aug 2018.. Now i want start of the month date through Dax formula which is 01/08/2018. But in data date is 02/08/2018 which i dont want i tried below formula…
-1
votes
1 answer

I want find customers transacting for any consecutive 3 months from year 2017 to 2018

I want to know the trick to find the list of customers who are transacting for consecutive 3 months ,that could be any 3 consecutive months with any number of occurrence. example: suppose there is customer who transact in January then keep…
-1
votes
1 answer

How to highlight days in MonthCalender using C#?

I am using visual studio c# to create a window form. The window form contains a Month Calendar. I intend to highlight/bold only Saturday and Sunday (weekend) in my Calendar. How do I do this? because from the month calendar properties I only see…
Natrah
  • 3
  • 1
-1
votes
1 answer

Set all months in a list or map along with years

I want to set a list or map which ever is preferable, I'll get a month and a year as input,for example consider input is Feb-2015 then a list or map must contain months and year for next 12…
Francis Raj
  • 107
  • 4
  • 12
-1
votes
1 answer

Select data within specific month in SELECT-OPTIONS

This ABAP code works but it works only once. I run this code with different parameters but result data does not change. How can I solve it? PARAMETERS : S_MONTH LIKE ISELLIST-MONTH OBLIGATORY. SELECT-OPTIONS : S_DATE FOR SY-DATUM. AT…
HKY
  • 1
  • 5
-1
votes
1 answer

How to get back a datasource for a list when an item is not equal value from database

I have monthcalendar with a button, when a button is clicked and a selected date in monthcalendar is equal to a value from database column then Iam usin a listbox.datasource from the database, but after that when I select a new date in monthcalendar…
Sivar
  • 21
  • 5
-1
votes
1 answer

Iterate dates in monthCalendar control

I have a program that controls a relay board via RS232, the program allows multiple schedules to be setup so that these relays are turned on/off as the user needs. I am trying to use the monthCalendar control to display a monthly view of what relays…
-1
votes
1 answer

How to display more than one month in MonthCalendar on run avb.net

I'm trying to display more than one month on run using MonthCalendar, I set the property of CalendarDimensions Width = 1, Height = 2, but after run it gets back to one month only. Thanks in advance
-1
votes
1 answer

I am having a _BLOCK_TYPE_IS_VALID(pHEAD-> nBlockUse) error

Here is my code and is throwing me an assertion error. I really don't know what this means. This is the first time I have encountered an issue like this. #include #include "string.h" using namespace std; class myString { private: //…
-1
votes
1 answer

DateTime : Month Diffenece Formula in VB?

I mean, how to write formula like this: Dec2013-Feb2014, the result = 3 (from december to february, jump 3 time) Jan2014-Feb2014, the result = 2 (from january to february, jump 2 time) Feb2014-Feb2014, the result = 1 (in same month is 1 time)…
valzz
  • 19
  • 1
  • 1
  • 5
-1
votes
3 answers

Getting Month and Year in android?

How to get month and year in android? (In Ascending and Descending order when we click on the left and the right arrows). I am attaching the screenshot for reference https://s28.postimg.org/gyuzzumkd/time_date.jpg I used some of the code from his…
Srikanth
  • 33
  • 1
  • 1
  • 10
-1
votes
2 answers

No string is returned from static function C#

Hello I trying to make a function wich will shof a calender at a givven location on a given form and the returns the selected date in a string. This is what i've got so far: public static string ShowCalendar(Point locatieCalender, Form F1) { …
Jan-WIllem
  • 91
  • 13
1 2 3
21
22