<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" media="screen" href="/~d/styles/rss2full.xsl"?><?xml-stylesheet type="text/css" media="screen" href="http://feeds.feedburner.com/~d/styles/itemcontent.css"?><rss xmlns:creativeCommons="http://backend.userland.com/creativeCommonsRssModule" xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" version="2.0"><channel><title>Kuffs VB.Net Thoughts</title><link>http://blog.kuffs.co.uk/</link><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" type="application/rss+xml" href="http://feeds.feedburner.com/KuffsThoughts" /><description></description><language>en</language><managingEditor>noreply@blogger.com (Kuffs)</managingEditor><lastBuildDate>Thu, 16 Feb 2012 00:23:09 PST</lastBuildDate><generator>Blogger</generator><atom:id xmlns:atom="http://www.w3.org/2005/Atom">tag:blogger.com,1999:blog-6020180885442175907</atom:id><openSearch:totalResults xmlns:openSearch="http://a9.com/-/spec/opensearch/1.1/">4</openSearch:totalResults><openSearch:startIndex xmlns:openSearch="http://a9.com/-/spec/opensearch/1.1/">1</openSearch:startIndex><openSearch:itemsPerPage xmlns:openSearch="http://a9.com/-/spec/opensearch/1.1/">25</openSearch:itemsPerPage><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" type="application/rss+xml" href="http://feeds.feedburner.com/KuffsThoughts" /><feedburner:info uri="kuffsthoughts" /><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://pubsubhubbub.appspot.com/" /><creativeCommons:license>http://creativecommons.org/licenses/by-sa/3.0/</creativeCommons:license><image><link>http://creativecommons.org/licenses/by-sa/3.0/</link><url>http://creativecommons.org/images/public/somerights20.gif</url><title>Some Rights Reserved</title></image><item><title>Emailing the contents of a Devexpress RichEditControl (with embedded images)</title><link>http://feedproxy.google.com/~r/KuffsThoughts/~3/8IwZYOSLTn0/emailing-contents-of-devexpress.html</link><category>DevExpress</category><category>Embedded Images</category><author>noreply@blogger.com (Kuffs)</author><pubDate>Tue, 04 May 2010 06:52:00 PDT</pubDate><guid isPermaLink="false">tag:blogger.com,1999:blog-6020180885442175907.post-1301304826126070923</guid><atom:updated xmlns:atom="http://www.w3.org/2005/Atom">2010-11-25T11:04:55.518Z</atom:updated><atom:summary xmlns:atom="http://www.w3.org/2005/Atom">Following on from my previous post about emailing an XtraReport.  This is a short extension method to allow the same thing for a RichEditControl.
1. Add this module to your project.
Imports DevExpress.XtraRichEdit
Imports System.Runtime.CompilerServices
Imports System.Net.Mail

Module RTFExtension

