473,705 Members | 2,539 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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(FI LENAME)
objStreamWriter .WriteLine("BEG IN:VCALENDAR")
objStreamWriter .WriteLine("PRO DID:-//John's ICS writer")
objStreamWriter .WriteLine("VER SION:2.0")
objStreamWriter .WriteLine("MET HOD:PUBLISH")
objStreamWriter .Write(vbCrLf)

.... Loop through the list of appointments
objStreamWriter .WriteLine("BEG IN:VEVENT")
objStreamWriter .WriteLine("DTS TART;VALUE=DATE :" &
dt1.ToString("y yyyMMdd\\THHmms s\\Z"))
objStreamWriter .WriteLine("DTE ND;VALUE=DATE:" &
dt2.ToString("y yyyMMdd\\THHmms s\\Z"))
objStreamWriter .WriteLine("LOC ATION:" & splitout(7))
objStreamWriter .WriteLine("TRA NSP:TRANSPARENT ")
objStreamWriter .WriteLine("UID :we*******@boer s.sohosted.com" )
objStreamWriter .WriteLine("DTS TAMP:" &
DateTime.Now.To String("yyyyMMd d"))
objStreamWriter .WriteLine("CAT EGORIES:2006 FIFA World Cup")
objStreamWriter .WriteLine("SUM MARY:WK 2006 match " & splitout(0)
& ": " & splitout(2))
objStreamWriter .Write("DESCRIP TION:")
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.s ohosted.com.")
objStreamWriter .WriteLine("\nC reate your own iCalendar files
easily at http://www.webtech.boe rs.sohosted.com/iCalendar/.")
objStreamWriter .WriteLine("URL :www.tdf.boers. sohosted.com")
objStreamWriter .WriteLine("STA TUS:CONFIRMED")
objStreamWriter .WriteLine("CLA SS:Public")
objStreamWriter .WriteLine("END :VEVENT")
objStreamWriter .Write(vbCrLf)
--- end loop

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

Feb 10 '06 #1
0 1261

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

Similar topics

117
7212
by: Peter Olcott | last post by:
www.halting-problem.com
28
5216
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(); .... and then call the virtual method, why is it that the base class's method is called instead of the overridden method? How do I fix this if I don't know at runtime what the child class is? I'm using Activator.CreateInstance() to load the...
6
3805
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 is more that 1249 bytes, then the progress bar of the browser will move too slow and then displaying that the page not found!!!! If the message is less than or equal to 1249 then no problem.
4
7644
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 import strand for this, it does not seem to work with the format I shall be importing. iCalendar files are not comma delimited files. My first inclination is to open the iCalendar file with low level DOS commands, to parse its contents with Regular...
1
2252
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 format, so i have to encode/decode the data which is in a text/bin file, so that i can use it for the display............plz let me know which is best solution and C++ function to encode/decode the same............or any free tools...
1
1441
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
28089
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 aspose.icalendar or another one of the popular packages. My ultimate goal is take the iCal data and import into a SQL Server database. I can handle the import to the database but I'm having trouble reading the iCalendar files from external website. I've...
0
984
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 Python". First question - have I missed any other (better?) ones? Second question - how do I choose which to use. Do I just use the obvious criteria like recent activity, has the methods I want etc. or is there some place that assigns...
4
4763
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. However, I have no idea how I can receive and process an iCalendar request, as regards adding a new event. Eventually I want to parse the request and add it to the database. I am using Thunderbird with the Lightning Extension. I have connected it
0
8771
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8691
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
9275
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
1
9038
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
1
6607
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5934
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4441
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
1
3140
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
3
2084
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.