Geeks With Blogs

@tfanshteyn
  • tfanshteyn Awesome: tracert 216.81.59.173 about 567 days ago
  • tfanshteyn RT @AdviceMallards When searching plane tickets online, delete your cookies. Prices go up if you visit a site multiple times. about 572 days ago
  • tfanshteyn RT @unhealthytruth Junk food costs about $1.76 per 1,000 calories versus $18.16 per 1,000 calories for nutritious foods about 595 days ago
  • tfanshteyn RT @NYCSchools Just announced: School days lost due to #Sandy will be made up February 20-22 and June 4. about 650 days ago

An educated guess (Timur Fanshteyn) Technology, Software Development and other ways to make an educated guess about the world... Windows There are 6 entries for the tag Windows
1st Java annoyance
For the last month I've spent as much time writing Java code as C# code. And its definitely been a great learning experiences. Even though the core languages are very much alike, and you can usually find a function in .NET that corresponds to Java and the other way around, I've spent quite a bit of time yesterday trying something that should have been completely trivial. The Problem: having a Date variable loadDate that includes Date and Time, create two variables startDate and endDate where StartDate ......

Posted On Saturday, May 31, 2008 12:20 PM

SQL ROW_NUMBER() function and Audit tables
I had to search through an audit table to find times when the value changes in a specific field. Considering an audit table DateModified DateTime ID varchar() Quantity decimal Price decimal I wanted to find the rows when Quantity changed for the same ID. I've been able to accomplish that using the ROW_NUMBER function of SQL 2005 Here's the query: select Row_Number() OVER (PARTITION BY ID Order BY ID, DateModified) as RowID, DateModified, Quantity, ID INTO #TempData from AuditTable select a.ID, b.DateModified, ......

Posted On Thursday, April 10, 2008 6:16 AM

Windows Server 2008 will have an SP1 label
I came cross an interesting blog entry that said that Windows Server 2008 will have SP1 label already applied to it. Take a look at http://blogs.msdn.com/iainm... Now, how will this effect people's rule not to install a Microsoft server, until SP1 is released (or did the rule implement this version scheme due to that rule :) Technorati Tags: Microsoft, Windows, Server Cross-posted from http://blog.tfanshteyn.com/... ......

Posted On Saturday, February 16, 2008 10:28 PM

Fixing WCF/WPF VS 2005 Extensions installation after installing VS 2008 or .NET 3.0 SP1
I've encountered a problem trying fix the WCF / WPF Visual Studio 2005 Integration components after I've installed Visual Studio 2008. Installing a VS 2008 will install .NET 3.0 SP1 and remove the installation of .NET 3.0. When trying to install the WCF / WPF Extension, installation display's a message Setup has detected that a prerequisite is missing. To use Visual Studio 2005 extensions for .NET Framework 3.0 (WCF & WPF), November 2006 CTP you must have the .NET Framework 3.0 runtime installed. ......

Posted On Tuesday, January 8, 2008 8:25 AM

Subversion pre-revprop-change hook
Another small batch file hook for those running subversion on windows. This hook will allow users to update a log message on the old check-in. Note: Property changes are not versioned, so you will permanently loose the old message. Place this in a pre-revprop-change.cmd ------------- IF %5 EQU M GOTO CONT1 GOTO FAIL :CONT1 IF %4 EQU svn:log GOTO OK :FAIL echo "Changing revision properties other than svn:log is prohibited" >&2 exit 1 :OK exit 0 ------------ Technorati Tags: Subversion, ......

Posted On Wednesday, December 5, 2007 4:52 PM

Creating a ClickOnce Smart Client CAB Based (SCSF) application with Environment Overrides
My application is distributed via ClickOnce and a requirement is to be able to provide endpoint overrides for multiple environments. Here's what was done to create the solution Smart Client Software Factory includes a service called EndpointCatalog. It allow for easy management of endpoints with environment overrides. Start by adding a Microsoft.Practices.SmartCl... as a reference to Infrastructure.Module. Then open ModuleController class in and register the EndpointCatalog service. ......

Posted On Wednesday, December 5, 2007 2:27 PM

Copyright © Timur Fanshteyn | Powered by: GeeksWithBlogs.net | Join free