<?xml version="1.0" encoding="iso-8859-1"?><!-- Copy and paste the url into your newsreader application" -->
<rss version="2.0" 
  xmlns:dc="http://purl.org/dc/elements/1.1/"
  xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
  xmlns:admin="http://webns.net/mvcb/"
  xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#">
<channel>
	<title>About.com Visual Basic</title>
	<link>http://visualbasic.about.com/</link>
	<description>Get the latest headlines from the About.com Visual Basic GuideSite.</description>
	<image>
		<title>About.com</title>
		<url>http://clk.about.com/?zi=1/1hh</url> 
		<link>http://www.about.com/</link> 
		<width>118</width> 
		<height>20</height> 
	</image>
	<dc:language>en-us</dc:language>
	<dc:creator></dc:creator>
	<dc:date>2009-10-31T18:35:26Z</dc:date>
	<pubDate>Sat, 31 Oct 2009 18:35:26 +0000</pubDate>
	<admin:generatorAgent rdf:resource="" />
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<sy:updateBase>2000-01-01T12:00+00:00</sy:updateBase>
	
			<item>
			<title>It's Good to Share!</title>
			<link>http://visualbasic.about.com/b/2009/11/07/its-good-to-share.htm</link>
			<description>&lt;p&gt;&lt;strong&gt;VB.NET Shared and Instance Members&lt;br /&gt;
&lt;/strong&gt;Old programmer joke:&lt;br /&gt;
There are 10 kinds of programmers. Those who understand binary and those who don't.&lt;br /&gt;
There are also 10 kinds of Class members: Shared and Instance.&lt;br /&gt;
I was looking for information about this and I found my own article! It answered my questions! But it was a couple of years old so I updated and republished it. &lt;a href=&quot;http://clk.about.com/?zi=1/1hc&amp;#038;zu=http://visualbasic.about.com/od/learnvbnet/a/sharedinstance.htm&quot;&gt;Click here to see the result.&lt;/a&gt;&lt;/p&gt;&lt;p style="background:#f5f3ef;border: 1px solid #d5d0bf;padding:.5em;"&gt;&lt;a href="http://clk.about.com/?zi=1/1hc&amp;zu=http://visualbasic.about.com/b/2009/11/07/its-good-to-share.htm"&gt;It's Good to Share!&lt;/a&gt; originally appeared on &lt;a href="http://clk.about.com/?zi=1/1hc&amp;zu=http://visualbasic.about.com/"&gt;About.com Visual Basic&lt;/a&gt; on Saturday, November 7th, 2009 at 13:02:25.&lt;/p&gt;&lt;p&gt;&lt;a href="http://clk.about.com/?zi=1/1hc&amp;zu=http://visualbasic.about.com/b/2009/11/07/its-good-to-share.htm"&gt;Permalink&lt;/a&gt; | &lt;a href="http://clk.about.com/?zi=1/1hc&amp;zu=http://visualbasic.about.com/b/2009/11/07/its-good-to-share.htm#gB3"&gt;Comment&lt;/a&gt; | &lt;a href="http://visualbasic.about.com/gi/pages/shareurl.htm?PG=http://visualbasic.about.com/b/2009/11/07/its-good-to-share.htm&amp;zItl=It's Good to Share!"&gt;Email this&lt;/a&gt;&lt;/p&gt;</description>
			<guid isPermaLink="true">http://visualbasic.about.com/b/2009/11/07/its-good-to-share.htm</guid>
			<dc:subject></dc:subject>
			<pubDate>Sat, 07 Nov 2009 13:02:25 +0000</pubDate>
			<dc:date>2009-11-07T13:02:25Z</dc:date>

		</item>
			<item>
			<title>A Different Program</title>
			<link>http://visualbasic.about.com/b/2009/10/31/a-different-program.htm</link>
			<description>&lt;p&gt;In my &quot;other&quot; life, I'm a writer. I was recently thinking about books that have been bypassed by the march of time such as &lt;i&gt;1984&lt;/i&gt; and &lt;i&gt;2001: A Space Odyssey&lt;/i&gt;. When they were written, their dates were far into the future. Now, they're artifacts of history. The idea of using Visual Basic to write an &quot;eternal&quot; story that would always be current came to me, so I did it. In addition to the VB code, how do you like the story?&lt;/p&gt;
