string strprofile = (project.Directory + @"\system\profile\"+strForLoginArrUsr+".zpprofile"); if(File.Exists(strprofile)){ project.Profile.Load(strprofile); }