Archive for November 2004

 
 

Getting a directory tree recursively

using System;
using System.Collections;
using System.IO;
 
 
namespace Devintelligence.IO 
{ 
    public class IOUtils 
    { 
        private IOUtils() 
        { 
        } 
        public static string[] GetAllDirectories(string root) 
        { 
            ArrayList list = new ArrayList(); 
            Stack stack = new Stack(); 
            string[] folders = Directory.GetDirectories(root); 
            AddRange(folders, stack); 
            while (stack.Count > 0) 
            { 
                string path = (string)stack.Pop(); 
                list.Add(path); 
                folders = Directory.GetDirectories(path); 
                AddRange(folders, stack); 
            } 
            return (string[])list.ToArray(typeof(string)); 
        } 
        private static void AddRange(string[] elements, Stack stack) 
        { 
            foreach (string element in elements) 
            { 
                stack.Push(element); 
            } 
        } 
    } 
}

Free Remote Access Client for VSS

If you can’t wait for the next version of Visual SourceSafe - check SCCBridge.
SCCBridge: Free Remote Access Client for VSS
The following features are implemented in the current version:

  • web service
  • a bridge to SourceSafe database
  • client-side console application, which also can be used as a simple comandline building tool
  • client-side GUI application for visual manipulating of remote version control system
  • integration module for Visual Studio .NET 2003 (NEW!!!)


Page 4 of 41234