&lt;p&gt;If you're interested in calling Microsoft Word from VB.NET, both to display the updated text of the story and for date and time calculations, this program might be of interest to you. In addition, the interface is WPF (Windows Presentation Foundation) rather than Windows Forms based. It's also written using VB.NET 2008 Express Edition.&lt;/p&gt;
&lt;p&gt;&lt;a href=&quot;http://clk.about.com/?zi=1/1hc&amp;#038;zu=http://visualbasic.about.com/library/download/EternalStory.zip&quot;&gt;Read the &quot;Eternal Story&quot; here!&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;If you're more interested in the programming, &lt;a href=&quot;http://clk.about.com/?zi=1/1hc&amp;#038;zu=http://visualbasic.about.com/od/usingvbnet/a/wddtcalces.htm&quot;&gt;Click Here&lt;/a&gt; to see how the code works.&lt;/p&gt;
&lt;p style="background:#f5f3ef;border: 1px solid #d5d0bf;padding:.5em;"&gt;&lt;a href="http://clk.about.com/?zi=1/1hc&amp;zu=http://visualbasic.about.com/b/2009/10/31/a-different-program.htm"&gt;A Different Program&lt;/a&gt; originally appeared on &lt;a href="http://clk.about.com/?zi=1/1hc&amp;zu=http://visualbasic.about.com/"&gt;About.com Visual Basic&lt;/a&gt; on Saturday, October 31st, 2009 at 18:35:26.&lt;/p&gt;&lt;p&gt;&lt;a href="http://clk.about.com/?zi=1/1hc&amp;zu=http://visualbasic.about.com/b/2009/10/31/a-different-program.htm"&gt;Permalink&lt;/a&gt; | &lt;a href="http://clk.about.com/?zi=1/1hc&amp;zu=http://visualbasic.about.com/b/2009/10/31/a-different-program.htm#gB3"&gt;Comment&lt;/a&gt; | &lt;a href="http://visualbasic.about.com/gi/pages/shareurl.htm?PG=http://visualbasic.about.com/b/2009/10/31/a-different-program.htm&amp;zItl=A Different Program"&gt;Email this&lt;/a&gt;&lt;/p&gt;</description>
			<guid isPermaLink="true">http://visualbasic.about.com/b/2009/10/31/a-different-program.htm</guid>
			<dc:subject></dc:subject>
			<pubDate>Sat, 31 Oct 2009 18:35:26 +0000</pubDate>
			<dc:date>2009-10-31T18:35:26Z</dc:date>

		</item>
			<item>
			<title>Win7 and VB ... A Report from the Front Line</title>
			<link>http://visualbasic.about.com/b/2009/10/25/win7-and-vb-a-report-from-the-front-line.htm</link>
			<description>&lt;p&gt;Anybody above ground knows that Windows 7 is out now. &quot;SpiritualMadMan&quot; sent in this report from the field and I thought I'd share it ...&lt;/p&gt;

&lt;p&gt;I am running Windows 7 Ultimate 64 on an HP DV6609wm and I installed Visual Studio 6 and initially had problems.&lt;/p&gt;

&lt;p&gt;However, ignoring Microsoft's dire warnings of incompatibilities I plunged ahead.&lt;/p&gt;

&lt;p&gt;Yes, I had problems...&lt;/p&gt;

&lt;p&gt;But, the fix was extremely easy.&lt;/p&gt;

&lt;p&gt;Navigate through the Folders and Right-Click on the VB6 executable. Under Properties - Compatibility set options for all Users (Checkbox at Bottom) to WindowsXP SP3 Mode and Run as Administrator.&lt;/p&gt;

&lt;p&gt;Also, a Note about unsigned drivers... I had been Using FreeOTFE (On The Fly Encryption). However the Installation broke because the Encryption Drivers are all &quot;unsigned&quot;.&lt;/p&gt;

&lt;p&gt;However, installing VirtualPC allowed me to install FreeOTFE there and recover my Encrypted data. The ease with which I could transfer files between the Virtual Machine and the Win7 was also way much better than VirtualPC 2004.&lt;/p&gt;&lt;p style="background:#f5f3ef;border: 1px solid #d5d0bf;padding:.5em;"&gt;&lt;a href="http://clk.about.com/?zi=1/1hc&amp;zu=http://visualbasic.about.com/b/2009/10/25/win7-and-vb-a-report-from-the-front-line.htm"&gt;Win7 and VB ... A Report from the Front Line&lt;/a&gt; originally appeared on &lt;a href="http://clk.about.com/?zi=1/1hc&amp;zu=http://visualbasic.about.com/"&gt;About.com Visual Basic&lt;/a&gt; on Sunday, October 25th, 2009 at 21:10:52.&lt;/p&gt;&lt;p&gt;&lt;a href="http://clk.about.com/?zi=1/1hc&amp;zu=http://visualbasic.about.com/b/2009/10/25/win7-and-vb-a-report-from-the-front-line.htm"&gt;Permalink&lt;/a&gt; | &lt;a href="http://clk.about.com/?zi=1/1hc&amp;zu=http://visualbasic.about.com/b/2009/10/25/win7-and-vb-a-report-from-the-front-line.htm#gB3"&gt;Comment&lt;/a&gt; | &lt;a href="http://visualbasic.about.com/gi/pages/shareurl.htm?PG=http://visualbasic.about.com/b/2009/10/25/win7-and-vb-a-report-from-the-front-line.htm&amp;zItl=Win7 and VB ... A Report from the Front Line"&gt;Email this&lt;/a&gt;&lt;/p&gt;</description>
			<guid isPermaLink="true">http://visualbasic.about.com/b/2009/10/25/win7-and-vb-a-report-from-the-front-line.htm</guid>
			<dc:subject></dc:subject>
			<pubDate>Sun, 25 Oct 2009 21:10:52 +0000</pubDate>
			<dc:date>2009-10-25T21:10:52Z</dc:date>

		</item>
			<item>
			<title>What's a Programmer To Do?</title>
			<link>http://visualbasic.about.com/b/2009/10/24/whats-a-programmer-to-do.htm</link>
			<description>&lt;p&gt;A reader recently sent some emails asking about one of my articles, &lt;a href=&quot;http://clk.about.com/?zi=1/1hc&amp;#038;zu=http://visualbasic.about.com/od/usingvbnet/a/appsettings.htm&quot;&gt;Application Settings in VB.NET 2008&lt;/a&gt;. To answer the question, I read the article with fresh eyes and decided two things:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;It needs some work! (&lt;a href=&quot;http://clk.about.com/?zi=1/1hc&amp;#038;zu=http://visualbasic.about.com/od/usingvbnet/a/appsettings.htm&quot;&gt;Click here&lt;/a&gt; to read the new article.) Every writer should be forced to review his own work.&lt;/li&gt;
