473,386 Members | 1,766 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,386 software developers and data experts.

iCalendar problem

Hello all,

On my webpage
http://www.tdf.boers.sohosted.com/uc...load2006i.aspx
I offer an iCalendar file with the FIFA wk 2006 match schedule so my
visitors can import it easily in Outlook.

When you import the file in Outlook all matches are shown correct. The
problem is that when you synchronize Outlook with a PDA alle matches
are shown as a all day event and they are displayed the day following
on the day the match is played.

Does anybody recognize this problem? And can you tell me how to solve
it?

This is how I write the appointments:
objStreamWriter = new streamwriter(FILENAME)
objStreamWriter.WriteLine("BEGIN:VCALENDAR")
objStreamWriter.WriteLine("PRODID:-//John's ICS writer")
objStreamWriter.WriteLine("VERSION:2.0")
objStreamWriter.WriteLine("METHOD:PUBLISH")
objStreamWriter.Write(vbCrLf)

.... Loop through the list of appointments
objStreamWriter.WriteLine("BEGIN:VEVENT")
objStreamWriter.WriteLine("DTSTART;VALUE=DATE:" &
dt1.ToString("yyyyMMdd\\THHmmss\\Z"))
objStreamWriter.WriteLine("DTEND;VALUE=DATE:" &
dt2.ToString("yyyyMMdd\\THHmmss\\Z"))
objStreamWriter.WriteLine("LOCATION:" & splitout(7))
objStreamWriter.WriteLine("TRANSP:TRANSPARENT")
objStreamWriter.WriteLine("UID:we*******@boers.soh osted.com")
objStreamWriter.WriteLine("DTSTAMP:" &
DateTime.Now.ToString("yyyyMMdd"))
objStreamWriter.WriteLine("CATEGORIES:2006 FIFA World Cup")
objStreamWriter.WriteLine("SUMMARY:WK 2006 match " & splitout(0)
& ": " & splitout(2))
objStreamWriter.Write("DESCRIPTION:")
objStreamWriter.Write("2006 FIFA World Cup: " & splitout(1))
objStreamWriter.Write("\n" & splitout(2))
objStreamWriter.Write("\n\n---\nthis iCalender file is offered to
you by http://www.tdf.boers.sohosted.com.")
objStreamWriter.WriteLine("\nCreate your own iCalendar files
easily at http://www.webtech.boers.sohosted.com/iCalendar/.")
objStreamWriter.WriteLine("URL:www.tdf.boers.sohos ted.com")
objStreamWriter.WriteLine("STATUS:CONFIRMED")
objStreamWriter.WriteLine("CLASS:Public")
objStreamWriter.WriteLine("END:VEVENT")
objStreamWriter.Write(vbCrLf)
--- end loop

objStreamWriter.WriteLine("END:VCALENDAR")
objStreamWriter.Close()

Feb 10 '06 #1
0 1236

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

117
by: Peter Olcott | last post by:
www.halting-problem.com
28
by: Jon Davis | last post by:
If I have a class with a virtual method, and a child class that overrides the virtual method, and then I create an instance of the child class AS A base class... BaseClass bc = new ChildClass();...
6
by: Ammar | last post by:
Dear All, I'm facing a small problem. I have a portal web site, that contains articles, for each article, the end user can send a comment about the article. The problem is: I the comment length...
4
by: Lyle Fairfield | last post by:
iCalendar is a standard (RFC 2445) for calendar data exchange. I plan to transfer data from iCalendar files (extension .ics), to a linked Outlook calendar table. While Outlook (2002) has an...
1
by: Raj00725 | last post by:
Hi...... i need to do vcard and icalendar enc/decoding........I have a structure which consist of a info abt name, mobile number, email id, address etc which is stored in a Database, as file in .vcf...
1
by: neenat | last post by:
Is this possible ? Can I use calendarwriter to create and modify ical objects in visual studio .net 2003 ? Are there any open source libraries thart can be used ? Thanks Neena
17
by: csharpusr | last post by:
Hello, I'm looking for some C# code that loads a iCalendar file from a wesbite, loops through the .ics file and extracts the event details from each event in the file. I don't want to use...
0
by: tinnews | last post by:
I am about to try writing a little Python utility to extract some data from an iCalendar file. A quick Google search turns up two possible libraries to use - vobject and "iCalendar package for...
4
by: Mark | last post by:
I am trying to write a light iCalendar server. I have no problem serving iCalendar data, which is just printing the right format with the right headers. The data comes from a database. ...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
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,...

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.