Im using directory.getfiles in vb.net to try and get a list of files in a given path.
What i want is to return all that files that have certain extensions (*.xls and *.xml)
The search pattern im using is: "*.xls, *.xml" and this fails as it returns no files, when i know that there is. I've also tried using ";" and ":" to seperate the extensions but no luck.
Does anyone know how to check multiple extensions in the searchPattern argument??
Windows 11 blocks Google Chrome due to a Microsoft safety feature, fix out by Sayan Sen
Microsoft has a parental control and safety feature called "Microsoft Family Safety" which allows users to create safe spaces for their family members for browsing the web by setting up filters so as to block and filter inappropriate content and limit browsing to kid-friendly and family friendly content.
However, as it turns out, following Chrome version updates 137.0.7151.68, 137.0.7151.69, Google's web browser is getting automatically blocked by Microsoft Family Safety as affected users have reported that the browser will automatically close or crash and then fail to reopen. Thus if you are using Edge, you get the green signal from the Family Safety app, but not if you are using Google Chrome.
The issue seems to be affecting mainly Windows 11 devices but Windows 10 or macOS may be affected too.
A thread on Microsoft's official Windows forum by Peter Priestley1, which is presumably from an educational institute, says:
The thread has been upvoted by 122 people at the time of writing.
There are plenty of other such threads online and users also say that they have tried all sorts of things like refreshing cookies and appdata but "nothing" seems to fix it. This shows that Microsoft's safety feature is certainly robust and that it is not easy to bypass but it also means affected users are not too happy about it considering it is seemingly blocking all versions of Chrome.
There is one fix that worked though, renaming chrome.exe to something else like chrome1.exe for example.
A Chrome community manager, Ellen T, has confirmed that the Microsoft feature is indeed what is causing it and the only way to fix the issue is to "unblock Chrome" inside the Family Safety app. Ellen says:
Microsoft has also shared a similar guidance on the issue according to Fred SR., a senior member of the Chrome community.
Some of these robots are getting pretty human-like, but obviously stronger and more bendy. Weight and balance is probably a big hurdle because of all the batteries they have to pack in them, but it'll continue to improve. I'm guessing these companies foresee a future where every household has a robot slave...I mean, assistant.
Question
random_user_uk_1234
Im using directory.getfiles in vb.net to try and get a list of files in a given path.
What i want is to return all that files that have certain extensions (*.xls and *.xml)
The search pattern im using is: "*.xls, *.xml" and this fails as it returns no files, when i know that there is. I've also tried using ";" and ":" to seperate the extensions but no luck.
Does anyone know how to check multiple extensions in the searchPattern argument??
thanks for reading...
Link to comment
https://www.neowin.net/forum/topic/158194-directorygetfiles-method-in-vbnet/Share on other sites
13 answers to this question
Recommended Posts