&lt;li&gt;Microsoft has some work to do in Applications Settings architecture too.&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;I've read everything I can find about it and it seems to me that it just doesn't do what they say it does. In fact, I can find half a dozen message threads in forums between Microsoft forum watchers (MSFW) and programmers with problems (PWP) that read something like this.&lt;/p&gt;
&lt;p&gt;PWP: This doesn't work.&lt;/p&gt;
&lt;p&gt;MSFW: Yes it does. Do this.&lt;/p&gt;
&lt;p&gt;PWP: No, it doesn't. I tried what you said and it doesn't work.&lt;/p&gt;
&lt;p&gt;MSFW: Do this and it works. &lt;/p&gt;
&lt;p&gt;&lt; ... End of thread - I assume PWP got tired of talking to a wall and went away. ... &gt;&lt;/p&gt;
&lt;p&gt;&lt;i&gt;Oooo&lt;/i&gt;! That's frustrating! Past experience reporting these kinds of problems through official channels to Microsoft has generally resulted in them saying something like, &quot;The software works as designed.&quot; (In other words, &quot;I've got a secret and I won't tell - I won't tell - I won't tell!&quot;)&lt;/p&gt;
&lt;p&gt;In an effort to at least not repeat the same error, I've rewritten the article to both clarify what I &lt;i&gt;do&lt;/i&gt; understand and clearly state what I &lt;i&gt;don't&lt;/i&gt; understand (and suspect that Microsoft needs to rework). Read the article and if you can explain something, let me know and I &lt;i&gt;will&lt;/i&gt; tell. And if you have experienced bugs trying to use application settings, let us know that too. There's a survey at the end of the article.&lt;/p&gt;
&lt;p&gt;&lt;a href=&quot;http://clk.about.com/?zi=1/1hc&amp;#038;zu=http://visualbasic.about.com/od/usingvbnet/a/appsettings.htm&quot;&gt;Read the new article!&lt;/a&gt;&lt;/p&gt;
&lt;p style="background:#f5f3ef;border: 1px solid #d5d0bf;padding:.5em;"&gt;&lt;a href="http://clk.about.com/?zi=1/1hc&amp;zu=http://visualbasic.about.com/b/2009/10/24/whats-a-programmer-to-do.htm"&gt;What's a Programmer To Do?&lt;/a&gt; originally appeared on &lt;a href="http://clk.about.com/?zi=1/1hc&amp;zu=http://visualbasic.about.com/"&gt;About.com Visual Basic&lt;/a&gt; on Saturday, October 24th, 2009 at 20:31:20.&lt;/p&gt;&lt;p&gt;&lt;a href="http://clk.about.com/?zi=1/1hc&amp;zu=http://visualbasic.about.com/b/2009/10/24/whats-a-programmer-to-do.htm"&gt;Permalink&lt;/a&gt; | &lt;a href="http://clk.about.com/?zi=1/1hc&amp;zu=http://visualbasic.about.com/b/2009/10/24/whats-a-programmer-to-do.htm#gB3"&gt;Comment&lt;/a&gt; | &lt;a href="http://visualbasic.about.com/gi/pages/shareurl.htm?PG=http://visualbasic.about.com/b/2009/10/24/whats-a-programmer-to-do.htm&amp;zItl=What's a Programmer To Do?"&gt;Email this&lt;/a&gt;&lt;/p&gt;</description>
			<guid isPermaLink="true">http://visualbasic.about.com/b/2009/10/24/whats-a-programmer-to-do.htm</guid>
			<dc:subject></dc:subject>
			<pubDate>Sat, 24 Oct 2009 20:31:20 +0000</pubDate>
			<dc:date>2009-10-24T20:31:20Z</dc:date>

		</item>
			<item>
			<title>LINQ Queries - An Example Driven Introduction</title>
			<link>http://visualbasic.about.com/b/2009/10/16/linq-queries-an-example-driven-introduction.htm</link>
			<description>&lt;p&gt;LINQ - Language Integrated Query - is the reason a whole host of new technolgies were introduced in VB.NET 2008. For example, Lamda expressions and partial methods. Another technology that was introduced with LINQ is the LINQ query ... a faster and more direct way to write LINQ query expressions. &lt;a href=&quot;http://clk.about.com/?zi=1/1hc&amp;#038;zu=http://visualbasic.about.com/od/usingvbnet/a/linqquery.htm&quot;&gt;This article explains it&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;It would also be interesting to find out whether you find the &quot;traditional&quot; dot notation (object.method) or the new SQL-style query in LINQ easier to understand and use. Add your response at the end of the article.&lt;/p&gt;
&lt;p style="background:#f5f3ef;border: 1px solid #d5d0bf;padding:.5em;"&gt;&lt;a href="http://clk.about.com/?zi=1/1hc&amp;zu=http://visualbasic.about.com/b/2009/10/16/linq-queries-an-example-driven-introduction.htm"&gt;LINQ Queries - An Example Driven Introduction&lt;/a&gt; originally appeared on &lt;a href="http://clk.about.com/?zi=1/1hc&amp;zu=http://visualbasic.about.com/"&gt;About.com Visual Basic&lt;/a&gt; on Friday, October 16th, 2009 at 14:39:19.&lt;/p&gt;&lt;p&gt;&lt;a href="http://clk.about.com/?zi=1/1hc&amp;zu=http://visualbasic.about.com/b/2009/10/16/linq-queries-an-example-driven-introduction.htm"&gt;Permalink&lt;/a&gt; | &lt;a href="http://clk.about.com/?zi=1/1hc&amp;zu=http://visualbasic.about.com/b/2009/10/16/linq-queries-an-example-driven-introduction.htm#gB3"&gt;Comment&lt;/a&gt; | &lt;a href="http://visualbasic.about.com/gi/pages/shareurl.htm?PG=http://visualbasic.about.com/b/2009/10/16/linq-queries-an-example-driven-introduction.htm&amp;zItl=LINQ Queries - An Example Driven Introduction"&gt;Email this&lt;/a&gt;&lt;/p&gt;</description>
			<guid isPermaLink="true">http://visualbasic.about.com/b/2009/10/16/linq-queries-an-example-driven-introduction.htm</guid>
			<dc:subject></dc:subject>
			<pubDate>Fri, 16 Oct 2009 14:39:19 +0000</pubDate>
			<dc:date>2009-10-16T14:39:19Z</dc:date>

		</item>
			<item>
			<title>VBA to Shade an Excel Spreadsheet Cell</title>
			<link>http://visualbasic.about.com/b/2009/10/07/vba-to-shade-an-excel-spreadsheet-cell.htm</link>
			<description>&lt;p&gt;A reader in the forum asked how to shade a spreadsheet cell. The answer involved three techniques that could be useful in a lot of other cases, so I wrote a Quick Tip to explain what they are:&lt;br /&gt;&lt;a href=&quot;http://clk.about.com/?zi=1/1hc&amp;#038;zu=http://visualbasic.about.com/od/quicktips/qt/ExVBAChgBk.htm&quot;&gt;Use a VBA Macro To Change the Background of a Cell&lt;/a&gt;.&lt;/p&gt;
