When trying to set a custom icon for the form icon property it assigns it to the form picture property therefore falls to display a form icon.
Maybe a little late but here the solution.
Dim icon As Image = Toolkit.getDefaultToolkit().getImage("Res/your-imagename.jpg")
Me.Parent.setIconImage(icon)