Eirwick99 Posted July 6, 2010 Posted July 6, 2010 Greetings, I am new to the boards. I have looked through 36 pages of posts and was not able to find an answer to the task i need to preform. I have done extensive google searches, but all answers lead back to compatibility issue directly in vb.net and i need setting information for a single file. File.attributes does not contain the information i need. I have a file C:\SomeFile.exe. I right click on it and go to properties, then the compatibility tab. I need to retrieve what the setting is under compatibility mode using programmatic methods including if the value is null using VB.NET. Thank you for any responses Quote
Eirwick99 Posted July 6, 2010 Author Posted July 6, 2010 Okay, From further testing: If i read the hkey_current_user\software\microsoft\windows nt\currentversion\appcomptflags\layers the information can be found there. Is there a way to get this information without reading from the registry? such as a file attribute method that i am missing. Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.