Inheritance: System.Web.Services.Protocols.SoapHttpClientProtocol
		public MainForm()
		{
			//
			// Required for Windows Form Designer support
			//
			InitializeComponent();

            m_docSvc = ServiceManager.GetDocumentService();

            string defaultConfigFile = System.IO.Path.GetDirectoryName(Application.ExecutablePath)+ "\\VaultFolderCreate.xml";
            if (System.IO.File.Exists(defaultConfigFile))
            {
                LoadConfigurationFile(defaultConfigFile);
            }

			
		}
 private int CreateFolder(DocumentService docSrv, string folderpath)
 {
     String[] foldernames;
     char[] delimiterChars = { '/' };
     foldernames = folderpath.Split('/');
     String thisPath = "";
     Folder filefolder;
     Folder thisfolder;
     thisfolder = docSrv.GetFolderRoot();
     foreach (String foldername in foldernames)
     {
         if (foldername == "$")
         {
             thisfolder = docSrv.GetFolderRoot();
             thisPath = "$";
         }
         else
         {
             thisPath += "/";
             thisPath += foldername;
             try
             {
                 filefolder = docSrv.GetFolderByPath(thisPath);
             }
             catch
             {
                 //Console.WriteLine("Creating folder " + thisPath);
                 filefolder = docSrv.AddFolder(foldername, thisfolder.Id, thisfolder.IsLib);
             }
             thisfolder = filefolder;
         }
     }
     return 0;
 }