We have a control inside a activex control that suffers from graphical artifacts on Windows 10. It works fine in Windows 7. The only way we have been able to fix the artifacts is by changing the exe setting pictured below.
Is there a way to change it through code (Visual Studio 2017 c#)? In our project we dont have a manifest file in project.
I was able to get through using the below script and save as bat file and execute it in the code to set DPI scaling
@echo off title This is to set HIGHDPI Scaling
REG ADD "HKCU\Software\Microsoft\Windows NT\CurrentVersion\AppCompatFlags\Layers" /V "C:\Program Files (x86)\VidSys\VidSys Out-of-Process Viewer Framework\External Process\NvrViewerExternalProcess.exe" /T REG_SZ /D ~HIGHDPIAWARE /F
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.