View Issue Details

IDProjectCategoryView StatusLast Update
0003109FSiMX6F3Spublic2016-12-06 15:59
Reporterderksen Assigned To 
PrioritynormalSeverityminorReproducibilityalways
Status resolvedResolutionfixed 
Product VersionV2.10 
Target VersionV2.30Fixed in VersionV2.20 
Summary0003109: Improve file search
DescriptionSearch string like "\dir\*filena*" to match against the names of files doesn't work.
Additional InformationC# example from company perdum:
...
public const string SAVEPATHPARFILES = @"\FFSDISK\Perdum\Parameters";
private const string PATH_PARAMETERS_INTERN = @"\FFSDISK\Perdum\ParameterFile\";
private const string FILENAME_PARAMETERS_INTERN = "parameters.par";
private const string FILENAME_PARAMETERS_BAK = "parameters.bak";
...
public bool DeleteParFiles()
{
  bool retVal = false;
  try
  {
    if (Directory.Exists(SavePath))
    {
      string[] files = Directory.GetFiles(SavePath, "*PARAM*");
      int filesCount = files.Count();

      for (int i = 0; i < filesCount; i++)
       try
       {
         File.Delete(files[i]);
       }
       catch (Exception ex)
       {
       }
    }
    retVal = true;
  }
  catch (Exception ex)
  {
  }
  return retVal;
}

private void OpslaanInternMouseDown(object sender, EventArgs e)
{
   string filename = "\\FFSDISK\\Perdum\\ParameterFile\\";
   if (ExportParFile(PATH_PARAMETERS_INTERN + FILENAME_PARAMETERS_INTERN))
   {
     DeleteParFiles();
     if (File.Exists(PATH_PARAMETERS_INTERN + FILENAME_PARAMETERS_BAK))
       File.Delete(PATH_PARAMETERS_INTERN + FILENAME_PARAMETERS_BAK);
   }
}

Forum Link
Found Driver VersionV1.12
Fixed Driver VersionV1.13

Activities

There are no notes attached to this issue.