Click here to Skip to main content
15,911,789 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralRe: Display Data In Datagrid - Error Pin
Member 367504720-Feb-09 3:58
Member 367504720-Feb-09 3:58 
QuestionHow can I solve "Cross-thread operation not valid" error? Pin
JUNEYT20-Feb-09 1:22
JUNEYT20-Feb-09 1:22 
AnswerRe: How can I solve "Cross-thread operation not valid" error? Pin
Dave Kreskowiak20-Feb-09 2:04
mveDave Kreskowiak20-Feb-09 2:04 
QuestionCreate Barcode True Type Font Pin
Anubhava Dimri19-Feb-09 22:36
Anubhava Dimri19-Feb-09 22:36 
AnswerRe: Create Barcode True Type Font Pin
Simon P Stevens19-Feb-09 22:53
Simon P Stevens19-Feb-09 22:53 
AnswerRe: Create Barcode True Type Font Pin
Dave Kreskowiak20-Feb-09 1:57
mveDave Kreskowiak20-Feb-09 1:57 
QuestionGrouping rows in list with summation of fields Pin
kanchoette19-Feb-09 21:46
kanchoette19-Feb-09 21:46 
AnswerRe: Grouping rows in list with summation of fields Pin
Dave Kreskowiak20-Feb-09 3:46
mveDave Kreskowiak20-Feb-09 3:46 
Well, with the object model you've chosen, you have little choice but to go through each item in your collection and generate a second collection with the totals. The basic idea is to see if a Reference number is in a collection, and if not, add it with the current Amount. If it already exists in the collection, you get the existing total from that collection, add the Amount to it, then put the new total back in the collection. You'd probably use a HashTable, or some other Key/Value pair collection, to store the totals.


A guide to posting questions on CodeProject[^]



Dave Kreskowiak
Microsoft MVP
Visual Developer - Visual Basic
     2006, 2007, 2008




QuestionHow to Retain datagridview cell backcolor and forecolor in excel after exporting from datagridview to excel 2003 Pin
chandrubngit19-Feb-09 21:45
chandrubngit19-Feb-09 21:45 
AnswerRe: How to Retain datagridview cell backcolor and forecolor in excel after exporting from datagridview to excel 2003 Pin
dan!sh 19-Feb-09 23:20
professional dan!sh 19-Feb-09 23:20 
AnswerRe: How to Retain datagridview cell backcolor and forecolor in excel after exporting from datagridview to excel 2003 Pin
Dave Kreskowiak20-Feb-09 2:00
mveDave Kreskowiak20-Feb-09 2:00 
GeneralRe: How to Retain datagridview cell backcolor and forecolor in excel after exporting from datagridview to excel 2003 Pin
chandrubngit20-Feb-09 3:35
chandrubngit20-Feb-09 3:35 
GeneralRe: How to Retain datagridview cell backcolor and forecolor in excel after exporting from datagridview to excel 2003 Pin
Dave Kreskowiak20-Feb-09 3:41
mveDave Kreskowiak20-Feb-09 3:41 
AnswerRe: How to Retain datagridview cell backcolor and forecolor in excel after exporting from datagridview to excel 2003 Pin
chilly44220-Feb-09 6:02
chilly44220-Feb-09 6:02 
GeneralRe: How to Retain datagridview cell backcolor and forecolor in excel after exporting from datagridview to excel 2003 Pin
chandrubngit24-Feb-09 15:31
chandrubngit24-Feb-09 15:31 
GeneralRe: How to Retain datagridview cell backcolor and forecolor in excel after exporting from datagridview to excel 2003 Pin
chilly44225-Feb-09 4:09
chilly44225-Feb-09 4:09 
GeneralRe: How to Retain datagridview cell backcolor and forecolor in excel after exporting from datagridview to excel 2003 Pin
chandrubngit4-Mar-09 0:14
chandrubngit4-Mar-09 0:14 
QuestionCrystal Report Formula Problem Pin
~Khatri Mitesh~19-Feb-09 20:29
~Khatri Mitesh~19-Feb-09 20:29 
Questionadding items in listview vb6 Pin
spruha36919-Feb-09 17:09
spruha36919-Feb-09 17:09 
AnswerRe: adding items in listview vb6 Pin
Vimalsoft(Pty) Ltd19-Feb-09 21:18
professionalVimalsoft(Pty) Ltd19-Feb-09 21:18 
AnswerRe: adding items in listview vb6 Pin
Brian W King20-Feb-09 9:55
Brian W King20-Feb-09 9:55 
GeneralRe: adding items in listview vb6 Pin
Dave Kreskowiak20-Feb-09 10:22
mveDave Kreskowiak20-Feb-09 10:22 
AnswerRe: adding items in listview vb6 Pin
Samir Ibrahim20-Feb-09 21:42
Samir Ibrahim20-Feb-09 21:42 
QuestionTransparent Video Pin
Daniel Galvez19-Feb-09 11:46
Daniel Galvez19-Feb-09 11:46 
QuestionSpell Checking Pin
Ocean4719-Feb-09 11:20
Ocean4719-Feb-09 11:20 

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.