Axiss
Axiss
CC#
Created by krazycay on 4/25/2023 in #help
❔ how to detect if console app is maximized (IsZoomed)
That api you showed needs a window handle and console apps, by definition, don't have window handles.
58 replies
CC#
Created by Itskillerluc on 4/25/2023 in #help
❔ instanciable enum?
enums are a compiler trick for the underlying type, so no they can't have different values.
80 replies
CC#
Created by BambiAria on 4/22/2023 in #help
Parameterising this sql?
😄
31 replies
CC#
Created by BambiAria on 4/22/2023 in #help
Parameterising this sql?
I don't think you want to add a textbox
31 replies
CC#
Created by BambiAria on 4/22/2023 in #help
Parameterising this sql?
check where you are adding @yeargroup
31 replies
CC#
Created by BambiAria on 4/22/2023 in #help
Parameterising this sql?
hahaha
31 replies
CC#
Created by BambiAria on 4/22/2023 in #help
Parameterising this sql?
@studentId, if that is auto-assigned you don't need it in the second part of the statement
31 replies
CC#
Created by BambiAria on 4/22/2023 in #help
Parameterising this sql?
It happens. 😄
31 replies
CC#
Created by BambiAria on 4/22/2023 in #help
Parameterising this sql?
It looks like you are missing a ) at the end of your insert statement. You aren't getting an error when running it?
31 replies
CC#
Created by BambiAria on 4/22/2023 in #help
Parameterising this sql?
What makes you say that? How are you validating that the insert worked?
31 replies
CC#
Created by BambiAria on 4/22/2023 in #help
Parameterising this sql?
Do you need to do that again? It doesn't sound like it but I dunno.
31 replies
CC#
Created by BambiAria on 4/22/2023 in #help
Parameterising this sql?
Yes, this is parameterized. I would make the cmd variable local instead of using a shared variable. What does GetDatabaseConnection1 do and why are you calling it at the end of the method?
31 replies
CC#
Created by Wallace And Gromit on 4/10/2023 in #help
✅ doing nothing
I still don't understand why this C# code is trying to execute powershell code, but if for some reason you need to do that, sending it to cmd.exe isn't going to work. You need to execute powershell.exe
29 replies
CC#
Created by Jin on 3/16/2023 in #help
❔ Downloading string from webclient isnt responding properly to my if statement.
No need to roll your own
28 replies
CC#
Created by Jin on 3/16/2023 in #help
❔ Downloading string from webclient isnt responding properly to my if statement.
I still recommending parsing them into a Version, it will make the comparison easier
28 replies
CC#
Created by Jin on 3/16/2023 in #help
❔ Downloading string from webclient isnt responding properly to my if statement.
Comparing raw strings it's always a good idea to trim them. Very easy to accidently get non-visible whitespace in there screwing with you
28 replies
CC#
Created by Jin on 3/16/2023 in #help
❔ Downloading string from webclient isnt responding properly to my if statement.
28 replies
CC#
Created by Jin on 3/16/2023 in #help
❔ Downloading string from webclient isnt responding properly to my if statement.
just in case
28 replies
CC#
Created by Jin on 3/16/2023 in #help
❔ Downloading string from webclient isnt responding properly to my if statement.
Don't know if that's just chrome view-source UI thing, but check it with the debugger
28 replies
CC#
Created by Jin on 3/16/2023 in #help
❔ Downloading string from webclient isnt responding properly to my if statement.
28 replies