<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Creating and deploying Managed COM add-ins with VB.NET 2005 &#8211; Part X</title>
	<atom:link href="http://www.dailydoseofexcel.com/archives/2006/08/24/creating-and-deploying-managed-com-add-ins-with-vbnet-2005-part-x/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.dailydoseofexcel.com/archives/2006/08/24/creating-and-deploying-managed-com-add-ins-with-vbnet-2005-part-x/</link>
	<description>Daily posts of Excel tips…and other stuff</description>
	<lastBuildDate>Thu, 09 Feb 2012 23:42:03 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
	<item>
		<title>By: ross</title>
		<link>http://www.dailydoseofexcel.com/archives/2006/08/24/creating-and-deploying-managed-com-add-ins-with-vbnet-2005-part-x/#comment-20830</link>
		<dc:creator>ross</dc:creator>
		<pubDate>Mon, 04 Sep 2006 23:27:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.dailydoseofexcel.com/?p=1481#comment-20830</guid>
		<description>&lt;p&gt;It&#039;s one of my things to learn (dam that&#039;s a long list), C and XLL&#039;s, I&#039;ve done a little bit, but I think I should step it up a bit. I belive that 2007 has a new C API, mainly for the new grid and dual threading...I think. &lt;/p&gt;
&lt;p&gt;One thing that did cross my mide was if you could write XLL&#039;s with C#? I&#039;m guessing no. Anyone got the SP?&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>It&#8217;s one of my things to learn (dam that&#8217;s a long list), C and XLL&#8217;s, I&#8217;ve done a little bit, but I think I should step it up a bit. I belive that 2007 has a new C API, mainly for the new grid and dual threading&#8230;I think. </p>
<p>One thing that did cross my mide was if you could write XLL&#8217;s with C#? I&#8217;m guessing no. Anyone got the SP?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Simon Murphy</title>
		<link>http://www.dailydoseofexcel.com/archives/2006/08/24/creating-and-deploying-managed-com-add-ins-with-vbnet-2005-part-x/#comment-20770</link>
		<dc:creator>Simon Murphy</dc:creator>
		<pubDate>Sat, 26 Aug 2006 21:48:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.dailydoseofexcel.com/?p=1481#comment-20770</guid>
		<description>&lt;p&gt;Ross&lt;br&gt;
Yes actually. I see C/C++ as the ideal Excel partner technology for the next 4+ years. &lt;/p&gt;
&lt;p&gt;As far as I have seen (could be well wrong) there is more xll (C/C++) enhancement in 2007 than .net.&lt;/p&gt;
&lt;p&gt;cheers&lt;br&gt;
Simon&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Ross<br />
Yes actually. I see C/C++ as the ideal Excel partner technology for the next 4+ years. </p>
<p>As far as I have seen (could be well wrong) there is more xll (C/C++) enhancement in 2007 than .net.</p>
<p>cheers<br />
Simon</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: ross</title>
		<link>http://www.dailydoseofexcel.com/archives/2006/08/24/creating-and-deploying-managed-com-add-ins-with-vbnet-2005-part-x/#comment-20766</link>
		<dc:creator>ross</dc:creator>
		<pubDate>Sat, 26 Aug 2006 13:06:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.dailydoseofexcel.com/?p=1481#comment-20766</guid>
		<description>&lt;p&gt;&quot;Then you have the long start-up time issue&quot;&lt;/p&gt;
&lt;p&gt;That&#039;s a big bug bare of mine with some .net things I&#039;ve done. It&#039;s embarrassing!!!! I click an icon and about a minute later my app opens? Its utter pants!!! &lt;/p&gt;
&lt;p&gt;I totally agree that as a dev tool VS2005 is excellent, I don&#039;t know anything about its use as a web development vs. Desktop. What would you suggest instead, back to C?&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>&#8220;Then you have the long start-up time issue&#8221;</p>
<p>That&#8217;s a big bug bare of mine with some .net things I&#8217;ve done. It&#8217;s embarrassing!!!! I click an icon and about a minute later my app opens? Its utter pants!!! </p>
<p>I totally agree that as a dev tool VS2005 is excellent, I don&#8217;t know anything about its use as a web development vs. Desktop. What would you suggest instead, back to C?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: XL-Dennis</title>
		<link>http://www.dailydoseofexcel.com/archives/2006/08/24/creating-and-deploying-managed-com-add-ins-with-vbnet-2005-part-x/#comment-20732</link>
		<dc:creator>XL-Dennis</dc:creator>
		<pubDate>Thu, 24 Aug 2006 22:48:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.dailydoseofexcel.com/?p=1481#comment-20732</guid>
		<description>&lt;p&gt;Stephane,&lt;br&gt;
