Jump to content
Xtreme .Net Talk

Recommended Posts

Posted

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

Posted

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.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...