&lt;p style="background:#f5f3ef;border: 1px solid #d5d0bf;padding:.5em;"&gt;&lt;a href="http://clk.about.com/?zi=1/1hc&amp;zu=http://visualbasic.about.com/b/2009/10/07/vba-to-shade-an-excel-spreadsheet-cell.htm"&gt;VBA to Shade an Excel Spreadsheet Cell&lt;/a&gt; originally appeared on &lt;a href="http://clk.about.com/?zi=1/1hc&amp;zu=http://visualbasic.about.com/"&gt;About.com Visual Basic&lt;/a&gt; on Wednesday, October 7th, 2009 at 19:48:21.&lt;/p&gt;&lt;p&gt;&lt;a href="http://clk.about.com/?zi=1/1hc&amp;zu=http://visualbasic.about.com/b/2009/10/07/vba-to-shade-an-excel-spreadsheet-cell.htm"&gt;Permalink&lt;/a&gt; | &lt;a href="http://clk.about.com/?zi=1/1hc&amp;zu=http://visualbasic.about.com/b/2009/10/07/vba-to-shade-an-excel-spreadsheet-cell.htm#gB3"&gt;Comment&lt;/a&gt; | &lt;a href="http://visualbasic.about.com/gi/pages/shareurl.htm?PG=http://visualbasic.about.com/b/2009/10/07/vba-to-shade-an-excel-spreadsheet-cell.htm&amp;zItl=VBA to Shade an Excel Spreadsheet Cell"&gt;Email this&lt;/a&gt;&lt;/p&gt;</description>
			<guid isPermaLink="true">http://visualbasic.about.com/b/2009/10/07/vba-to-shade-an-excel-spreadsheet-cell.htm</guid>
			<dc:subject></dc:subject>
			<pubDate>Wed, 07 Oct 2009 19:48:21 +0000</pubDate>
			<dc:date>2009-10-07T19:48:21Z</dc:date>

		</item>
			<item>
			<title>What's the difference between a control and a component?</title>
			<link>http://visualbasic.about.com/b/2009/10/03/whats-the-difference-between-a-control-and-a-component.htm</link>
			<description>&lt;p&gt;These two terms are often used interchangeably in articles that you might see. Here's an example from Wikipedia:&lt;/p&gt;

&lt;p&gt;&lt;em&gt;&quot;ASP.NET supports creating reusable components through the creation of User controls.&quot;&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;Which is it? A control or a component. I can't tell.&lt;/p&gt;

