calendar

Where is "CDO.Appointment"

Hello . I'm using VB .NET 2005 and Exchange Server 2003 installed I have found some code which gives me the ability to connect in an Exchange Server and create an appointment. The thing is that I cannot find the CDO. Appointment. Where can I find it and make the below code to work ? I have tried all the examples with CDO and Outlook. I ...

Anyone know of a free date and *time* ASP.NET custom control

Every time I have to build a form with a DateTime field I try to find a decent free custom control - I always fail. I cannot figure out why it isn't built in the .NET but let's forget about for a minute and concentrate on my question :D Anyone got one? ...

How do I determine if a given date is Nth weekday of the month?

Sorry if the title is awkward, but I can't think of a better summary. Here is what I am trying to do: Given a date, a day of a week and an integer n, is the date the nth day of the month? For example: input of 1/1/2009,Monday,2 would be false because 1/1/2009 is not the second Monday input of 11/13/2008,Thursday,2 would return true ...

Is there a known pattern for scheduling events programatically?

Does anyone have a known, solid solution for the scheduling of events (i.e. appointments, meetings, etc) within a system. I'm speaking here of "events" as tasks that need to be done on a one-time or recurring basis and executed based on a schedule. I've found a schedule UI component by DevExpress and it has some reference to using custom...

How do I discover the Quarter of a given Date?

Given a java.util.Date object how do I go about finding what Quarter it's in? Assuming Q1 = Jan Feb Mar, Q2 = Apr, May, Jun, etc. ...

How can I open other people's Outlook calendars from Perl?

I can access my calendar entries as: $folder = $namespace->Folders("Joe Cool")->Folders("Calendar"); How do I open "Jane Cool" Calendar? Outlook shows that calendar as: People's Calendar Jane Cool ...

Javascript Calendar with Drag select for multiple days

Anyone know of a Javascript Calendar that supports drag selection for multiple days? Need to be able to do it over months as well, not just restricted to one month. Thanks a lot in advance, the ones here are no good for my problem: http://www.javascript-examples.com/javascript-calendars/ ...

Best asp.net calendar/schedule component?

I'm looking for the BEST asp.net calendar/schedule component that it out there. I like the look of google calendar, and it absolutely needs to be a native .net component, which can be customized. I don't mind if it is part of a bigger framework (like telerik, for example). Links to samples would be great. ...

How to create a .ICS file with multiple VEVENTs to be imported into an existing Outlook Calendar

I have a need to allow for a user to download an event that has multiple meeting dates. To do this I have created a memorystream to be downloaded which produces a .ics file. For example: BEGIN:VCALENDAR PRODID:-//Company//Product//EN VERSION:2.0 METHOD:PUBLISH BEGIN:VEVENT SUMMARY:Subject of Event LOCATION:Location of Event UID:12275...

Calculate business days

Hi, I need a method for adding "business days" in PHP. For example, Friday 12/5 + 3 business days = Wednesday 12/10. At a minimum I need the code to understand weekends, but ideally it should account for US federal holidays as well. I'm sure I could come up with a solution by brute force if necessary, but I'm hoping there's a more eleg...

My Calendar control is cut

Hi guys I've got an own control with a calenadar popup and other funcionalities. I've placed that Control into a grin in the content of another Page. My Problem now is, that the Calendar Control is cut. So i only see half of the calendar. How can i bring it to the Front? Like the normal DatePicker Control does?? Thx Patrick ...

Why is January month 0 in Java Calendar ?

In java.util.Calendar, January is defined as month 0, not month 1. Is there any specific reason to that ? I have seen many people getting confused about that... ...

scheduling app using constraints for when an event can take place

Ok, what I'm trying to do is build a web app that allows students to visually organize their class calendar using drag and drop. but They have to be able to drag and drop to specific locations (when those classes are available), not just anywhere. This would be a 'fixed week' calendar. I was considering using a table, but was wondering ...

How do I track a repeating calendar event in C# / SQL Server?

I'd like to display a repeating event on a date/time display in an app. This date time display can take the form of a calendar, but it could also just be a list of upcoming events. What is the best way to handle tracking this event that can repeat? For example: Should the event be stored once in the database and projected out / r...

ASP.NET Ajax Calendar

Hi Guys, I am using MS AJAX ASP.NET Components (Calendar Extender) and I'm finding this problem. Some weekdays are not being displayed.... I uploaded a picture so you can view exactly how it is being displayed... The one on the right (calnder) in the picture is taken from microsoft's sample. Have you got any idea what is causing thi...

System.currentTimeMillis() vs. new Date() vs. Calendar.getInstance().getTime()

In Java, what are the performance and resource implications of using System.currentTimeMillis() vs. new Date() vs. Calendar.getInstance().getTime() As I understand it, System.currentTimeMillis() is the most efficient. However, in most applications, that long value would need to be converted to a Date or some similar object to ...

Nullable CalendarColumn / DateTimePicker + DataGridView

I have read several articles on different ways to go about implementing a Nullable DateTimePicker however I am having trouble finding a way using a CalendarColumn. The easiest way I found to have null values in a DateTimePicker was to create a Custom Format if the value equaled an empty string. (Example Below) 'Check for Null V...

MySQL schedule conflicts

Hey, I stumbled upon this site looking for solutions for event overlaps in mySQL tables. I was SO impressed with the solution (which is helping already) I thought I'd see if I could get some more help... Okay, so Joe want's to swap shifts with someone at work. He has a court date. He goes to the shift swap form and it pull up this week'...

Seeking an algorithm to efficiently layout calendar event banners

I'm looking for an algorithm to efficiently place all-day/multi-day event banners, much like the month view in Outlook or Google Calendar. I have a number of events with a begin and end date, ordered by increasing begin (and then end) date (or any other order you please, I'm gathering events from a database table). I would like to minimi...

Handling historical calendar dates

What standards and strategies are there for handling historic dates described in older calendar form? The contemporary Gregorian calendar, with different length months, leap years, etc. is relatively easily handled with built-in programming language libraries, or data formats such as ISO8601, RFC3339 and RDF's OWL-Time ontology. Earlier...