Solarion
Honorary Master
- Joined
- Nov 14, 2012
- Messages
- 21,885
Needing some help with this please guys
I'm busy trying to fix up this project I am working on, however my understanding of LINQ is severely lacking. Could someone please give me a clue as to what should go here, because the bold bit is getting flagged with an error. I'm not sure what should go there.
I suspect this dataForWord is perhaps a book mark or placeholder put in by someone else.
Any help will be appreciated!
I'm busy trying to fix up this project I am working on, however my understanding of LINQ is severely lacking. Could someone please give me a clue as to what should go here, because the bold bit is getting flagged with an error. I'm not sure what should go there.
Code:
Dim ListToProcess = Directory.GetFiles(serverPath & "\Documents\Notes", "*", SearchOption.AllDirectories).Where(Function(x) [B]dataForWord[/B].Select(Function(y) y(12)).Contains(x.Split("\").Last().Split(".").First.Split(" ").Last))
'dataForWord' is not declared. It may be inaccessible due to its protection level.
I suspect this dataForWord is perhaps a book mark or placeholder put in by someone else.
Any help will be appreciated!
Last edited: