jcotton42
jcotton42
CC#
Created by AideedSS on 2/28/2025 in #help
C# ASP.NET, Why do I have to press button twice to make it works
Web Forms runs on the server.
14 replies
CC#
Created by roock89 on 2/26/2025 in #help
Not getting the .txt output after running a process
9 replies
CC#
Created by roock89 on 2/26/2025 in #help
Not getting the .txt output after running a process
The word "shell" in this context (UseShellExecute) refers to a graphical shell (similar to the Windows shell) rather than command shells (for example, bash or sh) and lets users launch graphical applications or open documents.
9 replies
CC#
Created by roock89 on 2/26/2025 in #help
Not getting the .txt output after running a process
That means File Explorer, not a terminal shell.
9 replies
CC#
Created by Lupusregina Beta on 2/26/2025 in #help
How do you kill off left padding/margin in DataGridView headers?
Forms is fine, just suboptimal. But why VS2017?
20 replies
CC#
Created by Lupusregina Beta on 2/26/2025 in #help
How do you kill off left padding/margin in DataGridView headers?
@𓀠𓀒𓀡𓀬 the post is tagged winfroms; CSS isn’t applicable here.
20 replies
CC#
Created by DDmax500 on 2/23/2025 in #help
✅ Trying and learning WFO
@DDmax500 do yourself a favor, and give your forms and controls meaningful names.
5 replies
CC#
Created by Faker on 2/23/2025 in #help
✅ What is Repository pattern design and how to implement it
Counterproductive practices. In the case of repos over EF, you are laying a repo over an existing one (the DbSets in the context). And a much less powerful one to boot.
21 replies
CC#
Created by Tempest on 2/23/2025 in #help
How to tell if a variable is a reference or value data type
No description
28 replies
CC#
Created by Qualy on 2/21/2025 in #help
error on new WPF project
just fyi, you should learn and use a version control system like git for code
70 replies
CC#
Created by Qualy on 2/21/2025 in #help
error on new WPF project
So, to protect existing apps, Windows doesn’t do >260 character paths unless you 1. Enable that registry setting, and 2. (iirc) Your application’s manifest indicates it has long path support
70 replies
CC#
Created by Qualy on 2/21/2025 in #help
error on new WPF project
That’s 260. And for those apps, you can’t put a larger path in those buffers, otherwise they’ll blow up.
70 replies
CC#
Created by Qualy on 2/21/2025 in #help
error on new WPF project
Apps would make path buffers of that size for use with OS calls involving paths.
70 replies
CC#
Created by Qualy on 2/21/2025 in #help
error on new WPF project
Basically there’s a constant, MAX_PATH in the Windows headers used to build C and C++ apps.
70 replies
CC#
Created by Qualy on 2/21/2025 in #help
error on new WPF project
Historical reasons.
70 replies
CC#
Created by Qualy on 2/21/2025 in #help
error on new WPF project
Needs a reboot too, iirc
70 replies
CC#
Created by Qualy on 2/21/2025 in #help
error on new WPF project
By default, paths on Windows are limited to 260 characters for historical reasons.
70 replies
CC#
Created by Erky on 2/19/2025 in #help
How to overwrite a file that is used by another process?
@Erky all the ways you could force this would probably crash (or at least cause an exception in) the writing process.
10 replies
CC#
Created by Faker on 2/18/2025 in #help
✅ Resource to learn how to connect SQL Server to C#
Ask #database
15 replies
CC#
Created by Faker on 2/18/2025 in #help
✅ Resource to learn how to connect SQL Server to C#
ADO is lower-level than EF. Both have their uses, but EF does more for you.
15 replies