Click here to Skip to main content
15,947,785 members
Home / Discussions / Visual Basic
   

Visual Basic

 
QuestionRe: Asc(string character) returns wrong value chinese win10 machine Pin
ledtech329-Oct-17 3:50
ledtech329-Oct-17 3:50 
AnswerRe: Asc(string character) returns wrong value chinese win10 machine Pin
Richard Deeming2-Nov-17 5:13
mveRichard Deeming2-Nov-17 5:13 
GeneralRe: Asc(string character) returns wrong value chinese win10 machine Pin
ledtech32-Nov-17 12:25
ledtech32-Nov-17 12:25 
GeneralRe: Asc(string character) returns wrong value chinese win10 machine Pin
Richard Deeming3-Nov-17 3:00
mveRichard Deeming3-Nov-17 3:00 
GeneralRe: Asc(string character) returns wrong value chinese win10 machine Pin
ledtech33-Nov-17 4:51
ledtech33-Nov-17 4:51 
QuestionPrinting assorted files Pin
Member 1325084725-Oct-17 3:07
Member 1325084725-Oct-17 3:07 
AnswerRe: Printing assorted files Pin
Richard Deeming25-Oct-17 3:39
mveRichard Deeming25-Oct-17 3:39 
QuestionLinq RemoveRange, or a better idea Pin
jkirkerx24-Oct-17 7:44
professionaljkirkerx24-Oct-17 7:44 
This is a report program, in which I have to match filters to get a list of items.
So overall I'm missing some data that I need to find and see what it is.
I have this filter called states, in which the invoice shipping item has to match a state selected
For Each state As String In p.States
  gInvoices_raw.AddRange(gInvoices_all.Where(Function(m) m.FSSTATE = state))
Next

In the loop, I need to find out what is left over, what remains, so I thought I would RemoveRange from gInvoices_all
But I don't have the slighest clue how to get the start and stop index of the Range to remove here
Or perhaps there is a better solution here.
gInvoices_all = gInvoices_all.OrderBy(Function(m) m.FSSTATE).ToList()
For Each state As String In p.States
  gInvoices_raw.AddRange(gInvoices_all.Where(Function(m) m.FSSTATE = state))
  gInvoices_all.RemoveRange(xxxxxxxxxxxxxxxxxxxxxxx)
Next
If it ain't broke don't fix it

AnswerRe: Linq RemoveRange, or a better idea Pin
jkirkerx24-Oct-17 7:51
professionaljkirkerx24-Oct-17 7:51 
AnswerRe: Linq RemoveRange, or a better idea Pin
Richard Deeming24-Oct-17 9:52
mveRichard Deeming24-Oct-17 9:52 
GeneralRe: Linq RemoveRange, or a better idea Pin
jkirkerx25-Oct-17 11:36
professionaljkirkerx25-Oct-17 11:36 
QuestionVB Linq, got 1 duplicate in a GroupBy Call Pin
jkirkerx16-Oct-17 13:15
professionaljkirkerx16-Oct-17 13:15 
AnswerRe: VB Linq, got 1 duplicate in a GroupBy Call Pin
Richard Deeming17-Oct-17 2:08
mveRichard Deeming17-Oct-17 2:08 
GeneralRe: VB Linq, got 1 duplicate in a GroupBy Call Pin
jkirkerx17-Oct-17 6:28
professionaljkirkerx17-Oct-17 6:28 
AnswerRe: VB Linq, got 1 duplicate in a GroupBy Call Pin
Eddy Vluggen17-Oct-17 2:09
professionalEddy Vluggen17-Oct-17 2:09 
GeneralRe: VB Linq, got 1 duplicate in a GroupBy Call Pin
jkirkerx17-Oct-17 6:24
professionaljkirkerx17-Oct-17 6:24 
QuestionReading complex JSON objects with Newtonsoft Pin
A_Griffin15-Oct-17 1:32
A_Griffin15-Oct-17 1:32 
AnswerRe: Reading complex JSON objects with Newtonsoft Pin
A_Griffin16-Oct-17 23:36
A_Griffin16-Oct-17 23:36 
QuestionCompletely disabling Scrolling in a DataGridView Pin
Peter R. Fletcher14-Oct-17 10:57
Peter R. Fletcher14-Oct-17 10:57 
AnswerRe: Completely disabling Scrolling in a DataGridView - SOLVED Pin
Peter R. Fletcher16-Oct-17 11:29
Peter R. Fletcher16-Oct-17 11:29 
QuestionHow do I change XML-driven menu strip's font? Vb.net Pin
Member 1338609314-Oct-17 4:18
Member 1338609314-Oct-17 4:18 
AnswerRe: How do I change XML-driven menu strip's font? Vb.net Pin
Richard MacCutchan14-Oct-17 6:48
mveRichard MacCutchan14-Oct-17 6:48 
QuestionChange the format Pin
Felix Holzinger7-Oct-17 11:51
Felix Holzinger7-Oct-17 11:51 
AnswerRe: Change the format Pin
Richard MacCutchan10-Oct-17 21:04
mveRichard MacCutchan10-Oct-17 21:04 
Questionsoftwares for agriculture irrigation with the help of visual basic Pin
Member 134513307-Oct-17 4:49
Member 134513307-Oct-17 4:49 

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.