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

Visual Basic

 
AnswerRe: Help converting C# snippet toVB Pin
Dave Doknjas26-Mar-10 10:52
Dave Doknjas26-Mar-10 10:52 
GeneralRe: Help converting C# snippet toVB Pin
programmervb.netc++26-Mar-10 16:25
programmervb.netc++26-Mar-10 16:25 
GeneralRe: Help converting C# snippet toVB Pin
Dave Doknjas26-Mar-10 16:33
Dave Doknjas26-Mar-10 16:33 
GeneralRe: Help converting C# snippet toVB Pin
programmervb.netc++26-Mar-10 16:37
programmervb.netc++26-Mar-10 16:37 
GeneralRe: Help converting C# snippet toVB Pin
Dave Kreskowiak27-Mar-10 2:47
mveDave Kreskowiak27-Mar-10 2:47 
GeneralRe: Help converting C# snippet toVB Pin
programmervb.netc++26-Mar-10 16:36
programmervb.netc++26-Mar-10 16:36 
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 
Hello all..

using VB.net 2008

Im working on an application that collects data from the database and populates a list(of t) where t is the structure below.

Public Structure Contact
Dim Ref As Integer
Dim Name As String
Dim Tel As String
Dim fax As String
Dim email As String
Dim position As String
Dim comment As String
Dim printYN As Integer
Dim title As String
Dim firstname As String
Dim surname As String
Dim ext As String
Dim salutation As String

Public Overrides Function ToString() As String
Return Name
End Function
End Structure

This is then displayed in a combobox (Well just the Name) but i need also to search the list from a given ref number. Not sure how to do it most of the examples are based on list(of string). Can anyone give me a pointer or a nice example

Many thanks
Simon
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 
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 

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.