﻿<?xml version="1.0" encoding="utf-8"?><rss version="2.0"><channel><title>Eric Moreau's web site (www.emoreau.com)</title><link>http://www.emoreau.com/Rss/Rss.aspx</link><description>The latest headlines and articles from the world of www.emoreau.com</description><copyright>(c) 2006-2008, emoreau.com, All rights reserved.</copyright><ttl>5</ttl><item><title>Sending e-mails with attachments (a different method)</title><description>&lt;p&gt;One of the most asked questions on forums is about sending e-mails from an application. &lt;/p&gt;
&lt;p&gt;The easiest method from a .Net application is to use the System.Net.Mail namespace as I covered in &lt;a href="http://www.emoreau.com/Entries/Articles/2007/09/Using-SystemNetMail.aspx" shape="rect"&gt;September 2007&lt;/a&gt;. &lt;/p&gt;
&lt;p&gt;Another method is to use the mailto protocol using the Process component which I also covered in &lt;a href="http://www.emoreau.com/Entries/Articles/2003/12/The-Process-component.aspx" shape="rect"&gt;December 2003&lt;/a&gt;. &lt;/p&gt;
&lt;p&gt;Outlook automation is also possible but your users will have to reply to a message saying that something is trying to send a message on their behalf (which most users don’t like). &lt;/p&gt;
&lt;p&gt;But those methods are not good for in all situations. For example, the first method (System.Net.Mail) is not linked to your Outlook and then the message is not saved into your sent items. Because the RFC document does not support the attach parameter, not every email applications (Outlook once again) can be used to send attachments when using the second method. &lt;/p&gt;
&lt;p&gt;Lately, I found a solution that is working great so far. The last problem I solved with it was to add a button to the Crystal Report viewer to easily attach a PDF version of the currently viewed report to a new e-mail. &lt;/p&gt;
</description><link>http://www.emoreau.com/Entries/Articles/2010/07/Sending-e-mails-with-attachments-a-different-method.aspx</link><pubDate>Fri, 30 Jul 2010 00:00:00 GMT</pubDate></item><item><title>New article: Sending e-mails with attachments (yet another method)</title><description>&lt;p&gt;I just published a very short (not much time returning from vacation).&lt;/p&gt;
&lt;p&gt;This time it is about a new method I found to send emails with attachments using Outlook (without any kind of security dialogs).&lt;/p&gt;
&lt;p&gt;You can read it from &lt;a href="http://www.emoreau.com/Entries/Articles/2010/07/Sending-e-mails-with-attachments-a-different-method.aspx" shape="rect"&gt;http://www.emoreau.com/Entries/Articles/2010/07/Sending-e-mails-with-attachments-a-different-method.aspx&lt;/a&gt;&lt;/p&gt;
</description><link>http://www.emoreau.com/Entries/Blogs/2010/07/New-article-Sending-e-mails-with-attachments-yet-another-method.aspx</link><pubDate>Fri, 30 Jul 2010 00:00:00 GMT</pubDate></item><item><title>Understanding Covariance and Contravariance</title><description>&lt;p&gt;Covariance and ContraVariance can be hard to understand.&lt;/p&gt;
&lt;p&gt;This short article gives you a very good basis: &lt;a href="http://www.codeguru.com/columns/vb/article.php/c17635"&gt;http://www.codeguru.com/columns/vb/article.php/c17635&lt;/a&gt;&lt;/p&gt;
</description><link>http://www.emoreau.com/Entries/Blogs/2010/07/Understanding-Covariance-and-Contravariance.aspx</link><pubDate>Tue, 27 Jul 2010 00:00:00 GMT</pubDate></item><item><title>A video you must see!!!</title><description>&lt;p&gt;After Mac-vs-PC, here is the Java-vs-.Net. It is a must see.&lt;/p&gt;
&lt;embed width="640" height="385" src="http://www.youtube.com/v/fzza-ZbEY70&amp;amp;color1=0x5d1719&amp;amp;color2=0xcd311b&amp;amp;hl=en_US&amp;amp;feature=player_embedded&amp;amp;fs=1" type="application/x-shockwave-flash" allowfullscreen="true" allowScriptAccess="always" /&gt; 
</description><link>http://www.emoreau.com/Entries/Blogs/2010/07/A-video-you-must-see.aspx</link><pubDate>Thu, 01 Jul 2010 00:00:00 GMT</pubDate></item><item><title>Great news in my inbox this morning.</title><description>&lt;p&gt;I got a great news in my inbox this morning. Microsoft renews me as a MVP for another year. It will be my seventh year.&lt;/p&gt;
&lt;p&gt;It is great to be recognize for the contributions we do for the community!&lt;/p&gt;
&lt;p&gt;Extract from the e-mail:&lt;/p&gt;
&lt;blockquote style="margin-right: 0px;" dir="ltr"&gt;
&lt;p&gt;&lt;em&gt;Congratulations! We are pleased to present you with the 2010 Microsoft® MVP Award! This award is given to exceptional technical community leaders who actively share their high quality, real world expertise with others. We appreciate your outstanding contributions in Visual Basic technical communities during the past year.&lt;/em&gt;&lt;/p&gt;
&lt;/blockquote&gt;
</description><link>http://www.emoreau.com/Entries/Blogs/2010/07/Great-news-in-my-inbox-this-morning.aspx</link><pubDate>Thu, 01 Jul 2010 00:00:00 GMT</pubDate></item><item><title>Visual Studio 2010: A fix for the "cut/copy insufficient memory" issue</title><description>&lt;p&gt;Apparently, some developpers are having issues when they are doing cut and copy operations in Visual Studio 2010. &lt;/p&gt;
&lt;p&gt;The official error message reads like this:&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;&lt;em&gt;"Insufficient available memory to meet the expected demands of an operation at this time, possibly due to virtual address space fragmentation. Please try again later."&lt;/em&gt;&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;Scott Guthrie himself blogged about a public patch available for this issue which you can download and apply &lt;a href="https://connect.microsoft.com/VisualStudio/Downloads/DownloadDetails.aspx?DownloadID=29729" target="_blank" shape="rect" closure_uid_oqf9n5="2857"&gt;here&lt;/a&gt; if you are running into it.  More details on the issue can be found on the Visual Studio team blog &lt;a href="http://blogs.msdn.com/b/visualstudio/archive/2010/06/25/patch-available-for-cut-or-copy-displaying-insufficient-memory-error-in-vs-2010.aspx" target="_blank" shape="rect" closure_uid_oqf9n5="2858"&gt;here&lt;/a&gt;. &lt;/p&gt;
</description><link>http://www.emoreau.com/Entries/Blogs/2010/06/Visual-Studio-2010-A-fix-for-the-cutcopy-insufficient-memory-issue.aspx</link><pubDate>Tue, 29 Jun 2010 00:00:00 GMT</pubDate></item><item><title>TechDays Canada 2010: Register now!</title><description>&lt;p&gt;For a 3rd year in a row, Microsoft will presents its TechDays Canada tour in 8 cities in Canada.&lt;/p&gt;
&lt;p&gt;The tour will stop in Montréal November 23-24, 2010. You can register today and benefits from a great early bird special price.&lt;/p&gt;
&lt;p&gt;You can visit the official web site at &lt;a href="http://www.techdays.ca/" shape="rect"&gt;http://www.techdays.ca/&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Damir Bersinic alsow wrote a FAQ on TechDays that you can read from &lt;a href="http://blogs.technet.com/b/canitpro/archive/2010/06/24/your-techdays-2010-frequently-asked-questions.aspx?utm_source=feedburner&amp;amp;utm_medium=feed&amp;amp;utm_campaign=Feed%3A+CanITPro+%28Canadian+IT+Professionals%29&amp;amp;utm_content=Google+Reader" shape="rect"&gt;http://blogs.technet.com/b/canitpro/archive/2010/06/24/your-techdays-2010-frequently-asked-questions.aspx?utm_source=feedburner&amp;amp;utm_medium=feed&amp;amp;utm_campaign=Feed%3A+CanITPro+%28Canadian+IT+Professionals%29&amp;amp;utm_content=Google+Reader&lt;/a&gt;&lt;/p&gt;
</description><link>http://www.emoreau.com/Entries/Blogs/2010/06/TechDays-Canada-2010-Register-now.aspx</link><pubDate>Tue, 29 Jun 2010 00:00:00 GMT</pubDate></item><item><title>Creating Excel Add-in with VB.net or C#</title><description>&lt;p&gt;Two weeks ago, I was asked by a user to provide access to some data of one of their database so that they can use it directly from Excel. I first suggested some methods that are already implemented in the application (like extracting the data and use it in a lookup table). But nothing could satisfy him. He has one idea in mind: being able to use a formula to have access to the data (ie: GetData(value1, value2)) much like Bloomberg and many others vendors are providing. &lt;/p&gt;
&lt;p&gt;It was time for me to dig into the creation of an add-in which I knew it was possible but I never built. So guess what is my article all about this month? &lt;/p&gt;
</description><link>http://www.emoreau.com/Entries/Articles/2010/06/Creating-Excel-Add-in-with-VBnet-or-C.aspx</link><pubDate>Sun, 27 Jun 2010 00:00:00 GMT</pubDate></item><item><title>New article: Creating Excel Add-in with VB.net or C#</title><description>&lt;p&gt;I have been quiet in the last few weeks. I wasn't hibernating. I was simply over-busy!&lt;/p&gt;
&lt;p&gt;But I took some time to write an article on something I really had to do!&lt;/p&gt;
&lt;p&gt;Two weeks ago, I was asked by a user to provide access to some data of one of their database so that they can use it directly from Excel. I first suggested some methods that are already implemented in the application (like extracting the data and use it in a lookup table). But nothing could satisfy him. He has one idea in mind: being able to use a formula to have access to the data (ie: GetData(value1, value2)) much like Bloomberg and many others vendors are providing.&lt;/p&gt;
&lt;p&gt;It was time for me to dig into the creation of an add-in which I knew it was possible but I never built. So guess what is my article all about this month?&lt;/p&gt;
&lt;p&gt;You can read the full article from &lt;a href="http://www.emoreau.com/Entries/Articles/2010/06/Creating-Excel-Add-in-with-VBnet-or-C.aspx" shape="rect"&gt;http://www.emoreau.com/Entries/Articles/2010/06/Creating-Excel-Add-in-with-VBnet-or-C.aspx&lt;/a&gt;&lt;/p&gt;
</description><link>http://www.emoreau.com/Entries/Blogs/2010/06/New-article-Creating-Excel-Add-in-with-VBnet-or-C.aspx</link><pubDate>Sun, 27 Jun 2010 00:00:00 GMT</pubDate></item><item><title>Do you know the TextFieldParser?</title><description>&lt;p&gt;When it comes the time to read a delimited text file, everybody has its own little set of functions to handle that. It is sometime a simple task but it can also be tricky when the files contains delimiters and quotes and delimiters between quotes and ... you know what I mean. &lt;/p&gt;
&lt;p&gt;Let me introduce you to another method that is built into the Framework to easily find the data without worrying too much about the delimiters, whether the fields are enclosed into quotes, ... Say you simply want to read the fields into a string collection. &lt;/p&gt;
&lt;p&gt;This s exactly what the TextFieldParser class is all about. If provides methods and properties for parsing structured text files. This class is hidden into the Microsoft.VisualBasic.FileIO namespace. &lt;/p&gt;
</description><link>http://www.emoreau.com/Entries/Articles/2010/05/Do-you-know-the-TextFieldParser.aspx</link><pubDate>Sat, 22 May 2010 00:00:00 GMT</pubDate></item></channel></rss>