Search string - illegal chars in path

后端 未结 1 1854
慢半拍i
慢半拍i 2021-01-29 01:37

I have this search string.

Dim files As String() = IO.Directory.GetFiles(\"\\\\192.168.0.2\\shares\\be\\\" & functiicomune.numeclient & \"\\\" & r &a         


        
相关标签:
1条回答
  • 2021-01-29 01:53

    You could simplify first your code, and add parenthesis when calling the function :

    Dim files As String() = IO.Directory.GetFiles("\\192.168.0.2\shares\be\" & functiicomune.numeclient() & "\" & r & " " & codnumeric & "*PROD\","*" & codnumeric & "*DECOMPOSITION*.pdf"
    

    and second, check the values which compose the path or extension through your debugger : functiicomune.numeclient r codnumeric

    0 讨论(0)
提交回复
热议问题