<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://blogs.msdn.com/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>votive, wix, vsip, and all things microsoft : Miscellanea</title><link>http://blogs.msdn.com/jrock/archive/tags/Miscellanea/default.aspx</link><description>Tags: Miscellanea</description><dc:language>en-US</dc:language><generator>CommunityServer 2.1 SP1 (Build: 61025.2)</generator><item><title>Just upgraded to Verizon FiOS from Comcast Blast</title><link>http://blogs.msdn.com/jrock/archive/2008/07/30/just-upgraded-to-verizon-fios-from-comcast-blast.aspx</link><pubDate>Wed, 30 Jul 2008 10:17:07 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8791130</guid><dc:creator>jrock</dc:creator><slash:comments>4</slash:comments><comments>http://blogs.msdn.com/jrock/comments/8791130.aspx</comments><wfw:commentRss>http://blogs.msdn.com/jrock/commentrss.aspx?PostID=8791130</wfw:commentRss><description>&lt;p&gt;I've been using Comcast PowerBoost (6Mbps download / 768 Kbs upload) for about a year and have been pretty happy with it. The speed was fine and the price was good at $33/month. (Although I had to keep calling to get them to lower the price after the promotional price kept expiring). Comcast recently upgraded my neighborhood to fiber optic and so the new Blast service was available. I called them up and they just flipped a switch internally to unlock the higher speeds. I was getting roughly 12.5 Mbs download and 3 Mbs upload. The advertised rate was supposed to be 16/2, but I never got more than about 12.5. The upload was faster than advertised, though.&lt;/p&gt;  &lt;p&gt;Well, Verizon also upgraded our neighborhood with fiber optic cabling, so I was also able to get their new FiOS service. It was cheaper for a faster rate especially since I already have my phone service with them, so I thought I'd give it a try. The installation went pretty smoothly, although it takes a while because they actually bring fiber optic cabling right to your house. It just worked, though, which is great. The speed is exactly what they're advertising - I'm getting just barely under 20Mbs download and 5.5Mbs upload (advertised was 20/5). Blazing fast and it's much faster than the Comcast Burst service.&lt;/p&gt;  &lt;p&gt;Here are my speed test results using Comcast Burst...&lt;/p&gt;  &lt;p&gt;&lt;a href="http://www.speedtest.net"&gt;&lt;img style="border-top-width: 0px; border-left-width: 0px; border-bottom-width: 0px; border-right-width: 0px" src="http://www.speedtest.net/result/302494580.png" /&gt;&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;And with Verizon FiOS...&lt;/p&gt;  &lt;p&gt;&lt;a href="http://www.speedtest.net"&gt;&lt;img style="border-top-width: 0px; border-left-width: 0px; border-bottom-width: 0px; border-right-width: 0px" src="http://www.speedtest.net/result/302499431.png" /&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=8791130" width="1" height="1"&gt;</description><category domain="http://blogs.msdn.com/jrock/archive/tags/Miscellanea/default.aspx">Miscellanea</category></item><item><title>How to escape a leading # within the C preprocessor</title><link>http://blogs.msdn.com/jrock/archive/2008/04/22/how-to-escape-a-leading-within-the-c-preprocessor.aspx</link><pubDate>Wed, 23 Apr 2008 00:33:06 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8417280</guid><dc:creator>jrock</dc:creator><slash:comments>2</slash:comments><comments>http://blogs.msdn.com/jrock/comments/8417280.aspx</comments><wfw:commentRss>http://blogs.msdn.com/jrock/commentrss.aspx?PostID=8417280</wfw:commentRss><description>&lt;p&gt;This is probably a no-brainer for most people, but for some reason I banged my head against the wall for about an hour trying to figure this one out.&lt;/p&gt;  &lt;h3&gt;Background&lt;/h3&gt;  &lt;p&gt;Oftentimes you have source files (or in our case aspx files) that contain common headers, footers, sections, etc. Instead of paying the runtime hit of dynamically including things within the page, we just use the C preprocessor to #define macros that get expanded at build time. For example, do you ever get sick of writing the &amp;lt;!DOCTYPE&amp;gt; at the top of the page or want to make sure that it's consistent across all of your pages? Well, it's easy to do if you use a C preprocessor macro:&lt;/p&gt; &lt;code&gt;#define XHTML_DOCTYPE_DECLARATION &amp;lt;!DOCTYPE html PUBLIC &amp;quot;-//W3C//DTD XHTML 1.0 Strict//EN&amp;quot; &amp;quot;http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd&amp;quot;&amp;gt; \    &lt;br /&gt;&amp;lt;html xmlns=&amp;quot;http://www.w3.org/1999/xhtml&amp;quot;&amp;gt;&lt;/code&gt;   &lt;p&gt;Then in your .aspx page simply do this:&lt;/p&gt; &lt;code&gt;XHTML_DOCTYPE_DECLARATION&lt;/code&gt;   &lt;p&gt;and voil&amp;#224;.&lt;/p&gt;  &lt;h3&gt;Problem&lt;/h3&gt;  &lt;p&gt;Well, what if you have something like this in your .aspx.pp page (we use a .pp extension to indicate that it's a C preprocessor file that will get renamed after the preprocessor runs):&lt;/p&gt;  &lt;p&gt;&lt;code&gt;&amp;lt;style type=&amp;quot;text/css&amp;quot;&amp;gt;      &lt;br /&gt;#element {       &lt;br /&gt;background-color: white;       &lt;br /&gt;}       &lt;br /&gt;&amp;lt;/style&amp;gt;       &lt;br /&gt;&lt;/code&gt;&lt;code&gt;&lt;/code&gt;&lt;/p&gt;  &lt;p&gt;The C preprocessor will barf at you and say something like the following:&lt;/p&gt;  &lt;p&gt;fatal error C1021: invalid preprocessor command 'element'&lt;/p&gt;  &lt;h3&gt;Solution&lt;/h3&gt;  &lt;p&gt;There are a couple different ways of fixing this, although I think the simplest way is to just define a macro that just passes through its argument, like this:&lt;/p&gt;  &lt;p&gt;&lt;code&gt;#define IGNORE_HASH(x) x&lt;/code&gt;&lt;/p&gt;  &lt;p&gt;Then you change the code to this:&lt;/p&gt;  &lt;p&gt;&lt;code&gt;&amp;lt;style type=&amp;quot;text/css&amp;quot;&amp;gt;      &lt;br /&gt;IGNORE_HASH(#element) {       &lt;br /&gt;background-color: white;       &lt;br /&gt;}       &lt;br /&gt;&amp;lt;/style&amp;gt;       &lt;br /&gt;&lt;/code&gt;&lt;/p&gt;  &lt;p&gt;Now the C preprocessor ignores the #element and everything works as expected.&lt;/p&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=8417280" width="1" height="1"&gt;</description><category domain="http://blogs.msdn.com/jrock/archive/tags/Miscellanea/default.aspx">Miscellanea</category></item><item><title>Hilarious video about what it's like to work here at Microsoft</title><link>http://blogs.msdn.com/jrock/archive/2008/02/13/hilarious-video-about-what-it-s-like-to-work-here-at-microsoft.aspx</link><pubDate>Thu, 14 Feb 2008 02:13:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:7682193</guid><dc:creator>jrock</dc:creator><slash:comments>0</slash:comments><comments>http://blogs.msdn.com/jrock/comments/7682193.aspx</comments><wfw:commentRss>http://blogs.msdn.com/jrock/commentrss.aspx?PostID=7682193</wfw:commentRss><description>&lt;P&gt;This is a pretty realistic video of what it's like to work here. :)&lt;/P&gt;
&lt;P&gt;&lt;A href="http://on10.net/blogs/tina/Life-At-Microsoft/"&gt;http://on10.net/blogs/tina/Life-At-Microsoft/&lt;/A&gt;&lt;/P&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=7682193" width="1" height="1"&gt;</description><category domain="http://blogs.msdn.com/jrock/archive/tags/Miscellanea/default.aspx">Miscellanea</category></item><item><title>SyncToy 1.4 and Vista 64-bit (x64) Error</title><link>http://blogs.msdn.com/jrock/archive/2007/09/19/synctoy-1-4-and-vista-64-bit-x64-error.aspx</link><pubDate>Thu, 20 Sep 2007 03:35:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:5003036</guid><dc:creator>jrock</dc:creator><slash:comments>4</slash:comments><comments>http://blogs.msdn.com/jrock/comments/5003036.aspx</comments><wfw:commentRss>http://blogs.msdn.com/jrock/commentrss.aspx?PostID=5003036</wfw:commentRss><description>&lt;P&gt;I use the extremely useful &lt;A class="" href="http://www.microsoft.com/windowsxp/using/digitalphotography/prophoto/synctoy.mspx" mce_href="http://www.microsoft.com/windowsxp/using/digitalphotography/prophoto/synctoy.mspx"&gt;SyncToy&lt;/A&gt; to mirror my data between various machines at home. However, it did not work on Vista x64. I found this very handy &lt;A class="" href="http://joshmouch.wordpress.com/2007/03/27/synctoy-14-and-vista-x64-error-fixed/" mce_href="http://joshmouch.wordpress.com/2007/03/27/synctoy-14-and-vista-x64-error-fixed/"&gt;blog post&lt;/A&gt; which tells you how to fix the problem. I didn't feel like installing &lt;A class="" href="http://www.microsoft.com/downloads/details.aspx?FamilyID=18b1d59d-f4d8-4213-8d17-2f6dde7d7aac&amp;amp;DisplayLang=en" mce_href="http://www.microsoft.com/downloads/details.aspx?FamilyID=18b1d59d-f4d8-4213-8d17-2f6dde7d7aac&amp;amp;DisplayLang=en"&gt;Windows Network Monitor 3.1&lt;/A&gt;, so I decompiled it using dark and extracted the needed file out of the msi. I'm attaching it here for anybody that's interested.&lt;/P&gt;
&lt;P&gt;Here's an example of the error that you'll see if you have the problem:&lt;/P&gt;
&lt;BLOCKQUOTE&gt;
&lt;P&gt;&lt;FONT size=1&gt;&lt;EM&gt;Problem signature: &lt;BR&gt;&amp;nbsp;&amp;nbsp;Problem Event Name: CLR20r3&lt;BR&gt;&amp;nbsp;&amp;nbsp;Problem Signature 01: synctoy.exe&lt;BR&gt;&amp;nbsp;&amp;nbsp;Problem Signature 02: 1.4.0.0&lt;BR&gt;&amp;nbsp;&amp;nbsp;Problem Signature 03: 453f990b&lt;BR&gt;&amp;nbsp;&amp;nbsp;Problem Signature 04: SqmManagedWrapper&lt;BR&gt;&amp;nbsp;&amp;nbsp;Problem Signature 05: 1.4.0.0&lt;BR&gt;&amp;nbsp;&amp;nbsp;Problem Signature 06: 453f9909&lt;BR&gt;&amp;nbsp;&amp;nbsp;Problem Signature 07: 8&lt;BR&gt;&amp;nbsp;&amp;nbsp;Problem Signature 08: 38&lt;BR&gt;&amp;nbsp;&amp;nbsp;Problem Signature 09: System.BadImageFormatException&lt;BR&gt;&amp;nbsp;&amp;nbsp;OS Version: 6.0.6000.2.0.0.256.1&lt;BR&gt;&amp;nbsp;&amp;nbsp;Locale ID: 1033&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;/EM&gt;&lt;/FONT&gt;
&lt;P mce_keep="true"&gt;Here's how to fix the problem:&amp;nbsp;&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;Rename custsat.dll in the installation directory for SyncToy (C:\Users\[YourLoginName]\AppData\Local\SyncToy\ by default) to custsat.dll.original so that you can restore the file if you want.&lt;/LI&gt;
&lt;LI&gt;
&lt;DIV mce_keep="true"&gt;Copy the custsat.dll file attached to this blog post to C:\Users\[YourLoginName]\AppData\Local\SyncToy\ (or wherever you installed&amp;nbsp;SyncToy). &lt;/DIV&gt;&lt;/LI&gt;&lt;/UL&gt;
&lt;P mce_keep="true"&gt;That's it. You should be good to go now. I need to log a bug on this for the SyncToy team if one hasn't been logged already.&lt;/P&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=5003036" width="1" height="1"&gt;</description><enclosure url="http://blogs.msdn.com/jrock/attachment/5003036.ashx" length="53248" type="application/octet-stream" /><category domain="http://blogs.msdn.com/jrock/archive/tags/Miscellanea/default.aspx">Miscellanea</category></item><item><title>Shahar has waaay too much time on his hands :)</title><link>http://blogs.msdn.com/jrock/archive/2007/08/22/shahar-has-waaay-too-much-time-on-his-hands.aspx</link><pubDate>Thu, 23 Aug 2007 01:58:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:4516466</guid><dc:creator>jrock</dc:creator><slash:comments>1</slash:comments><comments>http://blogs.msdn.com/jrock/comments/4516466.aspx</comments><wfw:commentRss>http://blogs.msdn.com/jrock/commentrss.aspx?PostID=4516466</wfw:commentRss><description>&lt;P&gt;Check out this blog post from Shahar, one of the devs I work with.&lt;/P&gt;
&lt;P&gt;&lt;A href="http://blogs.msdn.com/cumgranosalis/archive/2007/08/21/code-art-like-ascii-art-only-sucks-so-much-more-to-create.aspx"&gt;http://blogs.msdn.com/cumgranosalis/archive/2007/08/21/code-art-like-ascii-art-only-sucks-so-much-more-to-create.aspx&lt;/A&gt;&lt;/P&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=4516466" width="1" height="1"&gt;</description><category domain="http://blogs.msdn.com/jrock/archive/tags/Miscellanea/default.aspx">Miscellanea</category></item><item><title>Windows Vista RC2 has been released</title><link>http://blogs.msdn.com/jrock/archive/2006/10/07/Windows-Vista-RC2-has-been-released.aspx</link><pubDate>Sun, 08 Oct 2006 08:18:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:803294</guid><dc:creator>jrock</dc:creator><slash:comments>8</slash:comments><comments>http://blogs.msdn.com/jrock/comments/803294.aspx</comments><wfw:commentRss>http://blogs.msdn.com/jrock/commentrss.aspx?PostID=803294</wfw:commentRss><description>&lt;P&gt;I've been running RC1 for a little while now and I have been converted to Vista! It is very nice. RC2 has just been released and has some minor improvements and bug fixes. I'm downloading and installing it now. You can download it from &lt;A href="http://download.windowsvista.com/preview/rc2/en/download.htm"&gt;http://download.windowsvista.com/preview/rc2/en/download.htm&lt;/A&gt; if you're interested in being on the bleeding edge.&lt;/P&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=803294" width="1" height="1"&gt;</description><category domain="http://blogs.msdn.com/jrock/archive/tags/Miscellanea/default.aspx">Miscellanea</category></item><item><title>A nice little article about defensive programming</title><link>http://blogs.msdn.com/jrock/archive/2005/12/16/504908.aspx</link><pubDate>Sat, 17 Dec 2005 03:21:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:504908</guid><dc:creator>jrock</dc:creator><slash:comments>0</slash:comments><comments>http://blogs.msdn.com/jrock/comments/504908.aspx</comments><wfw:commentRss>http://blogs.msdn.com/jrock/commentrss.aspx?PostID=504908</wfw:commentRss><description>&lt;P&gt;&lt;FONT face=Verdana size=2&gt;&lt;A href="https://blogs.msdn.com:443/cumgranosalis/"&gt;Shahar Prish&lt;/A&gt;, one of my fellow teammates on the Excel Server (now called Excel Services by marketing) team has written a nice little article on defensive programming that I thought was pretty insightful. And no, I'm not Dev1, Dev2, or Dev3. :)&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://blogs.msdn.com:443/cumgranosalis/archive/2005/12/12/DefensiveProgramming1.aspx"&gt;&lt;FONT face=Verdana size=2&gt;http://blogs.msdn.com/cumgranosalis/archive/2005/12/12/DefensiveProgramming1.aspx&lt;/FONT&gt;&lt;/A&gt;&lt;/P&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=504908" width="1" height="1"&gt;</description><category domain="http://blogs.msdn.com/jrock/archive/tags/Miscellanea/default.aspx">Miscellanea</category></item><item><title>Introductions</title><link>http://blogs.msdn.com/jrock/archive/2005/07/28/444294.aspx</link><pubDate>Thu, 28 Jul 2005 11:18:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:444294</guid><dc:creator>jrock</dc:creator><slash:comments>0</slash:comments><comments>http://blogs.msdn.com/jrock/comments/444294.aspx</comments><wfw:commentRss>http://blogs.msdn.com/jrock/commentrss.aspx?PostID=444294</wfw:commentRss><description>&lt;P&gt;&lt;FONT face=Verdana size=2&gt;Well, I'm now a certified MSDN blogger. I've been meaning to do this for a long time, but just haven't gotten around to it.&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face=Verdana size=2&gt;First of all, let me give a little information about myself. I'm a developer at Microsoft working on the next version of &lt;A href="http://office.microsoft.com/en-us/FX010858001033.aspx"&gt;Excel&lt;/A&gt;. Let me just tell you that it will be sweet and probably the biggest release of &lt;A href="http://office.microsoft.com/"&gt;Office&lt;/A&gt; since Office 95. There are some&amp;nbsp;amazing features that will really&amp;nbsp;knock your socks&amp;nbsp;off.&amp;nbsp;This, of course,&amp;nbsp;is my personal opinion and not "official" Microsoft PR (just wanted to get that legal part out of the way), although I'm sure that Microsoft would certainly agree with me [:D].&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face=Verdana size=2&gt;When I manage to get a free minute (which is hard with two kids under the age of 5 and a third on the way), I've spent the last year and a half working on &lt;A href="http://sourceforge.net/projects/wix/"&gt;Votive&lt;/A&gt;, which is the Visual Studio 2003 package for &lt;A href="http://sourceforge.net/projects/wix/"&gt;WiX&lt;/A&gt;. In that time I've gotten to know pretty well the &lt;A href="http://www.vsipdev.com/downloads/"&gt;VSIP 2003 SDK&lt;/A&gt; and all of the seemingly endless interfaces that one must implement to even plug into Visual Studio. I thought it might be nice to share some of what I've learned in a series of blogs in case anybody else out there is planning on writing custom Visual Studio packages.&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face=Verdana size=2&gt;Also, I'd like&lt;FONT color=#000000&gt; to lay out the roadmap of where I see Votive going and what kinds of things people can help out with if they're interested in contributing to the project. So, there's more to come in the next few weeks. Hopefully it will be useful. If so, let me know so I'm enthused about continuing to write these blogs. If not, I guess that's good to know, too. [;)]&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face=Verdana size=2&gt;Anyway, check back later for more info. I think the Votive roadmap will be next.&lt;/FONT&gt;&lt;/P&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=444294" width="1" height="1"&gt;</description><category domain="http://blogs.msdn.com/jrock/archive/tags/Miscellanea/default.aspx">Miscellanea</category></item></channel></rss>