Creating Appointments (vCalendar) in C#, Interesting Interview, and AI

To be honest I used the code here and here to get started. And finding even those two items was rather painful. However manipulating an appointment on an exchange server is actually pretty easy once you get used to WebDAV. However finding the info to help you do just that is a little daunting. However I've been able to cobble together a class that can create an appointment/meeting and save it to a person's calendar, email that appointment to the various invitees, send out cancellations of that meeting, and also delete an appointment from someone's calendar. Note though that the code isn't finished:

Appointment.zip (3.52 kb)

You're going to have to modify the code a bit though to get it working (specifically edit any line that says http://exchangeserver to point to your own exchange server). Another issue is that the class isn't done yet. I'm currently working on a couple of other methods, the class isn't documented, etc. So I'll be sure to upload a finished version of this when I get a chance.

In other news, I'm sure if you read Gamasutra you've already read this interview. If you haven't read it yet, definitely do so. It's really interesting (at least to me considering I loved Dwarf Fortress). In fact the next game/engine that I'm creating pulls a lot of the design from it. The portion of the interview that I found most interesting was the world generation. Anyway, definitely read it.

Another article I suggest that you read is this one over at AIGameDev.com. It does a good job at highlighting some issues you should consider when designing the AI in your game. 

kick it on DotNetKicks.com   Shout it
Digg It!DZone It!StumbleUponTechnoratiRedditDel.icio.usNewsVineFurlBlinkListEmail

Posted by: James Craig
Posted on: 3/13/2008 at 3:51 PM
Tags: , , , ,
Categories: ASP.Net | C# | Game Programming | Web Design
Post Information: Permalink | Comments (4) | Post RSSRSS comment feed

Comments

Spain Jobs United States

Thursday, November 12, 2009 2:23 AM

 Spain Jobs

What’s the advantage of using System.Text.StringBuilder over System.String?

James Craig United States

Thursday, November 12, 2009 9:31 AM

James Craig

StringBuilder is generally faster than concatenating strings. There is of course the trade off of creating the StringBuilder object but since it acts like a vector when it comes to allocation for the strings themselves, it runs a bit faster.

kamal Indonesia

Thursday, June 17, 2010 2:32 AM

kamal

Halo, is there different, if i use lotus domino as email server ?

James Craig United States

Thursday, June 17, 2010 10:54 AM

James Craig

I'm assuming it wouldn't work. I mean the code would have to be modified. That of course assumes that WebDAV is supported by Lotus (I don't know as my only experience with it has been migrating off of it).

Add comment




  Country flag

biuquote
  • Comment
  • Preview
Loading