Resolved Winforms Desktop App with wpf user control

divjoy

Well-known member
Joined
Aug 25, 2013
Messages
159
Programming Experience
1-3
Hi,

I have a winforms desktop App designed in VS 2013 using vb.net on .Net Framework 4.5.2

I added a xaml wpf user control textbox for spell checking text and everything was working great except when I launch the spellchecker form all the forms behind resize/rescale like either dpi or font and now they don't look well!

From scouring the internet I am recommended to add the following to my app

<asmv3:application>
<asmv3:windowsSettings xmlns="http://schemas.microsoft.com/SMI/2005/WindowsSettings">
<dpiAware>true</dpiAware>
</asmv3:windowsSettings>
</asmv3:application>

But not sure where to put it and what is asmv3 even?

Can anyone advise please?

Thanking you
 
Project properties, Application tab, "View Windows Settings" will open the application manifest.
Scroll a bit down, there you'll find the dpiAware section (including namespace definition) which you can uncomment (select and Ctrl-K-U keybord shortcut).
 
Solution
Back
Top