https://bugs.freedesktop.org/show_bug.cgi?id=63123

          Priority: medium
            Bug ID: 63123
          Assignee: [email protected]
           Summary: dir "*.ext" return same result as dir "*" but it
                    shudnot!
          Severity: normal
    Classification: Unclassified
                OS: Windows (All)
          Reporter: [email protected]
          Hardware: x86 (IA32)
            Status: UNCONFIRMED
           Version: 4.0.1.2 release
         Component: BASIC
           Product: LibreOffice

Looking with macro for a specific file which part name is in cell in specific
path return all files in that path. In version 3.6.4 the same macro work just
fine (it return only the file which was looking for)!

Macro sample:
"function  cpy_impl(partName As String) As string
    Dim startPath as String
    dim xfil as string
    Dim FileX as String
    cpy_impl = "" 

    startPath = "d:\My Documents\_scan\ZAH\"         'direktorij kjer se išče
datoteko'

    ending = "*.pdf"         '*.txt je privzeto za končnice txt'

  rem Xfil = (converttourl(startPath & (partName + ending)))
  Xfil = ((startPath & (partName + ending)))
    FileX = ( Dir (Xfil))
   While (FileX <> "")
         cpy_impl = cpy_impl + FileX + ", "
         FileX = Dir

   Wend
End function 
"

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Libreoffice-bugs mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs

Reply via email to