<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://billrob.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>Bill Robertson&amp;#39;s Blog : Microsoft</title><link>http://billrob.com/archive/tags/Microsoft/default.aspx</link><description>Tags: Microsoft</description><dc:language>en</dc:language><generator>CommunityServer 2007 SP1 (Build: 20510.895)</generator><item><title>Please fix Visual Studio F1 key press</title><link>http://billrob.com/archive/2007/02/11/please-fix-visual-studio-f1-key-press.aspx</link><pubDate>Sun, 11 Feb 2007 10:02:00 GMT</pubDate><guid isPermaLink="false">8b1d07c6-e0f0-4f83-95e2-70212e46c249:995</guid><dc:creator>Bill Robertson</dc:creator><slash:comments>0</slash:comments><description>&lt;p&gt;I just spent 2 minutes of my life waiting for my computer to respond and started this blog post before I could go back to work.&amp;nbsp; I hit F2 trying to rename a file in my solution, but studio quit responding.&amp;nbsp; I started getting more and more frustrated that studio died.&amp;nbsp; I had some unsaved files (yes my problem) and didn't want to lose them.&lt;/p&gt;
&lt;p&gt;The the screen flashed and "Initializing Help" came up.&amp;nbsp; Ah yes, the accidental F1 key press that locks studio down why the integrated help is activated.&amp;nbsp; OMG.&amp;nbsp; Google is a better "help" than studio has to offer.&amp;nbsp; I could reassign that keypress to something innocuous, but I've finally learned to live with the studio default keys.&amp;nbsp; It&amp;nbsp;makes it easier going to someone else's machine.&lt;/p&gt;
&lt;p&gt;I've been spending a lot of time lately writing javascript and would kill for an intellisense engine.&amp;nbsp; It's like programming back in my hobby days writing code in notepad...or actually VI because Linux had "gcc" built into the OS.&amp;nbsp; The Orcas Studio demos I've seen were impressive for javascript intellisense.&amp;nbsp; I hope Orcas solves the frozen-Studio-accidental-F1-keypress-malevolent-joke.&lt;/p&gt;&lt;img src="http://billrob.com/aggbug.aspx?PostID=995" width="1" height="1"&gt;</description><category domain="http://billrob.com/archive/tags/Technology/default.aspx">Technology</category><category domain="http://billrob.com/archive/tags/.NET/default.aspx">.NET</category><category domain="http://billrob.com/archive/tags/Microsoft/default.aspx">Microsoft</category><category domain="http://billrob.com/archive/tags/Rant/default.aspx">Rant</category></item><item><title>Sql 2005 Import Data From Excel Problem</title><link>http://billrob.com/archive/2007/01/05/sql-2005-import-data-from-excel-problem.aspx</link><pubDate>Fri, 05 Jan 2007 20:23:06 GMT</pubDate><guid isPermaLink="false">8b1d07c6-e0f0-4f83-95e2-70212e46c249:988</guid><dc:creator>Bill Robertson</dc:creator><slash:comments>8</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://billrob.com/rsscomments.aspx?PostID=988</wfw:commentRss><comments>http://billrob.com/archive/2007/01/05/sql-2005-import-data-from-excel-problem.aspx#comments</comments><description>&lt;p&gt;I'd always stayed away from the import wizard in Sql 2005 Management Studio.&amp;nbsp; One, because I really liked the importing functionality in Sql 2000; I could sail through it with little effort (or thought).&amp;nbsp; Two, I've changed jobs and&lt;em&gt;&amp;nbsp;&lt;/em&gt;don't have to import many excel files into Sql.&lt;/p&gt; &lt;p&gt;Finally, I pulled some production logs and they came in as an excel sheet.&amp;nbsp; I didn't want to work with 100MB excel file and try to find information in it so I wanted to import it into Sql so I could run queries on it.&amp;nbsp; I tried importing plain jane style into a table and received this error message"&lt;/p&gt; &lt;blockquote&gt; &lt;p&gt;There was an error with output column "pathandquery" (45) on output "Excel Source Output" (9).&amp;nbsp; The column status returned was: "Text was truncated or one of more characters had no match in the target code page."&lt;/p&gt;&lt;/blockquote&gt; &lt;p&gt;&lt;img style="border-right:0px;border-top:0px;border-left:0px;border-bottom:0px;" height="322" src="http://billrob.com/blogs/brobertson/WindowsLiveWriter/Sql2005ImportDataFromExcelProblem_C9C9/sql%20error%5B3%5D.jpg" width="542" border="0"&gt; &lt;/p&gt; &lt;p&gt;I tried changing the target destination table for all the columns to be ntext, but I still had the same error message to deal with.&amp;nbsp; I did some yahooing (hey, if google is a verb...) and came across this knowledge base article:&lt;/p&gt; &lt;p&gt;&lt;a href="http://support.microsoft.com/kb/281517/EN-US/"&gt;PRB: Transfer of Data from Jet 4.0LEDB Source Fails with Buffer Overflow Error&lt;/a&gt;&lt;/p&gt; &lt;p&gt;By default the Jet provider will only read the first 8 rows to set up its internal buffer for transferring data to sql.&amp;nbsp; The first 8 rows of my datasource were small, but some of the later rows have large amounts of text in the column.&amp;nbsp; When it reached those, the buffer blew chunks and was unable to recover.&amp;nbsp; I guess it beats an unhandled buffer overflow error that can be exploited, yah Microsoft.&lt;/p&gt; &lt;p&gt;You need to make a modification to the registry to change the behavior.&amp;nbsp; &lt;/p&gt; &lt;p&gt;&lt;b&gt;HKLM\SOFTWARE\Microsoft\Jet\4.0\Engines\Excel\TypeGuessRows&lt;/b&gt;&lt;/p&gt; &lt;p&gt;The default value is 8.&amp;nbsp; The KB article said the range of valid values is 0 to 16.&amp;nbsp; If you set it to zero, it will scan 16,384 rows, slowing down the import process.&amp;nbsp; I changed my value to 0; it was a little slower, but it worked.&lt;/p&gt; &lt;p&gt;Bill's sage coding advice: Slow and works is ALWAYS better than fast and broken.&lt;/p&gt;&lt;img src="http://billrob.com/aggbug.aspx?PostID=988" width="1" height="1"&gt;</description><category domain="http://billrob.com/archive/tags/Microsoft/default.aspx">Microsoft</category><category domain="http://billrob.com/archive/tags/Sql/default.aspx">Sql</category></item><item><title>Internet Explorer and the Backspace key</title><link>http://billrob.com/archive/2006/11/29/Internet-Explorer-and-the-Backspace-key.aspx</link><pubDate>Wed, 29 Nov 2006 21:57:00 GMT</pubDate><guid isPermaLink="false">8b1d07c6-e0f0-4f83-95e2-70212e46c249:910</guid><dc:creator>Bill Robertson</dc:creator><slash:comments>19</slash:comments><description>&lt;p&gt;I just lost 20 minutes worth of work because of a problem I've had with IE for the longest time.&amp;nbsp; I fully understand that some people use the backspace key as the back button when navigating the Internet, but I have never wanted to use it that way.&amp;nbsp; I've hit the backspace many, many, many times, but never, ever, ever wanted it to go "back".&lt;/p&gt;&lt;p&gt;I was filling out my Time card for last week (yes it was Due on Monday) and was half way through with it.&amp;nbsp; I clicked inside the hour box to change one of my tasks and hit backspace.&amp;nbsp; You can save me the lecture on only use delete; I use them both interchangeably.&amp;nbsp; I must not have clicked inside the textbox because when I hit backspace my browser flashed and it went back to the previous page.&lt;/p&gt;&lt;p&gt;I clicked forward, strange the forwardspace key doesn't move forward...oh wait, that moves you down the page.&amp;nbsp; That is another great and usable feature.&amp;nbsp; Scoff!&amp;nbsp; When the page reloaded from me hitting forward, all of my changes were lost.&amp;nbsp; I'm sure the web developers could do something to keep my changes when the page reloaded, but damn...I'm the dolt that left the page.&lt;/p&gt;&lt;p&gt;Please oh please IE team, enable as an option to TURN OFF the backspace as a back button &lt;strike&gt;bug&lt;/strike&gt; feature&amp;nbsp;with IE.&amp;nbsp; There is already a keyboard shortcut for moving back.&amp;nbsp; alt-&amp;gt;[left arrow].&amp;nbsp; At least that one makes sense because the inverse operation alt-&amp;gt;[right arrow] moves forward and not down the page...&lt;/p&gt;&lt;p&gt;[Update: Thanks for Bob's constructive criticism, I actually had to look at the keyboard to see what key my mental memory was pressing.] &lt;br&gt;&lt;/p&gt;&lt;img src="http://billrob.com/aggbug.aspx?PostID=910" width="1" height="1"&gt;</description><category domain="http://billrob.com/archive/tags/Microsoft/default.aspx">Microsoft</category><category domain="http://billrob.com/archive/tags/Internet+Explorer/default.aspx">Internet Explorer</category><category domain="http://billrob.com/archive/tags/Rant/default.aspx">Rant</category></item><item><title>Searching Outlook Emails</title><link>http://billrob.com/archive/2006/11/16/Searching-Outlook-Emails.aspx</link><pubDate>Thu, 16 Nov 2006 23:32:00 GMT</pubDate><guid isPermaLink="false">8b1d07c6-e0f0-4f83-95e2-70212e46c249:884</guid><dc:creator>Bill Robertson</dc:creator><slash:comments>2</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://billrob.com/rsscomments.aspx?PostID=884</wfw:commentRss><comments>http://billrob.com/archive/2006/11/16/Searching-Outlook-Emails.aspx#comments</comments><description>&lt;p&gt;Outlook has always crawled when searching for emails.&amp;nbsp; It probably would be faster to export mail to a .csv file, open it in notepad, and find what you are looking for then using the built in Search &lt;strike&gt;mistake&lt;/strike&gt; feature.&amp;nbsp; I came across Lookout.&amp;nbsp; It was an outlook plug-in that worked amazing well.&amp;nbsp; Search a year worth of emails in about a second, great!&lt;/p&gt;&lt;p&gt;Lookout was such a great tool and I have been using it for 3 years now, I went to their site to see if it was open source(ish) or had a plug in model.&amp;nbsp; One of the problems I have up at work is most of my older emails are sitting on a PST file on my computer.&amp;nbsp; When I am at home and need to jump on a production server, I go to my emails to look for the credentials.&lt;/p&gt;&lt;p&gt;However, I don&amp;#39;t have access to the emails.&amp;nbsp; I wanted to create a extension to Lookout so I could search from my home computer (using the fancy web services) and return a list of mail items to me so I could get the information from my PST.&amp;nbsp; Of course I google for the site because I know what it is called and clicked on the first item returned.&amp;nbsp; Next thing I know I&amp;#39;m looking at the &lt;a href="http://www.microsoft.com/windows/desktopsearch/default.mspx" target="_blank"&gt;Windows Desktop Search&lt;/a&gt; page.&lt;/p&gt;&lt;p&gt;Whoa, that&amp;#39;s horrible.&amp;nbsp; Finally I&amp;#39;ve experienced a case where Microsoft purchases a good piece of software and buries it.&amp;nbsp; I&amp;#39;ve heard the rumors of this happening where&amp;nbsp;highly useful software disappears into the Vault at Microsoft.&amp;nbsp; It appears Microsoft bought lookout so they could use them to integrate into the Desktop search.&lt;/p&gt;&lt;p&gt;Well, that isn&amp;#39;t going to work for me.&amp;nbsp; As all good computer geeks do, it is coming close to time for me to reinstall my machine.&amp;nbsp; That has been put on hold until I can find the Lookout plug in.&amp;nbsp; I&amp;#39;m not going to redo my machine and loose the ability to search emails.&amp;nbsp; Yes, that software is that good.&amp;nbsp; I&amp;#39;ll trade the slow boot up time for the impossibly slow Outlook searching.&lt;/p&gt;&lt;p&gt;I just want&amp;nbsp;simple software that will search my emails.&amp;nbsp; I don&amp;#39;t yet want a Microsoft worm crawling my machine indexing all my documents.&amp;nbsp; That day will probably come, but there is no need for it yet.&amp;nbsp; I just want to search emails.&amp;nbsp; &lt;/p&gt;&lt;p&gt;Xander up at work was kind enough to send me his old zip file for the install, but I found out that Outlook 2007 specifically prohibits Lookout from being installed on top of Outlook.&amp;nbsp; I have since saved it for posterity, so if anyone is looking for it, shoot me a message.&lt;/p&gt;&lt;p&gt;Bad Microsoft...if you are going to take away a feature, then you should at least offer a compatible replacement.&lt;/p&gt;&lt;img src="http://billrob.com/aggbug.aspx?PostID=884" width="1" height="1"&gt;</description><category domain="http://billrob.com/archive/tags/Technology/default.aspx">Technology</category><category domain="http://billrob.com/archive/tags/Microsoft/default.aspx">Microsoft</category></item></channel></rss>