Click here to Skip to main content
15,916,463 members
Home / Discussions / Visual Basic
   

Visual Basic

 
QuestionFast Navigation in the Properties Pin
εїзεїзεїз23-Sep-09 23:40
εїзεїзεїз23-Sep-09 23:40 
AnswerRe: Fast Navigation in the Properties Pin
dan!sh 24-Sep-09 3:07
professional dan!sh 24-Sep-09 3:07 
Questionproblem with datagrid Pin
Joel Navarro23-Sep-09 23:12
Joel Navarro23-Sep-09 23:12 
AnswerRe: problem with datagrid Pin
Dave Kreskowiak24-Sep-09 10:09
mveDave Kreskowiak24-Sep-09 10:09 
QuestionLamda expression in AutoCompleteFilterPredicate [Solved] Pin
gGregor8323-Sep-09 22:59
gGregor8323-Sep-09 22:59 
AnswerRe: Lamda expression in AutoCompleteFilterPredicate Pin
Gideon Engelberth24-Sep-09 2:57
Gideon Engelberth24-Sep-09 2:57 
GeneralRe: Lamda expression in AutoCompleteFilterPredicate Pin
gGregor8324-Sep-09 4:18
gGregor8324-Sep-09 4:18 
GeneralRe: Lamda expression in AutoCompleteFilterPredicate Pin
Gideon Engelberth24-Sep-09 11:47
Gideon Engelberth24-Sep-09 11:47 
It appears you are using the AutoCompleteBox from the Silverlight library (finally found it). If so, you will need to change the lambda signature to Function(String, Object) As Boolean to match the signature expected by ItemFilter. This means that you will have to cast the item argument inside the lambda, like so:
VB
NameACB.ItemFilter = _
New AutoCompleteFilterPredicate(Of Object)( _
  Function(search, f) CType(f, MyCustomer).Name=NameACB.Text) _
)

You cannot pass a lambda of (string, MyCustomer)->Boolean to a function of (string, object)->Boolean because then you could not pass arguments of (string, int).
GeneralRe: Lamda expression in AutoCompleteFilterPredicate Pin
gGregor8324-Sep-09 20:27
gGregor8324-Sep-09 20:27 
QuestionCant get Underscore to work in my screen Keyboard Pin
Bob Beaubien23-Sep-09 16:22
Bob Beaubien23-Sep-09 16:22 
AnswerRe: Cant get Underscore to work in my screen Keyboard Pin
_Damian S_23-Sep-09 17:49
professional_Damian S_23-Sep-09 17:49 
GeneralRe: Cant get Underscore to work in my screen Keyboard Pin
Bob Beaubien23-Sep-09 17:51
Bob Beaubien23-Sep-09 17:51 
GeneralRe: Cant get Underscore to work in my screen Keyboard Pin
Christian Graus23-Sep-09 18:20
protectorChristian Graus23-Sep-09 18:20 
GeneralRe: Cant get Underscore to work in my screen Keyboard Pin
Bob Beaubien23-Sep-09 18:58
Bob Beaubien23-Sep-09 18:58 
AnswerRe: Cant get Underscore to work in my screen Keyboard Pin
Christian Graus23-Sep-09 18:19
protectorChristian Graus23-Sep-09 18:19 
AnswerRe: Cant get Underscore to work in my screen Keyboard Pin
Luc Pattyn24-Sep-09 1:58
sitebuilderLuc Pattyn24-Sep-09 1:58 
AnswerRe: Cant get Underscore to work in my screen Keyboard Pin
Dave Kreskowiak24-Sep-09 4:21
mveDave Kreskowiak24-Sep-09 4:21 
GeneralRe: Cant get Underscore to work in my screen Keyboard Pin
Bob Beaubien24-Sep-09 5:51
Bob Beaubien24-Sep-09 5:51 
GeneralRe: Cant get Underscore to work in my screen Keyboard Pin
Luc Pattyn24-Sep-09 6:18
sitebuilderLuc Pattyn24-Sep-09 6:18 
QuestionVB.NET 2008: Hide and/or disable Start Menu onLoad Pin
Dimitri Backaert23-Sep-09 10:31
Dimitri Backaert23-Sep-09 10:31 
AnswerRe: VB.NET 2008: Hide and/or disable Start Menu onLoad Pin
Tom Deketelaere23-Sep-09 21:33
professionalTom Deketelaere23-Sep-09 21:33 
GeneralRe: VB.NET 2008: Hide and/or disable Start Menu onLoad Pin
Dimitri Backaert23-Sep-09 22:57
Dimitri Backaert23-Sep-09 22:57 
QuestionVS 2010 Pin
εїзεїзεїз23-Sep-09 8:42
εїзεїзεїз23-Sep-09 8:42 
AnswerRe: VS 2010 Pin
Ashfield23-Sep-09 9:00
Ashfield23-Sep-09 9:00 
GeneralRe: VS 2010 Pin
εїзεїзεїз23-Sep-09 9:30
εїзεїзεїз23-Sep-09 9:30 

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.