&lt;p&gt;Here's my definition. A &quot;component&quot; is a generic term that means just what the dictionary says it means: &quot;a part of something&quot;. It doesn't really have a technical definition. A &quot;control&quot;, however, is a specific thing, but most sites define it the way it was in VB6, that is an &quot;ActiveX Control&quot;. VB.NET can use those controls by wrapping them in managed code (ActiveX Controls are called &quot;COM &lt;i&gt;Components&lt;/i&gt;&quot; in the Visual Studio tooltip displayed for them.), but VB.NET also has controls that are .NET managed classes. VB.NET is a little more consistent in that &lt;i&gt;usually&lt;/i&gt; when something is called a &quot;component&quot; it means that it doesn't have a user interface. Everything in the Components tab (like Timer) is only visible at the bottom of the design window in Visual Studio (an area called the &quot;component tray&quot;).&lt;/p&gt;&lt;p style="background:#f5f3ef;border: 1px solid #d5d0bf;padding:.5em;"&gt;&lt;a href="http://clk.about.com/?zi=1/1hc&amp;zu=http://visualbasic.about.com/b/2009/10/03/whats-the-difference-between-a-control-and-a-component.htm"&gt;What's the difference between a control and a component?&lt;/a&gt; originally appeared on &lt;a href="http://clk.about.com/?zi=1/1hc&amp;zu=http://visualbasic.about.com/"&gt;About.com Visual Basic&lt;/a&gt; on Saturday, October 3rd, 2009 at 20:23:48.&lt;/p&gt;&lt;p&gt;&lt;a href="http://clk.about.com/?zi=1/1hc&amp;zu=http://visualbasic.about.com/b/2009/10/03/whats-the-difference-between-a-control-and-a-component.htm"&gt;Permalink&lt;/a&gt; | &lt;a href="http://clk.about.com/?zi=1/1hc&amp;zu=http://visualbasic.about.com/b/2009/10/03/whats-the-difference-between-a-control-and-a-component.htm#gB3"&gt;Comment&lt;/a&gt; | &lt;a href="http://visualbasic.about.com/gi/pages/shareurl.htm?PG=http://visualbasic.about.com/b/2009/10/03/whats-the-difference-between-a-control-and-a-component.htm&amp;zItl=What's the difference between a control and a component?"&gt;Email this&lt;/a&gt;&lt;/p&gt;</description>
			<guid isPermaLink="true">http://visualbasic.about.com/b/2009/10/03/whats-the-difference-between-a-control-and-a-component.htm</guid>
			<dc:subject></dc:subject>
			<pubDate>Sat, 03 Oct 2009 20:23:48 +0000</pubDate>
			<dc:date>2009-10-03T20:23:48Z</dc:date>

		</item>
			<item>
			<title>Graphics Fixed in Office VBA Article</title>
			<link>http://visualbasic.about.com/b/2009/09/30/graphics-fixed-in-office-vba-article.htm</link>
			<description>The illustrations in the recent article &quot;&lt;a href=&quot;http://clk.about.com/?zi=1/1hc&amp;#038;zu=http://visualbasic.about.com/od/learnofficevbnet/a/office2007vba.htm&quot;&gt;Using VBA in Office 2007&lt;/a&gt;&quot; were all broken due to a systems error. I'm happy to report that it's fixed now. Apologies for the error!&lt;p style="background:#f5f3ef;border: 1px solid #d5d0bf;padding:.5em;"&gt;&lt;a href="http://clk.about.com/?zi=1/1hc&amp;zu=http://visualbasic.about.com/b/2009/09/30/graphics-fixed-in-office-vba-article.htm"&gt;Graphics Fixed in Office VBA Article&lt;/a&gt; originally appeared on &lt;a href="http://clk.about.com/?zi=1/1hc&amp;zu=http://visualbasic.about.com/"&gt;About.com Visual Basic&lt;/a&gt; on Wednesday, September 30th, 2009 at 23:38:14.&lt;/p&gt;&lt;p&gt;&lt;a href="http://clk.about.com/?zi=1/1hc&amp;zu=http://visualbasic.about.com/b/2009/09/30/graphics-fixed-in-office-vba-article.htm"&gt;Permalink&lt;/a&gt; | &lt;a href="http://clk.about.com/?zi=1/1hc&amp;zu=http://visualbasic.about.com/b/2009/09/30/graphics-fixed-in-office-vba-article.htm#gB3"&gt;Comment&lt;/a&gt; | &lt;a href="http://visualbasic.about.com/gi/pages/shareurl.htm?PG=http://visualbasic.about.com/b/2009/09/30/graphics-fixed-in-office-vba-article.htm&amp;zItl=Graphics Fixed in Office VBA Article"&gt;Email this&lt;/a&gt;&lt;/p&gt;</description>
			<guid isPermaLink="true">http://visualbasic.about.com/b/2009/09/30/graphics-fixed-in-office-vba-article.htm</guid>
			<dc:subject></dc:subject>
			<pubDate>Wed, 30 Sep 2009 23:38:14 +0000</pubDate>
			<dc:date>2009-09-30T23:38:14Z</dc:date>

		</item>
			<item>
			<title>Visual Basic and Office - An Update</title>
			<link>http://visualbasic.about.com/b/2009/09/26/visual-basic-and-office-an-update.htm</link>
			<description>&lt;p&gt;I've been tracking one of the mistakes that I think Microsoft is making with their VSTO product line for years now. You can check out the blog I wrote about it a year and a half ago &lt;a href=&quot;http://clk.about.com/?zi=1/1hc&amp;#038;zu=http://visualbasic.about.com/b/2008/05/10/microsoft-are-you-trying-to-make-vsto-fail.htm&quot;&gt;right here&lt;/a&gt;. Microsoft has repeatedly assured customers that VBA will be in the next version of Office: Office 14. But the big question is, &quot;Will VSTO be there too?&quot; I'm guessing that it will and I'll &lt;i&gt;finally&lt;/i&gt; be able to retire the gripe against Microsoft in my previous blog.&lt;/p&gt;