Thanks for Your good points.&lt;/p&gt;
&lt;p&gt;&gt;&gt; So it may work well on your dev environment, but not on someone else&#039;s machine, who knows?&lt;/p&gt;
&lt;p&gt;This issue seems to be the most frequent issue on some forums I regular visit. Unfortunately it looks like there is a great number of a possible solution to it as well.&lt;/p&gt;
&lt;p&gt;I agree that the obfuscation of managed code is another important aspect to bring up but we first need to understand .NET before moving to this kind of questions.&lt;/p&gt;
&lt;p&gt;I downloaded yesterday Process Explorer (free utility) from Sysinternals that provide information about handles and DLLs (http://www.sysinternals.com/Utilities/ProcessExplorer.html). &lt;/p&gt;
&lt;p&gt;Simon,&lt;br&gt;
Thanks for Your kind comments :) &lt;/p&gt;
&lt;p&gt;I think we all need to realize that .NET has to &#039;faces&#039;:&lt;br&gt;
- Good for the Web&lt;br&gt;
- Less good for the desktop&lt;/p&gt;
&lt;p&gt;VB 6 is strong related to VBA and therefore it&#039;s more accessible for the average Excel developer then what C++ and MFC is.&lt;/p&gt;
&lt;p&gt;Mike,&lt;br&gt;
Thanks for Your kind comments :)&lt;/p&gt;
&lt;p&gt;If Carter &amp; Lippert will have the kindness to skip the poor comments about VBA and the virus threat then an updated edition of their book will be of interest. But I would consider spending the money on an updated edition of Andrew Whitechapel&#039;s book instead ;)&lt;/p&gt;
&lt;p&gt;Kind regards,&lt;br&gt;
Dennis&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Stephane,<br />
Thanks for Your good points.</p>
<p>&gt;&gt; So it may work well on your dev environment, but not on someone else&#8217;s machine, who knows?</p>
<p>This issue seems to be the most frequent issue on some forums I regular visit. Unfortunately it looks like there is a great number of a possible solution to it as well.</p>
<p>I agree that the obfuscation of managed code is another important aspect to bring up but we first need to understand .NET before moving to this kind of questions.</p>
<p>I downloaded yesterday Process Explorer (free utility) from Sysinternals that provide information about handles and DLLs (<a href="http://www.sysinternals.com/Utilities/ProcessExplorer.html" rel="nofollow">http://www.sysinternals.com/Utilities/ProcessExplorer.html</a>). </p>
<p>Simon,<br />
Thanks for Your kind comments <img src='http://www.dailydoseofexcel.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  </p>
<p>I think we all need to realize that .NET has to &#8216;faces&#8217;:<br />
- Good for the Web<br />
- Less good for the desktop</p>
<p>VB 6 is strong related to VBA and therefore it&#8217;s more accessible for the average Excel developer then what C++ and MFC is.</p>
<p>Mike,<br />
Thanks for Your kind comments <img src='http://www.dailydoseofexcel.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>If Carter &amp; Lippert will have the kindness to skip the poor comments about VBA and the virus threat then an updated edition of their book will be of interest. But I would consider spending the money on an updated edition of Andrew Whitechapel&#8217;s book instead <img src='http://www.dailydoseofexcel.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
<p>Kind regards,<br />
Dennis</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Simon Murphy</title>
		<link>http://www.dailydoseofexcel.com/archives/2006/08/24/creating-and-deploying-managed-com-add-ins-with-vbnet-2005-part-x/#comment-20731</link>
		<dc:creator>Simon Murphy</dc:creator>
		<pubDate>Thu, 24 Aug 2006 21:43:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.dailydoseofexcel.com/?p=1481#comment-20731</guid>
		<description>&lt;p&gt;Hi Dennis&lt;br&gt;
Great set of articles, thanks for taking the time and effort to share them with us all.&lt;br&gt;
Like you I like .net as a dev tool, and I use it for most server/web stuff, but also like you I struggle to justify it for desktop development.&lt;br&gt;
I think there is a hint in the name - its not called the .desktop development environment is it?&lt;br&gt;
Stephane also makes some good points, and I dont think Excel will ever be pure .net&lt;br&gt;
I think what .net gives in nice development experience it takes away in deployment misery.&lt;br&gt;
I would echo your advice about using VB6 for COM, and if you need a fully supported technology then consider C++ and MFC.&lt;br&gt;
cheers&lt;br&gt;
Simon&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Hi Dennis<br />
Great set of articles, thanks for taking the time and effort to share them with us all.<br />
Like you I like .net as a dev tool, and I use it for most server/web stuff, but also like you I struggle to justify it for desktop development.<br />
I think there is a hint in the name &#8211; its not called the .desktop development environment is it?<br />
Stephane also makes some good points, and I dont think Excel will ever be pure .net<br />
I think what .net gives in nice development experience it takes away in deployment misery.<br />
I would echo your advice about using VB6 for COM, and if you need a fully supported technology then consider C++ and MFC.<br />
cheers<br />
Simon</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Stephane Rodriguez</title>
		<link>http://www.dailydoseofexcel.com/archives/2006/08/24/creating-and-deploying-managed-com-add-ins-with-vbnet-2005-part-x/#comment-20730</link>
		<dc:creator>Stephane Rodriguez</dc:creator>
		<pubDate>Thu, 24 Aug 2006 20:39:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.dailydoseofexcel.com/?p=1481#comment-20730</guid>
		<description>&lt;p&gt;Another problem to address with the .NET interop layer is that Excel may load more than one add-ins. It&#039;s quite typical. And the version of the .NET run-time which your addin will run against will be of the first .NET add-in that gets loaded, not the one you compiled against, or bound to in the optional config file.&lt;/p&gt;
&lt;p&gt;So it may work well on your dev environment, but not on someone else&#039;s machine, who knows?&lt;/p&gt;
&lt;p&gt;Worse, it may work well on someone else&#039;s machine, and stop working overnight when the user installs another add-in, or updates his .NET run-time (servicing, ...)&lt;/p&gt;
&lt;p&gt;And that&#039;s describing the easy case where your add-in has no dependencies to dlls, i.e. no Dll hell.&lt;/p&gt;
&lt;p&gt;I don&#039;t think the situation is going to change anytime soon since there is no reason to believe Microsoft is going to rewrite to Excel in pure .NET anytime soon. If my adventure with BIFF12 proved something to me, it&#039;s that the old beast lives.&lt;/p&gt;
&lt;p&gt;As for using VSTO, there are plenty of versions out there already, and that makes the .NET run-time version bootstrap problem even more blatant. Question : are add-ins loaded before the VSTO run-time?&lt;/p&gt;
&lt;p&gt;Then you have the long startup time issue, the fusion binding issues, the partial trust environment issue (with COM interop, you&#039;re basically screwed), the assembly signing issue (500$ a year), the mandatory obfuscation (otherwise your code will be stolen), the CAS problems if you ported VB 6.0 code straight to VB.NET without furthing thinking. The list goes on and on.&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Another problem to address with the .NET interop layer is that Excel may load more than one add-ins. It&#8217;s quite typical. And the version of the .NET run-time which your addin will run against will be of the first .NET add-in that gets loaded, not the one you compiled against, or bound to in the optional config file.</p>
<p>So it may work well on your dev environment, but not on someone else&#8217;s machine, who knows?</p>
<p>Worse, it may work well on someone else&#8217;s machine, and stop working overnight when the user installs another add-in, or updates his .NET run-time (servicing, &#8230;)</p>
<p>And that&#8217;s describing the easy case where your add-in has no dependencies to dlls, i.e. no Dll hell.</p>
<p>I don&#8217;t think the situation is going to change anytime soon since there is no reason to believe Microsoft is going to rewrite to Excel in pure .NET anytime soon. If my adventure with BIFF12 proved something to me, it&#8217;s that the old beast lives.</p>
<p>As for using VSTO, there are plenty of versions out there already, and that makes the .NET run-time version bootstrap problem even more blatant. Question : are add-ins loaded before the VSTO run-time?</p>
<p>Then you have the long startup time issue, the fusion binding issues, the partial trust environment issue (with COM interop, you&#8217;re basically screwed), the assembly signing issue (500$ a year), the mandatory obfuscation (otherwise your code will be stolen), the CAS problems if you ported VB 6.0 code straight to VB.NET without furthing thinking. The list goes on and on.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mike Rosenblum</title>
		<link>http://www.dailydoseofexcel.com/archives/2006/08/24/creating-and-deploying-managed-com-add-ins-with-vbnet-2005-part-x/#comment-20727</link>
		<dc:creator>Mike Rosenblum</dc:creator>
		<pubDate>Thu, 24 Aug 2006 18:16:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.dailydoseofexcel.com/?p=1481#comment-20727</guid>
		<description>&lt;p&gt;Hey Dennis, a really very nice set of articles... And thanks for the (totally unnecessary) plug! :D&lt;/p&gt;
&lt;p&gt;That FAQ and the sub-forum I watch over is really about MS Office Automation via .NET, which is not *that* hard, certainly not when compared to the complexity that your articles have discussed in using .NET to create a Managed COM Add-in.&lt;/p&gt;
&lt;p&gt;I look forward to VSTO 3.0, hopefully a 3rd book by Carter &amp; Lippert, as well as printing and re-reading your set of articles a few times over...&lt;/p&gt;
&lt;p&gt;Thanks Dennis :),&lt;br&gt;
Mike&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Hey Dennis, a really very nice set of articles&#8230; And thanks for the (totally unnecessary) plug! <img src='http://www.dailydoseofexcel.com/wp-includes/images/smilies/icon_biggrin.gif' alt=':D' class='wp-smiley' /> </p>
<p>That FAQ and the sub-forum I watch over is really about MS Office Automation via .NET, which is not *that* hard, certainly not when compared to the complexity that your articles have discussed in using .NET to create a Managed COM Add-in.</p>
<p>I look forward to VSTO 3.0, hopefully a 3rd book by Carter &amp; Lippert, as well as printing and re-reading your set of articles a few times over&#8230;</p>
<p>Thanks Dennis <img src='http://www.dailydoseofexcel.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> ,<br />
Mike</p>
]]></content:encoded>
	</item>
</channel>
</rss>

