Say I want to create a function

Try 5 times

The function takes a function pointer to another function

function dosomething() as boolean

end function

function tryfivetime (thefunction as what?)
for i = 1 to 5
dosomething
next i
end function

Can I do that? I can't do that on vb6 right, but can I do that on vb.net?