Jump to content
Xtreme .Net Talk

Recommended Posts

Posted

Hi buddies,

In fact I noticed that my application won't display correctly on DPI settings other than 96 DPI.

Well, this is a critical problem for me, I don't know how can I disregard it and show my application normally without problem?

What do you recommend at this state?

Thanks all... :confused:

  • Administrators
Posted

Have you tried adding a manifest to your application and marking it as not being DPI aware?

 

If you are on VS 2008 you can add a manifest as a file to your project and add the following


   
     true
   
 

to the file before the closing tag.

 

If you are on VS 2005 then you will need to tweak your project a little to get it to embed the manifest. I can dig up a post on this if you need it though.

Posting Guidelines FAQ Post Formatting

 

Intellectuals solve problems; geniuses prevent them.

-- Albert Einstein

Posted

Hi PlausiblyDamp,

I really thank you, if I can make my app not DPI aware I will be so happy.

In fact I am using VB.NET 2008

When I go to application properties there is a button named "View UAC Settings".

When I press this button I have a page with this content:

<?xml version="1.0" encoding="utf-8"?>
<asmv1:assembly manifestVersion="1.0" xmlns="urn:schemas-microsoft-com:asm.v1" xmlns:asmv1="urn:schemas-microsoft-com:asm.v1" xmlns:asmv2="urn:schemas-microsoft-com:asm.v2" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
 <assemblyIdentity version="1.0.0.0" name="MyApplication.app"/>
 <trustInfo xmlns="urn:schemas-microsoft-com:asm.v2">
   <security>
     <requestedPrivileges xmlns="urn:schemas-microsoft-com:asm.v3">
       <requestedExecutionLevel level="asInvoker" uiAccess="false" />
     </requestedPrivileges>
   </security>
 </trustInfo>
</asmv1:assembly>

Is it where I should insert your code?

If so, where? There are big differences, please advise :)

Thank you sooo much... :p

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...