Click here to Skip to main content
14,833,723 members
Home / Discussions / Visual Basic
   

Visual Basic

 
AnswerRe: Resize and drag button at runtime vb.net Pin
Ahmedabdalla837-Mar-21 17:10
MemberAhmedabdalla837-Mar-21 17:10 
QuestionHow to take a screenshot? Pin
Droidtips25-Feb-21 21:17
MemberDroidtips25-Feb-21 21:17 
AnswerRe: How to take a screenshot? Pin
OriginalGriff25-Feb-21 21:20
mveOriginalGriff25-Feb-21 21:20 
AnswerRe: How to take a screenshot? Pin
mayom tyler26-Feb-21 19:42
Membermayom tyler26-Feb-21 19:42 
QuestionRe: How to take a screenshot? Pin
Eddy Vluggen6-Mar-21 10:07
professionalEddy Vluggen6-Mar-21 10:07 
QuestionVB, Linq, Filter out List(Of with a list(Of string Pin
jkirkerx16-Feb-21 11:33
professionaljkirkerx16-Feb-21 11:33 
AnswerRe: VB, Linq, Filter out List(Of with a list(Of string [solved] Pin
jkirkerx16-Feb-21 11:47
professionaljkirkerx16-Feb-21 11:47 
SuggestionRe: VB, Linq, Filter out List(Of with a list(Of string [solved] Pin
Richard Deeming16-Feb-21 22:18
mveRichard Deeming16-Feb-21 22:18 
Why not use a HashSet(Of String) with a case-insensitive comparer instead?
Dim exemptPrintItems = New HashSet(Of String)(StringComparer.OrdinalIgnoreCase) From {
    "delivery",
    "dhl",
    "freight",
    "shipping",
    "ups"
}

invoiceItems = invoiceItems.Where(Function(x) Not excludePrintItems.Contains(x.FITEMNO)).ToList()
Otherwise, you should probably normalize your strings to uppercase to avoid the "Turkish i" problem. Smile | :)
CA1308: Normalize strings to uppercase (code analysis) - .NET | Microsoft Docs[^]
The Turkish İ Problem and Why You Should Care | You’ve Been Haacked[^]



"These people looked deep within my soul and assigned me a number based on the order in which I joined."
- Homer

GeneralRe: VB, Linq, Filter out List(Of with a list(Of string [solved] Pin
jkirkerx17-Feb-21 4:46
professionaljkirkerx17-Feb-21 4:46 
QuestionConvert C to VB Pin
leofoe15-Feb-21 22:52
Memberleofoe15-Feb-21 22:52 
AnswerRe: Convert C to VB Pin
Richard Deeming15-Feb-21 23:38
mveRichard Deeming15-Feb-21 23:38 
GeneralRe: Convert C to VB Pin
leofoe15-Feb-21 23:46
Memberleofoe15-Feb-21 23:46 
GeneralRe: Convert C to VB Pin
Richard Deeming16-Feb-21 1:19
mveRichard Deeming16-Feb-21 1:19 
QuestionDeleting a sent file Pin
Member 1152288212-Feb-21 11:11
MemberMember 1152288212-Feb-21 11:11 
AnswerRe: Deleting a sent file Pin
Ralf Meier12-Feb-21 12:26
professionalRalf Meier12-Feb-21 12:26 
AnswerRe: Deleting a sent file Pin
Dave Kreskowiak12-Feb-21 15:51
mveDave Kreskowiak12-Feb-21 15:51 
AnswerRe: Deleting a sent file Pin
Richard Deeming14-Feb-21 21:51
mveRichard Deeming14-Feb-21 21:51 
Questionwkhtmltopdf.exe - Process-Start over COM-Interop - Access denied Pin
VoidFunctionMain10-Feb-21 4:48
MemberVoidFunctionMain10-Feb-21 4:48 
QuestionCode for Saving work Pin
Wamono erick5-Feb-21 7:52
MemberWamono erick5-Feb-21 7:52 
AnswerRe: Code for Saving work Pin
Dave Kreskowiak5-Feb-21 8:28
mveDave Kreskowiak5-Feb-21 8:28 
QuestionProblem when setting the ReadOnly state of a property: CLOSED Pin
mo149231-Jan-21 5:56
Membermo149231-Jan-21 5:56 
QuestionInterfacing with Zlib.dll Pin
albert_redditt28-Jan-21 10:16
Memberalbert_redditt28-Jan-21 10:16 
AnswerRe: Interfacing with Zlib.dll Pin
20212a28-Jan-21 10:30
Member20212a28-Jan-21 10:30 
AnswerRe: Interfacing with Zlib.dll Pin
Richard MacCutchan28-Jan-21 21:14
mveRichard MacCutchan28-Jan-21 21:14 
QuestionUnable to complete the code for Web scrapping Pin
The Mentee27-Jan-21 8:56
MemberThe Mentee27-Jan-21 8:56 

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.