&lt;p&gt;As a counterpoint that illustrates what Microsoft &lt;i&gt;should&lt;/i&gt; be doing, here's an announcement that was made by one of the biggest companies using VBA in their own products: AutoDesk.&lt;/p&gt;
&lt;p&gt;&quot;We will continue to support VBA now and into the foreseeable future in the AutoCAD product line. We are putting together a transition plan to .NET and VSTA and expect to support VBA until our research shows most customers have migrated their code (which could take years.)&quot;&lt;br /&gt;--Eric Stover, Autodesk.&lt;/p&gt;
&lt;p&gt;Now, that's a company that understands their customer &lt;i&gt;investment&lt;/i&gt; in VBA!&lt;/p&gt;
&lt;p&gt;In the latest version of Microsoft InfoPath - a new product to manage forms and information for a large office environment that is considered to be part of the Office family these days - they finally broke the mold. InfoPath uses, not VSTO (Visual Studio Tools for Office), but VSTA (Visual Studio Tools for Applications). VSTA is actually a superset of VSTO and it's the product that Microsoft is now encouraging other companies to include in their software products. And InfoPath &lt;em&gt;does not&lt;/em&gt; include VBA as we know it.&lt;/p&gt;
&lt;p&gt;For those of us who prefer the productivity and transparent syntax of Visual Basic, VSTA ends the monopoly we've had on Office programming for so long. Any .NET language can be used with VSTA. Ah well ... Microsoft has also announced that their direction is to grow VB and C# closer together over time.&lt;/p&gt;
&lt;p&gt;VSTA can be thought of as a mature product these days since it was announced (but not shipped) with Visual Studio 2005. The 2.0 version was released in May of this year. One of the changes in VSTA is something I've been writing about here for quite a while: WPF. WPF is the replacement for Windows Forms going forward. Version 2.0 of VSTA puts the nails in the coffin for Windows Forms in Office.&lt;/p&gt;
&lt;p&gt;A top priority for VSTA has been a more graceful migration from VBA to VSTA than we got from VB6 to VB.NET. VSTA has the ability to manage both COM and .NET code. Expect VSTO (if they still keep using that acronym) to allow you to use your running VBA code inside the VSTA environment rather than converting it. AutoDesk has announced that AutoCad 2010 will provide this feature. But ArtinSoft, the company that created the Upgrade Companion for VB6 to VB.NET migration, is already selling migration technology for converting VBA to VSTA if you choose to go that direction.&lt;/p&gt;
&lt;p&gt;(Note ... For those of you who receive the About Visual Basic newsletter, a system error prevented the illustrations from uploading correctly to the About.com servers. We're working on it and expect to get the problem corrected soon.)&lt;/p&gt;
&lt;p style="background:#f5f3ef;border: 1px solid #d5d0bf;padding:.5em;"&gt;&lt;a href="http://clk.about.com/?zi=1/1hc&amp;zu=http://visualbasic.about.com/b/2009/09/26/visual-basic-and-office-an-update.htm"&gt;Visual Basic and Office - An Update&lt;/a&gt; originally appeared on &lt;a href="http://clk.about.com/?zi=1/1hc&amp;zu=http://visualbasic.about.com/"&gt;About.com Visual Basic&lt;/a&gt; on Saturday, September 26th, 2009 at 23:17:57.&lt;/p&gt;&lt;p&gt;&lt;a href="http://clk.about.com/?zi=1/1hc&amp;zu=http://visualbasic.about.com/b/2009/09/26/visual-basic-and-office-an-update.htm"&gt;Permalink&lt;/a&gt; | &lt;a href="http://clk.about.com/?zi=1/1hc&amp;zu=http://visualbasic.about.com/b/2009/09/26/visual-basic-and-office-an-update.htm#gB3"&gt;Comment&lt;/a&gt; | &lt;a href="http://visualbasic.about.com/gi/pages/shareurl.htm?PG=http://visualbasic.about.com/b/2009/09/26/visual-basic-and-office-an-update.htm&amp;zItl=Visual Basic and Office - An Update"&gt;Email this&lt;/a&gt;&lt;/p&gt;</description>
			<guid isPermaLink="true">http://visualbasic.about.com/b/2009/09/26/visual-basic-and-office-an-update.htm</guid>
			<dc:subject></dc:subject>
			<pubDate>Sat, 26 Sep 2009 23:17:57 +0000</pubDate>
			<dc:date>2009-09-26T23:17:57Z</dc:date>

		</item>
			<item>
			<title>The Magic Incantation for Extension Methods</title>
			<link>http://visualbasic.about.com/b/2009/09/19/the-magic-incantation-for-extension-methods.htm</link>
			<description>&lt;p&gt;&lt;strong&gt;You won't find it in Microsoft's documentation!&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;(Sanity Warning! Extension methods aren't explained in this blog. For that, you have to wait for the main article now in progress.)&lt;/p&gt;

&lt;p&gt; All of Microsoft's documentation ... and the documentation in other sources as well ... are careful to point out that an extension method has to be in a Module, not a Class. And you have to Import the namespace for the method in the consuming project. Those details are important, because they're things you wouldn't know otherwise and you might beat your head against a wall for a long time wondering why your code doesn't work if you didn't know.&lt;/p&gt;

&lt;p&gt;But the natural way to use something like extension methods is as part of an object library that somebody else has coded. You add a reference for the namespace to your project and you're good to go.&lt;/p&gt;

&lt;p&gt;Or are you?&lt;/p&gt;

&lt;p&gt;There is no such thing as a &quot;Module Library&quot; ... .NET only provides &quot;Class Libraries&quot;. You can include a Module in a Class Library and build a .DLL (using the examples found in books and on MSDN) and then add a Reference to that .DLL into your project. &lt;em&gt;But it still doesn't work!&lt;/em&gt; You get a &quot;not found&quot; error message when you reference the extension method in your code. &lt;em&gt;Arrggghhhh!&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;To make it work, you have to hold your left ear, sing &quot;Oh Susanna&quot; in the key of G and hop around on one foot while you're typing the code.&lt;/p&gt;

&lt;p&gt;Seriously, the Module &lt;em&gt;and&lt;/em&gt; the method both have to be declared as Public or it won't work.&lt;/p&gt;

&lt;p&gt;Not a big thing, but I faunched around with that for more than a few minutes before I discovered it. After you figure it out, there is a sort of logic. But on the other hand, you don't have to use the &quot;Me&quot; qualifier in the method parameter while C# &lt;em&gt;does&lt;/em&gt; require the &quot;this&quot; qualifier (C# syntax for &quot;Me&quot;) preceding the method in their syntax. Consistency is such a wonderful thing. Rare, but wonderful nonetheless.&lt;/p&gt;

&lt;p&gt;When Microsoft marketing types talk about this sort of thing, they describe it as &quot;a rich, robust development environment&quot;. I call it &quot;confusing&quot;.&lt;/p&gt;&lt;p style="background:#f5f3ef;border: 1px solid #d5d0bf;padding:.5em;"&gt;&lt;a href="http://clk.about.com/?zi=1/1hc&amp;zu=http://visualbasic.about.com/b/2009/09/19/the-magic-incantation-for-extension-methods.htm"&gt;The Magic Incantation for Extension Methods&lt;/a&gt; originally appeared on &lt;a href="http://clk.about.com/?zi=1/1hc&amp;zu=http://visualbasic.about.com/"&gt;About.com Visual Basic&lt;/a&gt; on Saturday, September 19th, 2009 at 11:41:29.&lt;/p&gt;&lt;p&gt;&lt;a href="http://clk.about.com/?zi=1/1hc&amp;zu=http://visualbasic.about.com/b/2009/09/19/the-magic-incantation-for-extension-methods.htm"&gt;Permalink&lt;/a&gt; | &lt;a href="http://clk.about.com/?zi=1/1hc&amp;zu=http://visualbasic.about.com/b/2009/09/19/the-magic-incantation-for-extension-methods.htm#gB3"&gt;Comment&lt;/a&gt; | &lt;a href="http://visualbasic.about.com/gi/pages/shareurl.htm?PG=http://visualbasic.about.com/b/2009/09/19/the-magic-incantation-for-extension-methods.htm&amp;zItl=The Magic Incantation for Extension Methods"&gt;Email this&lt;/a&gt;&lt;/p&gt;</description>
			<guid isPermaLink="true">http://visualbasic.about.com/b/2009/09/19/the-magic-incantation-for-extension-methods.htm</guid>
			<dc:subject></dc:subject>
			<pubDate>Sat, 19 Sep 2009 11:41:29 +0000</pubDate>
			<dc:date>2009-09-19T11:41:29Z</dc:date>

		</item>
	</channel>

</rss>
