@kettch: one minor edit. Subs don't return values in VB.
Function GetGuy() as Guy
Dim tempGuy as New Guy
tempGuy.Name = "Fred"
tempGuy.Age = 42
tempGuy.IsAwesome = True
return tempGuy
end function
Loading User Information from Channel 9
Something went wrong getting user information from Channel 9
Loading User Information from MSDN
Something went wrong getting user information from MSDN
Loading Visual Studio Achievements
Something went wrong getting the Visual Studio Achievements
@kettch: one minor edit. Subs don't return values in VB.
Function GetGuy() as Guy
Dim tempGuy as New Guy
tempGuy.Name = "Fred"
tempGuy.Age = 42
tempGuy.IsAwesome = True
return tempGuy
end function