Click here to Skip to main content
15,792,327 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralRe: Asc(string character) returns wrong value chinese win10 machine Pin
Member 1348515725-Oct-17 23:30
Member 1348515725-Oct-17 23:30 
GeneralRe: Asc(string character) returns wrong value chinese win10 machine Pin
Ralf Meier26-Oct-17 0:53
professionalRalf Meier26-Oct-17 0:53 
AnswerRe: Asc(string character) returns wrong value chinese win10 machine Pin
ledtech326-Oct-17 17:45
ledtech326-Oct-17 17:45 
QuestionRe: Asc(string character) returns wrong value chinese win10 machine Pin
ledtech329-Oct-17 4:50
ledtech329-Oct-17 4:50 
AnswerRe: Asc(string character) returns wrong value chinese win10 machine Pin
Richard Deeming2-Nov-17 6:13
mveRichard Deeming2-Nov-17 6:13 
GeneralRe: Asc(string character) returns wrong value chinese win10 machine Pin
ledtech32-Nov-17 13:25
ledtech32-Nov-17 13:25 
GeneralRe: Asc(string character) returns wrong value chinese win10 machine Pin
Richard Deeming3-Nov-17 4:00
mveRichard Deeming3-Nov-17 4:00 
GeneralRe: Asc(string character) returns wrong value chinese win10 machine Pin
ledtech33-Nov-17 5:51
ledtech33-Nov-17 5:51 
QuestionPrinting assorted files Pin
Member 1325084725-Oct-17 4:07
Member 1325084725-Oct-17 4:07 
AnswerRe: Printing assorted files Pin
Richard Deeming25-Oct-17 4:39
mveRichard Deeming25-Oct-17 4:39 
QuestionLinq RemoveRange, or a better idea Pin
jkirkerx24-Oct-17 8:44
professionaljkirkerx24-Oct-17 8:44 
AnswerRe: Linq RemoveRange, or a better idea Pin
jkirkerx24-Oct-17 8:51
professionaljkirkerx24-Oct-17 8:51 
AnswerRe: Linq RemoveRange, or a better idea Pin
Richard Deeming24-Oct-17 10:52
mveRichard Deeming24-Oct-17 10:52 
GeneralRe: Linq RemoveRange, or a better idea Pin
jkirkerx25-Oct-17 12:36
professionaljkirkerx25-Oct-17 12:36 
QuestionVB Linq, got 1 duplicate in a GroupBy Call Pin
jkirkerx16-Oct-17 14:15
professionaljkirkerx16-Oct-17 14:15 
So I have this list of customer invoices that I need to just group into a list of
Customers
Customers by State,
Customers by City, or Street Address if there are multiple locations in a city
But on a small check, I got a duplicate, 2 customers in Tempe AZ with the same street address.
I did something wrong here but not sure what.
'Group all the Customers together from gInvoices_all
Dim gCustomers As List(Of model_itemDistribution_Invoices) = gInvoices_all.OrderBy(Function(ob) ob.FCUSTNO).GroupBy(Function(v) New With {Key v.FCUSTNO, Key v.FSSTATE, Key v.FSADDR1}).Select(Function(cl) New model_itemDistribution_Invoices() With {
    .FCUSTNO = cl.First().FCUSTNO,
    .FSSTATE = cl.First().FSSTATE,
    .FSADDR1 = cl.First().FSADDR1,
    .FCOMPANY = cl.First().FCOMPANY,
    .FSALESPN = cl.First().FSALESPN,
    .FCONTACT = cl.First().FCONTACT,
    .FPHONE = cl.First().FPHONE,
    .FSADDR2 = cl.First().FSADDR2,
    .FSCITY = cl.First().FSCITY,
    .FSZIPCODE = cl.First().FSZIPCODE,
    .FSCOUNTRY = cl.First().FSCOUNTRY,
    .FCSAMT = 0.0
}).ToList()
If it ain't broke don't fix it

AnswerRe: VB Linq, got 1 duplicate in a GroupBy Call Pin
Richard Deeming17-Oct-17 3:08
mveRichard Deeming17-Oct-17 3:08 
GeneralRe: VB Linq, got 1 duplicate in a GroupBy Call Pin
jkirkerx17-Oct-17 7:28
professionaljkirkerx17-Oct-17 7:28 
AnswerRe: VB Linq, got 1 duplicate in a GroupBy Call Pin
Eddy Vluggen17-Oct-17 3:09
professionalEddy Vluggen17-Oct-17 3:09 
GeneralRe: VB Linq, got 1 duplicate in a GroupBy Call Pin
jkirkerx17-Oct-17 7:24
professionaljkirkerx17-Oct-17 7:24 
QuestionReading complex JSON objects with Newtonsoft Pin
A_Griffin15-Oct-17 2:32
A_Griffin15-Oct-17 2:32 
AnswerRe: Reading complex JSON objects with Newtonsoft Pin
A_Griffin17-Oct-17 0:36
A_Griffin17-Oct-17 0:36 
QuestionCompletely disabling Scrolling in a DataGridView Pin
Peter R. Fletcher14-Oct-17 11:57
Peter R. Fletcher14-Oct-17 11:57 
AnswerRe: Completely disabling Scrolling in a DataGridView - SOLVED Pin
Peter R. Fletcher16-Oct-17 12:29
Peter R. Fletcher16-Oct-17 12:29 
QuestionHow do I change XML-driven menu strip's font? Vb.net Pin
Member 1338609314-Oct-17 5:18
Member 1338609314-Oct-17 5:18 
AnswerRe: How do I change XML-driven menu strip's font? Vb.net Pin
Richard MacCutchan14-Oct-17 7:48
mveRichard MacCutchan14-Oct-17 7:48 

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.