This question is similar to asked a few years ago by adinas regarding VB 6 (http://www.experts-exchange.com/Programming/Programming_Languages/Visual_Basic/Q_20102004.html
. Hopefully the solution is a bit simpler with the advent of the .NET Framework.
I've created a VB.NET application with 47 strongly-typed Crystal reports embedded in it. I've recently added logic to it that will allow certain users access to only 9 of those reports by hiding the other 38 (changing the file attribute to Hidden). However, even if files are hidden in a directory, unless the folder option has been set to not view hidden files (Tools -> Folder Options -> View -> Files and Folders -> Hidden Files and Folders -> "Do not show hidden files and folders"), the files can still be seen (translucent) and run by the user in the Open File dialog. I need to find the object reference used to expose the Tools/Folder Options methods and properties. Does anyone know what and where that is, or am I stuck with modifying the users' Windows registry (gasp!) programatically? I've looked everywhere for an answer to no avail, so I found myself signing up for Premium service here.
P.S.: we're a .NET Framework shop with most of our users running XP, but a few stragglers are still using 2000 or, possibly, 98 (gasp! gasp!)
Thanks in advance,
workin' class joe