Click here to Skip to main content
15,891,136 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralRe: Help converting C# snippet toVB Pin
programmervb.netc++26-Mar-10 16:42
programmervb.netc++26-Mar-10 16:42 
Questionusing list collection and structures (but i need to find a particular "entry" in the list on a search criteria Pin
Simon_Whale25-Mar-10 6:39
Simon_Whale25-Mar-10 6:39 
AnswerRe: using list collection and structures (but i need to find a particular "entry" in the list on a search criteria [modified] Pin
Wayne Gaylard25-Mar-10 14:49
professionalWayne Gaylard25-Mar-10 14:49 
GeneralRe: using list collection and structures (but i need to find a particular "entry" in the list on a search criteria Pin
Dave Kreskowiak26-Mar-10 2:05
mveDave Kreskowiak26-Mar-10 2:05 
GeneralRe: using list collection and structures (but i need to find a particular "entry" in the list on a search criteria Pin
Wayne Gaylard26-Mar-10 4:00
professionalWayne Gaylard26-Mar-10 4:00 
AnswerRe: using list collection and structures (but i need to find a particular "entry" in the list on a search criteria Pin
Simon_Whale28-Mar-10 23:20
Simon_Whale28-Mar-10 23:20 
GeneralRe: using list collection and structures (but i need to find a particular "entry" in the list on a search criteria Pin
Wayne Gaylard29-Mar-10 4:13
professionalWayne Gaylard29-Mar-10 4:13 
AnswerRe: using list collection and structures (but i need to find a particular "entry" in the list on a search criteria Pin
Luc Pattyn25-Mar-10 15:08
sitebuilderLuc Pattyn25-Mar-10 15:08 
Hi,

what I typically do is:
- use a class (say "Contact") rather than a struct, so what gets passed around is a reference, not a copy of the data; hence better performance;
- a Dictionary(of Ref, of Contact) so one can enumerate all values, or search fast by key

But then I'm not sure you need the Ref field, maybe the reference to the Contact instance is enough, so you never need to search, hence no need for a Dictionary, a simple List(of Contact) could suffice. You would need a Ref field to persist the data to a file or database (pointers/references would be meaningless there).

Smile | :)

QuestionTCP/IP with VB.Net Closing and Opening Pin
gymgym_jim25-Mar-10 1:52
gymgym_jim25-Mar-10 1:52 
AnswerRe: TCP/IP with VB.Net Closing and Opening Pin
Tony Richards25-Mar-10 2:30
Tony Richards25-Mar-10 2:30 
GeneralRe: TCP/IP with VB.Net Closing and Opening [modified] Pin
gymgym_jim25-Mar-10 2:41
gymgym_jim25-Mar-10 2:41 
GeneralRe: TCP/IP with VB.Net Closing and Opening Pin
Tony Richards25-Mar-10 2:50
Tony Richards25-Mar-10 2:50 
QuestionDelay in Listview Binding using SqDatareader in windows application Pin
sandhya1424-Mar-10 19:02
sandhya1424-Mar-10 19:02 
QuestionUnbound checkbox in datagridview Pin
C#Coudou24-Mar-10 15:39
C#Coudou24-Mar-10 15:39 
AnswerRe: Unbound checkbox in datagridview Pin
C#Coudou25-Mar-10 15:25
C#Coudou25-Mar-10 15:25 
GeneralRe: Unbound checkbox in datagridview Pin
Dave Kreskowiak26-Mar-10 2:02
mveDave Kreskowiak26-Mar-10 2:02 
GeneralRe: Unbound checkbox in datagridview Pin
C#Coudou28-Mar-10 13:45
C#Coudou28-Mar-10 13:45 
QuestionEmailing in VB.NET Pin
sklemp24-Mar-10 5:54
sklemp24-Mar-10 5:54 
AnswerRe: Emailing in VB.NET Pin
Ian Shlasko24-Mar-10 5:57
Ian Shlasko24-Mar-10 5:57 
GeneralRe: Emailing in VB.NET Pin
sklemp24-Mar-10 5:59
sklemp24-Mar-10 5:59 
GeneralRe: Emailing in VB.NET Pin
Ian Shlasko24-Mar-10 6:03
Ian Shlasko24-Mar-10 6:03 
GeneralRe: Emailing in VB.NET Pin
sklemp24-Mar-10 6:09
sklemp24-Mar-10 6:09 
GeneralRe: Emailing in VB.NET Pin
Tom Deketelaere24-Mar-10 6:22
professionalTom Deketelaere24-Mar-10 6:22 
GeneralRe: Emailing in VB.NET Pin
sklemp24-Mar-10 6:27
sklemp24-Mar-10 6:27 
GeneralRe: Emailing in VB.NET Pin
Ian Shlasko24-Mar-10 7:22
Ian Shlasko24-Mar-10 7:22 

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.