&lt;Extension()&gt;
Public Function GetMailMessage(ByVal RTF As RichEditControl) As MailMessage
' Create </atom:summary><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">1</thr:total><description>&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/bSuMmoGxaZD_qKj3hip2LRSqsZI/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/bSuMmoGxaZD_qKj3hip2LRSqsZI/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/bSuMmoGxaZD_qKj3hip2LRSqsZI/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/bSuMmoGxaZD_qKj3hip2LRSqsZI/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/KuffsThoughts/~4/8IwZYOSLTn0" height="1" width="1"/&gt;</description><feedburner:origLink>http://blog.kuffs.co.uk/2010/05/emailing-contents-of-devexpress.html</feedburner:origLink></item><item><title>Creating a LiveZilla Button Server Control</title><link>http://feedproxy.google.com/~r/KuffsThoughts/~3/qJWhPnvBVSo/creating-livezilla-button-server.html</link><category>ASP.NET</category><category>Server Controls</category><category>Livezilla</category><author>noreply@blogger.com (Kuffs)</author><pubDate>Tue, 04 Aug 2009 05:20:00 PDT</pubDate><guid isPermaLink="false">tag:blogger.com,1999:blog-6020180885442175907.post-2824174756342436871</guid><atom:updated xmlns:atom="http://www.w3.org/2005/Atom">2010-04-03T21:42:51.491+01:00</atom:updated><atom:summary xmlns:atom="http://www.w3.org/2005/Atom">Due to a customers request for a specific feature, I’ve just discovered LiveZilla. It’s a really good and FREE live chat program for your website.  It basically requires putting a small piece of JavaScript into your page wherever you want the Live Chat button to appear.  This code can contain “variables” to help identify the person browsing your site and what part of the site they are on.The </atom:summary><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total><description>&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/3XAmDpKIYp902_7HcPB7elkTRdA/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/3XAmDpKIYp902_7HcPB7elkTRdA/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/3XAmDpKIYp902_7HcPB7elkTRdA/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/3XAmDpKIYp902_7HcPB7elkTRdA/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/KuffsThoughts/~4/qJWhPnvBVSo" height="1" width="1"/&gt;</description><feedburner:origLink>http://blog.kuffs.co.uk/2009/08/creating-livezilla-button-server.html</feedburner:origLink></item><item><title>Embedded images when exporting Devexpress XtraReport to HTML</title><link>http://feedproxy.google.com/~r/KuffsThoughts/~3/FMQzIi8hFAA/embedded-images.html</link><category>XtraPrinting</category><category>DevExpress</category><category>XtraReports</category><category>Embedded Images</category><author>noreply@blogger.com (Kuffs)</author><pubDate>Sun, 26 Jul 2009 08:15:00 PDT</pubDate><guid isPermaLink="false">tag:blogger.com,1999:blog-6020180885442175907.post-3969208468940051920</guid><enclosure url="http://www.kuffs.co.uk/blog/EmbeddedImages.zip" length="0" type="application/zip" /><atom:updated xmlns:atom="http://www.w3.org/2005/Atom">2009-07-27T19:58:56.402+01:00</atom:updated><atom:summary xmlns:atom="http://www.w3.org/2005/Atom">   I use Devexpress controls with my development projects and came across an issue in Xtrareports whereby when exporting a report to HTML, all the images are referenced as local file system resources which makes it impossible to assign the resulting HTML to the body of an email if it contains images.    The original issue is here if you are interested: http://www.devexpress.com/Support/Center/p/</atom:summary><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">7</thr:total><description>&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/-hcg0IaI8dGEeIJx3ZMKvO7Kdao/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/-hcg0IaI8dGEeIJx3ZMKvO7Kdao/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/-hcg0IaI8dGEeIJx3ZMKvO7Kdao/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/-hcg0IaI8dGEeIJx3ZMKvO7Kdao/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/KuffsThoughts/~4/FMQzIi8hFAA" height="1" width="1"/&gt;</description><feedburner:origLink>http://blog.kuffs.co.uk/2009/07/embedded-images.html</feedburner:origLink></item><item><title>Calculating an IRMark for the HMRC Gateway using VB.NET</title><link>http://feedproxy.google.com/~r/KuffsThoughts/~3/sk7SN_kcRKg/calculating-irmark-for-hmrc-gateway.html</link><category>IRMark</category><category>HMRC</category><category>Gateway</category><author>noreply@blogger.com (Kuffs)</author><pubDate>Fri, 10 Jul 2009 12:27:00 PDT</pubDate><guid isPermaLink="false">tag:blogger.com,1999:blog-6020180885442175907.post-5147771073386657040</guid><atom:updated xmlns:atom="http://www.w3.org/2005/Atom">2009-07-27T19:31:49.827+01:00</atom:updated><atom:summary xmlns:atom="http://www.w3.org/2005/Atom">   This took ages to finally work out so I thought I'd share the function. Just pass in the XML file as a Byte Array and the IRMark is returned.         Friend Shared Function GetIRMark(ByVal Xml As Byte()) As String' Convert Byte array to stringDim text As String = Encoding.UTF8.GetString(Xml)Dim Doc As New XmlDocument Doc.PreserveWhitespace = True Doc.LoadXml(text)Dim ns As New </atom:summary><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">3</thr:total><description>&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/KNnFUVCV9GHY45TW7ABqQqkYPeY/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/KNnFUVCV9GHY45TW7ABqQqkYPeY/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/KNnFUVCV9GHY45TW7ABqQqkYPeY/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/KNnFUVCV9GHY45TW7ABqQqkYPeY/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/KuffsThoughts/~4/sk7SN_kcRKg" height="1" width="1"/&gt;</description><feedburner:origLink>http://blog.kuffs.co.uk/2009/07/calculating-irmark-for-hmrc-gateway.html</feedburner:origLink></item></channel></rss>

