Port vb6 to .net