I need to do something like this:
Private Sub SearchInResources(ByVal PatternSTR As String)
For Each ResourceFile In My.Resources ' Obviously this don't works
If ResourceFile.EndsWith(".txt") Then
Dim fileContent As String = ResourceFile
Dim stringStream As New System.IO.StringReader(fileContent)
If stringStream.contains(PatternSTR) Then
' Things...
End If
End If
Next
End Sub
I've tried this methods but don't work for me! : How to get the names of all resources in a resource file