Showing results for September 2005 - Page 2 of 2 - Buck Hodges

Sep 11, 2005
0
0

How wide is a string when displayed in the console window?

Buck Hodges
Buck Hodges

Not too long ago, I had to fix the command line output for tf.exe, the Team Foundation Version Control command line app, so that output would be formatted properly for console windows (cmd.exe) using double-byte code pages.The code originally computed the output display width as the length of the string.  However, that's not correct when ...

C#
Sep 10, 2005
0
0

How TFS Version Control determines a file’s encoding

Buck Hodges
Buck Hodges

TFS Version Control will automatically detect a file's encoding based upon the following. The only exception to the foregoing is PDF files.  Those are always detected as binary because they are so common and can be all text in the first 1 kilobyte with binary streams later in the file.  The detection is based on the signature, "%PDF-",...

Team Foundation ServerSource Control
Sep 9, 2005
0
0

Team Foundation Version Control client API example

Buck Hodges
Buck Hodges

[Update 3/16/2006]  I have decided to remove this version to reduce confusion.  Please see http://blogs.msdn.com/buckh/archive/2006/03/15/552288.aspx for the RTM v1 example.

Team Foundation ServerSource ControlC#