Click here to Skip to main content
15,886,578 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralRe: Convert VB to C# Pin
Pavlex48-Dec-16 7:55
Pavlex48-Dec-16 7:55 
GeneralRe: Convert VB to C# Pin
Pavlex48-Dec-16 12:27
Pavlex48-Dec-16 12:27 
GeneralRe: Convert VB to C# Pin
Eddy Vluggen9-Dec-16 2:59
professionalEddy Vluggen9-Dec-16 2:59 
GeneralRe: Convert VB to C# Pin
Pavlex49-Dec-16 7:28
Pavlex49-Dec-16 7:28 
GeneralRe: Convert VB to C# Pin
Eddy Vluggen9-Dec-16 7:58
professionalEddy Vluggen9-Dec-16 7:58 
QuestionEquals/Comparison of the two objects in which the property of the list(as object) Pin
Cvele12329-Nov-16 4:29
Cvele12329-Nov-16 4:29 
QuestionRe: Equals/Comparison of the two objects in which the property of the list(as object) Pin
ZurdoDev29-Nov-16 6:20
professionalZurdoDev29-Nov-16 6:20 
AnswerRe: Equals/Comparison of the two objects in which the property of the list(as object) Pin
Cvele12329-Nov-16 6:28
Cvele12329-Nov-16 6:28 
How to compare item property on list(Property Bonuses As List(Of Bonus))

C#
If [property].PropertyType.Name = GetType(List(Of )).Name Then
'I do not know what to do!!!!!!!!!!!!!!!!!?????????????

Else
Dim Object1Value As String = String.Empty
Dim Object2Value As String = String.Empty
If type.GetProperty([property].Name).GetValue(Object1, Nothing) IsNot Nothing Then
Object1Value = type.GetProperty([property].Name).GetValue(Object1, Nothing).ToString()
End If
If type.GetProperty([property].Name).GetValue(object2, Nothing) IsNot Nothing Then
Object2Value = type.GetProperty([property].Name).GetValue(object2, Nothing).ToString()
End If
If Object1Value.Trim() <> Object2Value.Trim() Then
Return False
End If

End If

AnswerRe: Equals/Comparison of the two objects in which the property of the list(as object) Pin
Cvele1239-Dec-16 2:05
Cvele1239-Dec-16 2:05 
QuestionWhy the picture not save correctly if I change from button click to form load Pin
Munirah Malik28-Nov-16 15:46
Munirah Malik28-Nov-16 15:46 
AnswerRe: Why the picture not save correctly if I change from button click to form load Pin
Peter Leow28-Nov-16 17:57
professionalPeter Leow28-Nov-16 17:57 
QuestionFolder traverse in vbscript Pin
Member 126754628-Nov-16 0:17
Member 126754628-Nov-16 0:17 
AnswerRe: Folder traverse in vbscript Pin
Richard MacCutchan28-Nov-16 0:39
mveRichard MacCutchan28-Nov-16 0:39 
GeneralRe: Folder traverse in vbscript Pin
Member 126754628-Nov-16 1:02
Member 126754628-Nov-16 1:02 
GeneralRe: Folder traverse in vbscript Pin
Richard MacCutchan28-Nov-16 1:19
mveRichard MacCutchan28-Nov-16 1:19 
GeneralRe: Folder traverse in vbscript Pin
Member 126754628-Nov-16 1:28
Member 126754628-Nov-16 1:28 
GeneralRe: Folder traverse in vbscript Pin
Tim Carmichael28-Nov-16 5:01
Tim Carmichael28-Nov-16 5:01 
GeneralRe: Folder traverse in vbscript Pin
Member 126754630-Nov-16 22:05
Member 126754630-Nov-16 22:05 
GeneralRe: Folder traverse in vbscript Pin
Richard MacCutchan28-Nov-16 6:34
mveRichard MacCutchan28-Nov-16 6:34 
GeneralRe: Folder traverse in vbscript Pin
Dave Kreskowiak28-Nov-16 8:56
mveDave Kreskowiak28-Nov-16 8:56 
GeneralRe: Folder traverse in vbscript Pin
Member 126754629-Nov-16 22:55
Member 126754629-Nov-16 22:55 
GeneralRe: Folder traverse in vbscript Pin
Dave Kreskowiak30-Nov-16 5:36
mveDave Kreskowiak30-Nov-16 5:36 
QuestionHelp Needed Again: Funny Effects about My.Settings Pin
Sonhospa26-Nov-16 2:49
Sonhospa26-Nov-16 2:49 
AnswerRe: Help Needed Again: Funny Effects about My.Settings Pin
Dave Kreskowiak26-Nov-16 8:33
mveDave Kreskowiak26-Nov-16 8:33 
NewsRe: Help Needed Again: Funny Effects about My.Settings Pin
Sonhospa27-Nov-16 1:09
Sonhospa27-Nov-16 1:09 

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.