public bool SetFilesPath(string strFilePath, bool bFirst, ref string strFilesPath) { string strReturnPath = BarcodeMode.LoadImage(strFilePath, SessionID); if (strReturnPath != "") { string strPath = BarcodeAccess.GetUploadFolder() + System.IO.Path.DirectorySeparatorChar + SessionID + System.IO.Path.DirectorySeparatorChar + strReturnPath; strPath = strPath.Replace("\\", "/"); if (bFirst) { strFilesPath = "Images/Upload/" + SessionID + "/" + strReturnPath; } else { strFilesPath = strFilesPath + ":Images/Upload/" + SessionID + "/" + strReturnPath; } return(true); } return(false); }