Click here to Skip to main content
15,798,151 members
Home / Discussions / C#
   

C#

 
GeneralRe: Insert on database contents of word file using OpenXML and c# Pin
cms965118-Sep-20 10:52
cms965118-Sep-20 10:52 
GeneralRe: Insert on database contents of word file using OpenXML and c# Pin
Gerry Schmitz18-Sep-20 12:18
mveGerry Schmitz18-Sep-20 12:18 
GeneralRe: Insert on database contents of word file using OpenXML and c# Pin
cms965118-Sep-20 21:13
cms965118-Sep-20 21:13 
GeneralRe: Insert on database contents of word file using OpenXML and c# Pin
Dave Kreskowiak18-Sep-20 19:45
mveDave Kreskowiak18-Sep-20 19:45 
GeneralRe: Insert on database contents of word file using OpenXML and c# Pin
cms965118-Sep-20 21:11
cms965118-Sep-20 21:11 
GeneralRe: Insert on database contents of word file using OpenXML and c# Pin
Pete O'Hanlon19-Sep-20 0:10
subeditorPete O'Hanlon19-Sep-20 0:10 
GeneralRe: Insert on database contents of word file using OpenXML and c# Pin
Gerry Schmitz19-Sep-20 3:17
mveGerry Schmitz19-Sep-20 3:17 
QuestionThe forms are cut for me using high resolution on WinForm Pin
goldsoft18-Sep-20 2:51
goldsoft18-Sep-20 2:51 
I got a new laptop with very high resolution. I increased the size text, apps and other to 150%

i work on WinForm program using Visual-Studio 2019.

All the forms in my program are cut and everything goes wrong on the screen.

i try this:

app.manifest

<compatibility xmlns="urn:schemas-microsoft-com:compatibility.v1">
<application>

<supportedos id="{8e0f7a12-bfb3-4fe8-b9a5-48fd50a15a9a}">


app.config

<system.windows.forms.applicationconfigurationsection>
<add key="DpiAwareness" value="PerMonitorV2">
<add key="EnableWindowsFormsHighDpiAutoResizing" value="false">

i work on .NET Framework 4.7.2

i also try this:

https://docs.microsoft.com/en-us/dotnet/desktop/winforms/high-dpi-support-in-windows-forms?view=netframeworkdesktop-4.8

and also this on the main of every form: (Each time something different)

this.AutoScaleMode = AutoScaleMode.Font;
this.AutoScaleMode = AutoScaleMode.Dpi;
this.AutoScaleMode = AutoScaleMode.None;
I have already tried everything .... and nothing helps. any idea ?

thanks
AnswerRe: The forms are cut for me using high resolution on WinForm Pin
Gerry Schmitz18-Sep-20 8:39
mveGerry Schmitz18-Sep-20 8:39 
GeneralRe: The forms are cut for me using high resolution on WinForm Pin
goldsoft18-Sep-20 10:57
goldsoft18-Sep-20 10:57 
GeneralRe: The forms are cut for me using high resolution on WinForm Pin
Gerry Schmitz18-Sep-20 12:21
mveGerry Schmitz18-Sep-20 12:21 
RantRe: The forms are cut for me using high resolution on WinForm Pin
DerekT-P18-Sep-20 11:48
professionalDerekT-P18-Sep-20 11:48 
AnswerRe: The forms are cut for me using high resolution on WinForm Pin
BillWoodruff19-Sep-20 10:11
professionalBillWoodruff19-Sep-20 10:11 
GeneralRe: The forms are cut for me using high resolution on WinForm Pin
goldsoft19-Sep-20 10:54
goldsoft19-Sep-20 10:54 
AnswerRe: The forms are cut for me using high resolution on WinForm Pin
BillWoodruff19-Sep-20 15:20
professionalBillWoodruff19-Sep-20 15:20 
QuestionWhat "is" c#`s Double.NaN? Pin
GerVenson16-Sep-20 11:53
professionalGerVenson16-Sep-20 11:53 
AnswerRe: What "is" c#`s Double.NaN? Pin
Gerry Schmitz16-Sep-20 20:59
mveGerry Schmitz16-Sep-20 20:59 
Questionargument 1 cannot convert from IBase<T> to T where T:IBase<T> Pin
koirat15-Sep-20 15:34
koirat15-Sep-20 15:34 
AnswerRe: argument 1 cannot convert from IBase<T> to T where T:IBase<T> Pin
OriginalGriff15-Sep-20 21:04
mvaOriginalGriff15-Sep-20 21:04 
AnswerRe: argument 1 cannot convert from IBase<T> to T where T:IBase<T> Pin
Richard Deeming15-Sep-20 22:59
mveRichard Deeming15-Sep-20 22:59 
QuestionProcess Start, building Url with & Pin
jkirkerx15-Sep-20 15:00
professionaljkirkerx15-Sep-20 15:00 
AnswerRe: Process Start, building Url with & Pin
Dave Kreskowiak15-Sep-20 16:05
mveDave Kreskowiak15-Sep-20 16:05 
AnswerRe: Process Start, building Url with & Pin
Richard Deeming15-Sep-20 22:48
mveRichard Deeming15-Sep-20 22:48 
GeneralRe: Process Start, building Url with & Pin
jkirkerx16-Sep-20 6:39
professionaljkirkerx16-Sep-20 6:39 
QuestionASP.NET runtime error Pin
Member 1492460715-Sep-20 10:54
Member 1492460715-Sep-20 10:54 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.