ashnewbie 0 Newbie Poster

Hello Geeks,

I am creating .ics file at runtime in a web application. The .ics file is send to a user as an attachment in email.
The file opens fine with microsoft outlook. I have taken care of spaces and line breaks in my code. But I am not sure how do I take care of Hyperlinks, bold tags, Listed Items etc

VB.net code
sCalendarBody = sCalendarBody.Replace("<br/>", "\n")
sCalendarBody = sCalendarBody.Replace("&nbsp;", " ")

Here is an example:

Events:<li>Friday, June 18, 2010 01:00 PM - 04:00 PM</li>
To add this class to your <b>Calendar:</b>
<ul><li>Double click on icon<li>Click on "Open"<li>Click on class name to select <li>Click "Import Selected"<li></ul>
For additional training questions visit <a href=http://www.microsoft.com>www.microsoft.com</a>.

Please help. Thanks, Ash

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.