recurring

.NET: Get all Outlook calendar items

How can I get all items from a specific calendar (for a specific date). Lets say for instance that I have a calendar with a recurring item every Monday evening. When I request all items like this: CalendarItems = CalendarFolder.Items; CalendarItems.IncludeRecurrences = true; I only get 1 item... Is there an easy way to get all items...

Calculating Revenue Per User

How would you guys go about calculating revenue per user for a recurring web service (they are billed each month)? Typically, you would just take the total revenue and divide it by the total number of customers. With a recurring service, however, you have to take into consideration the people that have yet to cancel their account (we do...

Recurring Payments in PayPal

Hi All, I am trying to use the Recurring payment API offered by PayPal. I have a scenario which I am not able to address directly. It goes like this. We have a website where we sell some services. Now the services are charged per user license. A user can buy/cancel user license in between. We want to offer the customer a recurring bill...

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 to Handle Cancelled Recurring Payments

I'm using Paypal to handle automated recurring payments for my website. Users pay to subscribe to my website so they can get periodic newsletters. So let's say a customer cancels their membership a few months later. They do this by logging into Paypal and cancels future automated payments. How should I update my website to reflect th...

Is there a good way to create a recurring import for an ASP.NET site?

The site I'm working on is running Windows Server 2003 and SQL Server 8 (2000?), and ASP.NET 3.5. I need to have some sort of script or application run to import data from an FTP'd text file, into the database. There is already a site running on the machine, that uses the current database. Can I use a scheduled task to reliably kick o...

Index of x Recurring Character

The following code is supposed to show in a message box the index of the third a in the string checkme, but when I run the program it doesn't give me the right answer (should be 12, instead I get 9). What am I doing wrong and how would I go about making it work? Private Sub Button4_Click(ByVal sender As System.Object, ByVal e As System....

What's a good data structure for periodic or recurring dates?

Is there a published data structure for storing periodic or recurring dates? Something that can handle: The pump need recycling every five days. Payday is every second Friday. Thanksgiving Day is the second Monday in October (US: the fourth Thursday in November). Valentine's Day is every February 14th. Solstice is (usually) every June ...

How to model and store recurring tasks in rails?

Cron solutions in rails are numerous and pretty good. That's not what I'm struggling with here. Instead, what I'm having trouble with is letting users create their own recurring tasks (like reminders) - specifically how to model and store these in the DB (a good UI for it is non-trivial too - would be awesome if there was code out ther...

Variable cost subscription payment provider UK

Hi all, I am looking for a payment provider that uses an API and supports variable cost subscriptions that I can integrate into my Rails application. We are currently using the Active Merchant plugin for Rails and PayPal as our provider but their recurring billing procedure is apparently flaky. I'm thinking that there may be a provider ...

Payment processor for WHMCS that supports recurring payments?

Anybody use WHMCS (WHM Complete Solution) that found any of the supported modules that allow recurring billing. I'm currently looking at 2checkout, but can't get a clear answer anywhere. ...

Using runt to do recurring non-weekly events in ruby (bi-weekly, every 3 weeks, etc)

I need to be able to create recurring events that happen on specific days but don't necessarily happen every week. They could be scheduled bi-weekly, every 3 weeks, etc. There is a current implementation that needs an update and I'd like to use the temporal expressions stuff from runt to redo it. Runt will work for what I need except ...

Prescheduling Recurrent Tasks

At work, we are given a set of constraints of the form (taskname, frequency) where frequency is an integer number which means the number of ticks between each invocation of the task "taskname". Two tasks cannot run concurrently, and each task invocation takes one tick to complete. Our goal is to find the best schedule in terms of matchin...

PHP 5.3 DateTime for recurring events

I have a calendar application which utilizes the newer PHP DateTime classes. I have a way that I handle recurring events, but it seems hack-ish and I wanted to see if you guys have better ideas: I have a recurring event that starts 11/16/2009 (Nov 16, 2009) It will occur every 3 days The event will recur indefinitely Let's say the us...

Recurring Calendar Events that don't expire

I'm looking for a library in PHP (or better yet in ruby) to handle an events calendar. I've looked a dozens of them and every one breaks down when it comes to recurring events. Many require and end date and most create every recurring event as a entry in a database or something. Every suggestion I get is to use the Google calendar which...

Extending WSS3 task lists to support recurring reminders

WSS 3.0 will let me send an email to a group when a new task is added to a task list. What I would like to do is to run a weekly task that sends out reminders of tasks due within certain periods, i.e. 2 days, 7 days, 14 days etc. I thought the simplest way would be to build a little C# app thatr sits on the WS2K3 box and qeuries the WSS ...

Which Paypal API for preapproved payments?

I'm trying to implement PayPal on a completely custom shopping cart and have been unable to figure out which API for recurring payments we need. We ship a physical product every 2, 3, 4, 6 months so shipment and payment have to both happen together. In addition it must be easy for the user to change their shipment date - or add or remov...

Paypal to return true or false

Hey, So I am curious on how to setup a recurring payment like I have here, but I need paypal to return to me if the payment was successful, and ONCE it is go to X.PHP page where I update the MySQL User Table stating he has setup payment. If anyone could give me some guidance that would be great. echo '<form action="https://www.pay...

sending to paypal the "custom" variable on saved buttons ipn question

Hi , i have quick question, i'm setting up recurring subscriptions for paypal and i can't configure but saved buttons, (not like web_accept where i could define all the vars in the form to send...) so it results a form like this: <form action="https://www.paypal.com/cgi-bin/webscr" method="post"> <input type="hidden" name="cmd" value="_...

Creating a looping background animation in jquery

What I want is: when the page loads - the background has color red after 10 seconds the bgColor changes to green with a fade in fade out animation... after another 10 seconds it changes to orange....then again to red and so on.. Could someone help ...