vb.net - When writing VB forms app, what is programatic equivalent of selecting Properties > Compatibility > "Disable display scaling on high DPI settings"? -


when writing vb forms app in msvs2010, programmatic equivalent of locating application's exe, right clicking , selecting properties > compatibility > "disable display scaling on high dpi settings"?

in visual studio: tried:

  • using manifest file , setting application dpiaware

    <dpiaware> true </dpiaware> 

(maybe didn't edit manifest correctly not putting in correct location). the example had access to on csharp project , perhaps works differently in vb.

  • design editor properties on main form: autosize: false, autoscalemode: none, font, dpi, inherit - of made no difference whatsoever.


Comments

Popular posts from this blog

resizing Telegram inline keyboard -

command line - How can a Python program background itself? -

php - "cURL error 28: Resolving timed out" on Wordpress on Azure App Service on Linux -