been struggling to find a solution to this...
What is the equivalent of the following c# in vb?
var v = something as control;
Been trying for a while and haven't really found much, the following is what i have managed to get to so far.
If TypeOf ctrl Is Control Then
'what to put here?
ctrl = ctrl as control??? 'nope...
End If