Tried searching but all that come up is vb6.

any ideas on how to do this in .net?